File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Detectors/TPC/workflow/include/TPCWorkflow Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,13 @@ class TPCDistributeIDCSpec : public o2::framework::Task
9393 LOGP (info, " Updating ORBITRESET" );
9494 std::fill (mSendCCDBOutputOrbitReset .begin (), mSendCCDBOutputOrbitReset .end (), true );
9595 } else if (matcher == ConcreteDataMatcher (" GLO" , " GRPECS" , 0 )) {
96- LOGP (info, " Updating GRPECS" );
97- std::fill (mSendCCDBOutputGRPECS .begin (), mSendCCDBOutputGRPECS .end (), true );
96+ // check if received object is valid
97+ 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+ }
98103 }
99104 }
100105
You can’t perform that action at this time.
0 commit comments