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
int VarManager::fgCalibrationType = 0; // 0 - no calibration, 1 - calibration vs (TPCncls,pIN,eta) typically for pp, 2 - calibration vs (eta,nPV,nLong,tLong) typically for PbPb
76
+
int VarManager::fgCalibrationType = 0; // 0 - no calibration, 1 - data calibration vs (TPCncls,pIN,eta), 2 - data calibration vs (eta,nPV,nLong,tLong), 3 - MC tuning vs (pIN,eta), 4 - MC tuning vs (pIN,eta,CentFT0C)
staticint fgCalibrationType; // 0 - no calibration, 1 - calibration vs (TPCncls,pIN,eta) typically for pp, 2 - calibration vs (eta,nPV,nLong,tLong) typically for PbPb
1555
+
staticint fgCalibrationType; // 0 - no calibration, 1 - data calibration vs (TPCncls,pIN,eta), 2 - data calibration vs (eta,nPV,nLong,tLong), 3 - MC tuning vs (pIN,eta), 4 - MC tuning vs (pIN,eta,CentFT0C)
1548
1556
staticbool fgUseInterpolatedCalibration; // use interpolated calibration histograms (default: true)
Configurable<std::string> fConfigCuts{"cfgTrackCuts", "jpsiPID1", "Comma separated list of barrel track cuts"};
174
176
Configurable<std::string> fConfigMCSignals{"cfgTrackMCSignals", "", "Comma separated list of MC signals"};
175
177
Configurable<bool> fConfigQA{"cfgQA", false, "If true, fill QA histograms"};
178
+
Configurable<std::string> fConfigCcdbUrl{"ccdb-url", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
179
+
Configurable<std::string> fConfigCcdbPathTPC{"ccdb-path-tpc", "Users/z/zhxiong/TPCPID/PostCalib", "base path to the ccdb object"};
180
+
Configurable<int64_t> fConfigNoLaterThan{"ccdb-no-later-than", std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(), "latest acceptable timestamp of creation for the object"};
Configurable<int> fConfigTPCpostCalibType{"cfgTPCpostCalibType", 1, "1: (pIN,eta) calibration typically for pp, 2: (pIN,eta,CentFT0C) calibration typically for PbPb"};
176
183
184
+
Service<o2::ccdb::BasicCCDBManager> fCCDB;
177
185
HistogramManager* fHistMan;
178
186
std::vector<AnalysisCompositeCut> fTrackCuts;
179
187
std::vector<MCSignal> fMCSignals; // list of signals to be checked
LOGF(fatal, "Invalid cfgTPCpostCalibType=%d for dqEfficiency. Supported values are 1:(pIN,eta) and 2:(pIN,eta,CentFT0C).", fConfigTPCpostCalibType.value);
Configurable<std::string> fConfigCcdbUrl{"ccdb-url", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
537
537
Configurable<std::string> fConfigCcdbPathTPC{"ccdb-path-tpc", "Users/z/zhxiong/TPCPID/PostCalib", "base path to the ccdb object"};
538
538
Configurable<int64_t> fConfigNoLaterThan{"ccdb-no-later-than", std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(), "latest acceptable timestamp of creation for the object"};
Configurable<int> fConfigTPCpostCalibType{"cfgTPCpostCalibType", 1, "1: (pIN,eta) calibration typically for pp, 2: (pIN,eta,CentFT0C) calibration typically for PbPb"};
540
541
Configurable<std::string> grpmagPath{"grpmagPath", "GLO/Config/GRPMagField", "CCDB path of the GRPMagField object"};
541
542
542
543
Configurable<std::string> fConfigMCSignals{"cfgTrackMCSignals", "", "Comma separated list of MC signals"};
std::map<int64_t, std::vector<int64_t>> fNAssocsInBunch; // key: track global index, value: vector of global index for events associated in-bunch (events that have in-bunch pileup or splitting)
556
557
std::map<int64_t, std::vector<int64_t>> fNAssocsOutOfBunch; // key: track global index, value: vector of global index for events associated out-of-bunch (events that have no in-bunch pileup)
557
558
559
+
intgetMCTuningCalibrationType() const
560
+
{
561
+
switch (fConfigTPCpostCalibType.value) {
562
+
case1:
563
+
return3;
564
+
case2:
565
+
return4;
566
+
default:
567
+
LOGF(fatal, "Invalid cfgTPCpostCalibType=%d for dqEfficiency_withAssoc. Supported values are 1:(pIN,eta) and 2:(pIN,eta,CentFT0C).", fConfigTPCpostCalibType.value);
0 commit comments