@@ -53,7 +53,7 @@ Quality ITSFeeCheck::check(std::map<std::string, std::shared_ptr<MonitorObject>>
5353 result.set (Quality::Good);
5454 auto * hp = dynamic_cast <TH2Poly*>(mo->getObject ());
5555 if (hp == nullptr ) {
56- ILOG (Error, Support) << " could not cast TrailerCount to THPollyF*" << ENDM ;
56+ ILOG (Error, Support) << " could not cast laneStatusOverview to THPollyF*" << ENDM ;
5757 continue ;
5858 }
5959 badStaveIB = false ;
@@ -143,7 +143,7 @@ Quality ITSFeeCheck::check(std::map<std::string, std::shared_ptr<MonitorObject>>
143143 }
144144 }
145145
146- if (mo->getName () == " TriggerVsFeeid" ) {
146+ if (((string) mo->getName ()). find ( " TriggerVsFeeid" ) != std::string::npos ) {
147147 result.set (Quality::Good);
148148 auto * h = dynamic_cast <TH2I *>(mo->getObject ());
149149 if (h == nullptr ) {
@@ -251,7 +251,7 @@ Quality ITSFeeCheck::check(std::map<std::string, std::shared_ptr<MonitorObject>>
251251 }
252252 }
253253
254- if (mo->getName () == " TrailerCount" ) {
254+ if (((string) mo->getName ()). find ( " TrailerCount" ) != std::string::npos ) {
255255 auto * h = dynamic_cast <TH2I *>(mo->getObject ());
256256 if (h == nullptr ) {
257257 ILOG (Error, Support) << " could not cast TrailerCount to TH2I*" << ENDM ;
@@ -446,7 +446,7 @@ void ITSFeeCheck::beautify(std::shared_ptr<MonitorObject> mo, Quality checkResul
446446 }
447447
448448 // trigger plot
449- if (mo->getName () == " TriggerVsFeeid" ) {
449+ if (((string) mo->getName ()). find ( " TriggerVsFeeid" ) != std::string::npos ) {
450450 auto * h = dynamic_cast <TH2I *>(mo->getObject ());
451451 if (h == nullptr ) {
452452 ILOG (Error, Support) << " could not cast TriggerVsFeeId to TH2I*" << ENDM ;
@@ -521,7 +521,7 @@ void ITSFeeCheck::beautify(std::shared_ptr<MonitorObject> mo, Quality checkResul
521521 h->GetListOfFunctions ()->Add (tShifterInfo->Clone ());
522522 }
523523
524- if (mo->getName () == " TrailerCount" ) {
524+ if (((string) mo->getName ()). find ( " TrailerCount" ) != std::string::npos ) {
525525 auto * h = dynamic_cast <TH2I *>(mo->getObject ());
526526 if (h == nullptr ) {
527527 ILOG (Error, Support) << " could not cast TrailerCount to TH2F*" << ENDM ;
0 commit comments