You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configurable<std::string> pathCentrality{"pathCentrality", "Centrality/Estimators", "path to centrality calibration"};
97
+
Configurable<std::string> pathCentrality{"pathCentrality", "Centrality/Estimators", "path to centrality calibration if fetchCentralityCalibration is enabled"};
99
98
Configurable<std::string> pathGRPECSObject{"pathGRPECSObject", "GLO/Config/GRPECS", "Path to GRPECS object"};
100
99
Configurable<std::string> pathVertexZ{"pathVertexZ", "Users/d/ddobrigk/Centrality/Calibration", "Path to vertexZ profiles"};
101
100
Configurable<std::string> irSource{"irSource", "ZNC hadronic", "Source of the interaction rate: (Recommended: pp --> T0VTX, Pb-Pb --> ZNC hadronic)"};
102
101
Configurable<bool> irCrashOnNull{"irCrashOnNull", false, "Flag to avoid CTP RateFetcher crash."};
103
102
Configurable<bool> fetchCentralityCalibration{"fetchCentralityCalibration", false, "Flag to fetch the centrality calibration within the task instead of the centrality table"};
104
-
} ccdb;
103
+
} ccdbSettings;
105
104
106
105
// _______________________________________
107
106
// Configurable group
@@ -151,7 +150,6 @@ struct centralityStudy {
151
150
Configurable<float> vertexZwithT0{"vertexZwithT0", 1000.0f, "require a certain vertex-Z in BC analysis"};
152
151
Configurable<bool> rejectIsFlangeEvent{"rejectIsFlangeEvent", false, "At least one channel with -350 TDC < time < -450 TDC"};
153
152
Configurable<float> minFT0CforVertexZ{"minFT0CforVertexZ", -1.0f, "minimum FT0C for vertex-Z profile calculation"};
154
-
155
153
} bcsel;
156
154
157
155
// _______________________________________
@@ -226,29 +224,10 @@ struct centralityStudy {
226
224
227
225
voidinit(InitContext&)
228
226
{
229
-
hCalibObjects = nullptr;
230
-
hVtxZFV0A = nullptr;
231
-
hVtxZFT0A = nullptr;
232
-
hVtxZFT0C = nullptr;
233
-
hVtxZNTracks = nullptr;
234
-
hVtxZNGlobals = nullptr;
235
-
hVtxZMFT = nullptr;
236
-
hVtxZFDDA = nullptr;
237
-
hVtxZFDDC = nullptr;
238
-
239
-
hCentralityFV0A = nullptr;
240
-
hCentralityFT0A = nullptr;
241
-
hCentralityFT0C = nullptr;
242
-
hCentralityFT0M = nullptr;
243
-
hCentralityFDDM = nullptr;
244
-
hCentralityNTPV = nullptr;
245
-
hCentralityNGlo = nullptr;
246
-
hCentralityMFT = nullptr;
247
-
248
-
mCcdb->setURL(ccdb.ccdbURL);
249
-
// mCcdb->setCaching(true);
250
-
// mCcdb->setLocalObjectValidityChecking();
251
-
mCcdb->setFatalWhenNull(false);
227
+
ccdb->setURL(ccdbSettings.ccdbURL);
228
+
// ccdb->setCaching(true);
229
+
// ccdb->setLocalObjectValidityChecking();
230
+
ccdb->setFatalWhenNull(false);
252
231
253
232
if (doprocessCollisions || doprocessCollisionsWithCentrality) {
0 commit comments