We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fa4db4 commit 06d1e2fCopy full SHA for 06d1e2f
1 file changed
Detectors/TPC/workflow/include/TPCWorkflow/TPCDistributeIDCSpec.h
@@ -93,8 +93,13 @@ class TPCDistributeIDCSpec : public o2::framework::Task
93
LOGP(info, "Updating ORBITRESET");
94
std::fill(mSendCCDBOutputOrbitReset.begin(), mSendCCDBOutputOrbitReset.end(), true);
95
} else if (matcher == ConcreteDataMatcher("GLO", "GRPECS", 0)) {
96
- LOGP(info, "Updating GRPECS");
97
- std::fill(mSendCCDBOutputGRPECS.begin(), mSendCCDBOutputGRPECS.end(), true);
+ // check if received object is valid
+ if (o2::base::GRPGeomHelper::instance().getGRPECS()->getRun() != 0) {
98
+ LOGP(info, "Updating GRPECS");
99
+ std::fill(mSendCCDBOutputGRPECS.begin(), mSendCCDBOutputGRPECS.end(), true);
100
+ } else {
101
+ LOGP(info, "Detected default GRPECS object");
102
+ }
103
}
104
105
0 commit comments