Skip to content

Commit

Permalink
Included Reset plots to FEE Checks
Browse files Browse the repository at this point in the history
  • Loading branch information
IsakovAD committed Jul 23, 2024
1 parent ce4331d commit e2b2d27
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Modules/ITS/itsDecoding.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
"className": "o2::quality_control_modules::its::ITSDecodingErrorTask",
"moduleName": "QcITS",
"detectorName": "ITS",
"cycleDurationSeconds": "30",
"cycleDurationSeconds": "10",
"dataSource": {
"type": "direct",
"query": "linkerrors:ITS/LinkErrors/0;decerrors:ITS/ChipErrors/0"
},
"location": "local",
"taskParameters": {
"isDoLinkErrorReset": 0,
"isDoLinkErrorReset": 1,
"mBusyViolationLimit": "0.75"
}
}
Expand Down
5 changes: 4 additions & 1 deletion Modules/ITS/itsFee.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,11 @@
"LaneStatusSummary/LaneStatusSummaryGlobal",
"RDHSummary",
"TriggerVsFeeid",
"TriggerVsFeeid_reset",
"PayloadSize",
"TrailerCount"
"TrailerCount",
"TrailerCount_reset"

]
}
]
Expand Down
10 changes: 5 additions & 5 deletions Modules/ITS/src/ITSFeeCheck.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Quality ITSFeeCheck::check(std::map<std::string, std::shared_ptr<MonitorObject>>
result.set(Quality::Good);
auto* hp = dynamic_cast<TH2Poly*>(mo->getObject());
if (hp == nullptr) {
ILOG(Error, Support) << "could not cast TrailerCount to THPollyF*" << ENDM;
ILOG(Error, Support) << "could not cast laneStatusOverview to THPollyF*" << ENDM;
continue;
}
badStaveIB = false;
Expand Down Expand Up @@ -143,7 +143,7 @@ Quality ITSFeeCheck::check(std::map<std::string, std::shared_ptr<MonitorObject>>
}
}

if (mo->getName() == "TriggerVsFeeid") {
if (((string)mo->getName()).find("TriggerVsFeeid") != std::string::npos) {
result.set(Quality::Good);
auto* h = dynamic_cast<TH2I*>(mo->getObject());
if (h == nullptr) {
Expand Down Expand Up @@ -251,7 +251,7 @@ Quality ITSFeeCheck::check(std::map<std::string, std::shared_ptr<MonitorObject>>
}
}

if (mo->getName() == "TrailerCount") {
if (((string)mo->getName()).find("TrailerCount") != std::string::npos) {
auto* h = dynamic_cast<TH2I*>(mo->getObject());
if (h == nullptr) {
ILOG(Error, Support) << "could not cast TrailerCount to TH2I*" << ENDM;
Expand Down Expand Up @@ -446,7 +446,7 @@ void ITSFeeCheck::beautify(std::shared_ptr<MonitorObject> mo, Quality checkResul
}

// trigger plot
if (mo->getName() == "TriggerVsFeeid") {
if (((string)mo->getName()).find("TriggerVsFeeid") != std::string::npos) {
auto* h = dynamic_cast<TH2I*>(mo->getObject());
if (h == nullptr) {
ILOG(Error, Support) << "could not cast TriggerVsFeeId to TH2I*" << ENDM;
Expand Down Expand Up @@ -521,7 +521,7 @@ void ITSFeeCheck::beautify(std::shared_ptr<MonitorObject> mo, Quality checkResul
h->GetListOfFunctions()->Add(tShifterInfo->Clone());
}

if (mo->getName() == "TrailerCount") {
if (((string)mo->getName()).find("TrailerCount") != std::string::npos) {
auto* h = dynamic_cast<TH2I*>(mo->getObject());
if (h == nullptr) {
ILOG(Error, Support) << "could not cast TrailerCount to TH2F*" << ENDM;
Expand Down

0 comments on commit e2b2d27

Please sign in to comment.