@@ -215,7 +215,7 @@ struct TableMakerMC {
215215 Configurable<std::string> fGeoPath {" geoPath" , " GLO/Config/GeometryAligned" , " Path of the geometry file" };
216216 Configurable<std::string> fGrpMagPath {" grpmagPath" , " GLO/Config/GRPMagField" , " CCDB path of the GRPMagField object" };
217217 Configurable<std::string> fZShiftPath {" zShiftPath" , " Users/m/mcoquet/ZShift" , " CCDB path for z shift to apply to forward tracks" };
218- Configurable<bool > fUseRemoteZShift {" cfgUseRemoteZShift" , true , " Enable getting Zshift from ccdb" };
218+ Configurable<bool > fUseRemoteZShift {" cfgUseRemoteZShift" , false , " Enable getting Zshift from ccdb" };
219219 Configurable<float > fManualZShift {" cfgManualZShift" , 0 .f , " Manual value for the Zshift for muons." };
220220 Configurable<std::string> fGrpMagPathRun2 {" grpmagPathRun2" , " GLO/GRP/GRP" , " CCDB path of the GRPObject (Usage for Run 2)" };
221221 Configurable<int64_t > timestampCCDB{" timestampCCDB" , -1 , " timestamp of the ONNX file for ML model used to query in CCDB" };
@@ -1204,7 +1204,9 @@ struct TableMakerMC {
12041204 auto * fZShift = fCCDB ->getForTimeStamp <std::vector<float >>(fConfigCCDB .fZShiftPath , bcs.begin ().timestamp ());
12051205 if (fZShift != nullptr && !fZShift ->empty ()) {
12061206 VarManager::SetZShift ((*fZShift )[0 ]);
1207- }
1207+ } else {
1208+ LOG (fatal) << " Could not retrieve Z-shift value from CCDB" ;
1209+ }
12081210 } else {
12091211 VarManager::SetZShift (fConfigCCDB .fManualZShift .value );
12101212 }
0 commit comments