@@ -177,8 +177,8 @@ Quality NumPatchesPerFastORCheck::check(std::map<std::string, std::shared_ptr<Mo
177177 for (std::vector<FastORNoiseLevel>::iterator itFinal = finalBadFastORs.begin (); itFinal != finalBadFastORs.end (); itFinal++) {
178178 auto [truID, fastorTRU] = mTriggerMapping ->getTRUFromAbsFastORIndex (itFinal->mFastORID );
179179 auto [truID1, posEta, posPhi] = mTriggerMapping ->getPositionInTRUFromAbsFastORIndex (itFinal->mFastORID );
180- FastORNoiseInfo obj{ static_cast <int >(truID), static_cast <int >(fastorTRU), static_cast <int >(posPhi), static_cast <int >(posEta) };
181- std::string errorMessage = " TRU " + std::to_string (truID) + " has a noisy FastOR at position " + std::to_string (fastorTRU) + " (eta " + std::to_string (posEta) + " , phi " + std::to_string (posPhi) + " ) in TRU." ;
180+ FastORNoiseInfo obj{ itFinal-> mCounts , static_cast <int >(truID), static_cast <int >(fastorTRU), static_cast <int >(posPhi), static_cast <int >(posEta) };
181+ std::string errorMessage = " TRU " + std::to_string (truID) + " has a noisy FastOR at position " + std::to_string (fastorTRU) + " (eta " + std::to_string (posEta) + " , phi " + std::to_string (posPhi) + " ) in TRU. ( " + std::to_string (itFinal-> mCounts ) + " counts) " ;
182182 messagebuilder << errorMessage << std::endl;
183183 if (mLogLevelIL > 1 ) {
184184 ILOG (Error, Support) << errorMessage << ENDM;
@@ -220,8 +220,8 @@ Quality NumPatchesPerFastORCheck::check(std::map<std::string, std::shared_ptr<Mo
220220 for (std::vector<FastORNoiseLevel>::iterator itFinal = finalMedFastORs.begin (); itFinal != finalMedFastORs.end (); itFinal++) {
221221 auto [truID, fastorTRU] = mTriggerMapping ->getTRUFromAbsFastORIndex (itFinal->mFastORID );
222222 auto [truID1, posEta, posPhi] = mTriggerMapping ->getPositionInTRUFromAbsFastORIndex (itFinal->mFastORID );
223- FastORNoiseInfo obj{ static_cast <int >(truID), static_cast <int >(fastorTRU), static_cast <int >(posPhi), static_cast <int >(posEta) };
224- std::string errorMessage = " TRU " + std::to_string (truID) + " has a high rate in FastOR at position " + std::to_string (fastorTRU) + " (eta " + std::to_string (posEta) + " , phi " + std::to_string (posPhi) + " ) in TRU." ;
223+ FastORNoiseInfo obj{ itFinal-> mCounts , static_cast <int >(truID), static_cast <int >(fastorTRU), static_cast <int >(posPhi), static_cast <int >(posEta) };
224+ std::string errorMessage = " TRU " + std::to_string (truID) + " has a high rate in FastOR at position " + std::to_string (fastorTRU) + " (eta " + std::to_string (posEta) + " , phi " + std::to_string (posPhi) + " ) in TRU. ( " + std::to_string (itFinal-> mCounts ) + " counts) " ;
225225 messagebuilder << errorMessage << std::endl;
226226 if (mLogLevelIL > 2 ) {
227227 ILOG (Warning, Support) << errorMessage << ENDM;
@@ -262,7 +262,7 @@ void NumPatchesPerFastORCheck::beautify(std::shared_ptr<MonitorObject> mo, Quali
262262 int iErr = 0 ;
263263 for (const auto & noiseinfo : mNoisyTRUPositions ) {
264264 stringstream errorMessageIndiv;
265- errorMessageIndiv << " Position " << noiseinfo.mFastORIndex << " (eta " << noiseinfo.mPosEta << " , phi " << noiseinfo.mPosPhi << " ) in TRU " << noiseinfo.mTRUIndex << " is noisy." << std::endl;
265+ errorMessageIndiv << " Position " << noiseinfo.mFastORIndex << " (eta " << noiseinfo.mPosEta << " , phi " << noiseinfo.mPosPhi << " ) in TRU " << noiseinfo.mTRUIndex << " is noisy. ( " << noiseinfo. mCounts << " counts) " << std::endl;
266266 msg = new TLatex (0.15 , 0.8 - iErr / 25 ., errorMessageIndiv.str ().c_str ());
267267 msg->SetNDC ();
268268 msg->SetTextSize (16 );
@@ -277,7 +277,7 @@ void NumPatchesPerFastORCheck::beautify(std::shared_ptr<MonitorObject> mo, Quali
277277 }
278278 for (const auto & noiseinfo : mHighCountTRUPositions ) {
279279 stringstream errorMessageIndiv;
280- errorMessageIndiv << " Position " << noiseinfo.mFastORIndex << " (eta " << noiseinfo.mPosEta << " , phi " << noiseinfo.mPosPhi << " ) in TRU " << noiseinfo.mTRUIndex << " has high counts." << std::endl;
280+ errorMessageIndiv << " Position " << noiseinfo.mFastORIndex << " (eta " << noiseinfo.mPosEta << " , phi " << noiseinfo.mPosPhi << " ) in TRU " << noiseinfo.mTRUIndex << " has high counts. ( " << noiseinfo. mCounts << " counts) " << std::endl;
281281 msg = new TLatex (0.15 , 0.8 - iErr / 25 ., errorMessageIndiv.str ().c_str ());
282282 msg->SetNDC ();
283283 msg->SetTextSize (16 );
@@ -301,7 +301,7 @@ void NumPatchesPerFastORCheck::beautify(std::shared_ptr<MonitorObject> mo, Quali
301301 int iErr = 0 ;
302302 for (const auto & noiseinfo : mHighCountTRUPositions ) {
303303 stringstream errorMessageIndiv;
304- errorMessageIndiv << " Position " << noiseinfo.mFastORIndex << " (eta " << noiseinfo.mPosEta << " , phi " << noiseinfo.mPosPhi << " ) in TRU " << noiseinfo.mTRUIndex << " has high counts." << std::endl;
304+ errorMessageIndiv << " Position " << noiseinfo.mFastORIndex << " (eta " << noiseinfo.mPosEta << " , phi " << noiseinfo.mPosPhi << " ) in TRU " << noiseinfo.mTRUIndex << " has high counts. ( " << noiseinfo. mCounts << " counts) " << std::endl;
305305 msg = new TLatex (0.15 , 0.8 - iErr / 25 ., errorMessageIndiv.str ().c_str ());
306306 msg->SetNDC ();
307307 msg->SetTextSize (16 );
0 commit comments