Skip to content

Commit 3414f89

Browse files
authored
Included Reset plots to FEE Checks (#2374)
1 parent 3022cfd commit 3414f89

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

Modules/ITS/itsDecoding.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
"className": "o2::quality_control_modules::its::ITSDecodingErrorTask",
2929
"moduleName": "QcITS",
3030
"detectorName": "ITS",
31-
"cycleDurationSeconds": "30",
31+
"cycleDurationSeconds": "10",
3232
"dataSource": {
3333
"type": "direct",
3434
"query": "linkerrors:ITS/LinkErrors/0;decerrors:ITS/ChipErrors/0"
3535
},
3636
"location": "local",
3737
"taskParameters": {
38-
"isDoLinkErrorReset": 0,
38+
"isDoLinkErrorReset": 1,
3939
"mBusyViolationLimit": "0.75"
4040
}
4141
}

Modules/ITS/itsFee.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,11 @@
7878
"LaneStatusSummary/LaneStatusSummaryGlobal",
7979
"RDHSummary",
8080
"TriggerVsFeeid",
81+
"TriggerVsFeeid_reset",
8182
"PayloadSize",
82-
"TrailerCount"
83+
"TrailerCount",
84+
"TrailerCount_reset"
85+
8386
]
8487
}
8588
]

Modules/ITS/src/ITSFeeCheck.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)