@@ -73,18 +73,18 @@ double getWeight(const double pT, const std::vector<double>& pT_bins, const std:
7373struct DqJPsiMuonCorrelations {
7474
7575 // Configurables for the dilepton signal region
76- Configurable<float > fConfigDileptonLowMass {" cfgDileptonLowMass " , 2.8 , " Low mass cut for the dileptons used in analysis" };
77- Configurable<float > fConfigDileptonHighMass {" cfgDileptonHighMass " , 3.4 , " High mass cut for the dileptons used in analysis" };
78- Configurable<float > fConfigBackgroundLowMass {" cfgBackgroundLowMass " , 2.5 , " Low mass cut for the background used in analysis" };
79- Configurable<float > fConfigBackgroundHighMass {" cfgBackgroundHighMass " , 3.7 , " High mass cut for the background used in analysis" };
76+ Configurable<float > fConfigDileptonLowMass {" fConfigDileptonLowMass " , 2.8 , " Low mass cut for the dileptons used in analysis" };
77+ Configurable<float > fConfigDileptonHighMass {" fConfigDileptonHighMass " , 3.4 , " High mass cut for the dileptons used in analysis" };
78+ Configurable<float > fConfigBackgroundLowMass {" fConfigBackgroundLowMass " , 2.5 , " Low mass cut for the background used in analysis" };
79+ Configurable<float > fConfigBackgroundHighMass {" fConfigBackgroundHighMass " , 3.7 , " High mass cut for the background used in analysis" };
8080
8181 // Configurables for the dilepton and associated muon cuts
82- Configurable<float > fConfigDileptonPtMin {" cfgDileptonPtMin " , 1.0 , " Minimum pT cut for the dilepton" };
83- Configurable<float > fConfigDileptonPtMax {" cfgDileptonPtMax " , 20.0 , " Maximum pT cut for the dilepton" };
84- Configurable<float > fConfigDileptonEtaMin {" cfgDileptonEtaMin " , -4.0 , " Minimum eta cut for the dileptons" };
85- Configurable<float > fConfigDileptonEtaMax {" cfgDileptonEtaMax " , -2.5 , " Maximum eta cut for the dileptons" };
86- Configurable<float > fConfigMuonEtaMin {" cfgMuonEtaMin " , -4.0 , " Minimum eta cut for the associated muons" };
87- Configurable<float > fConfigMuonEtaMax {" cfgMuonEtaMax " , -2.5 , " Maximum eta cut for the associated muons" };
82+ Configurable<float > fConfigDileptonPtMin {" fConfigDileptonPtMin " , 1.0 , " Minimum pT cut for the dilepton" };
83+ Configurable<float > fConfigDileptonPtMax {" fConfigDileptonPtMax " , 20.0 , " Maximum pT cut for the dilepton" };
84+ Configurable<float > fConfigDileptonEtaMin {" fConfigDileptonEtaMin " , -4.0 , " Minimum eta cut for the dileptons" };
85+ Configurable<float > fConfigDileptonEtaMax {" fConfigDileptonEtaMax " , -2.5 , " Maximum eta cut for the dileptons" };
86+ Configurable<float > fConfigMuonEtaMin {" fConfigMuonEtaMin " , -4.0 , " Minimum eta cut for the associated muons" };
87+ Configurable<float > fConfigMuonEtaMax {" fConfigMuonEtaMax " , -2.5 , " Maximum eta cut for the associated muons" };
8888
8989 // Configurables for histograms
9090 ConfigurableAxis axisPt{" axisPt" , {VARIABLE_WIDTH , 1 .0f , 2 .0f , 3 .0f , 4 .0f , 5 .0f , 6 .0f , 7 .0f , 8 .0f , 10 .0f , 12 .0f , 14 .0f , 16 .0f , 18 .0f , 20 .0f }, " p_{T} (GeV/c)" };
@@ -93,13 +93,13 @@ struct DqJPsiMuonCorrelations {
9393 ConfigurableAxis axisDeltaEta{" axisDeltaEta" , {10 , -2 .0f , 2 .0f }, " #Delta#eta" };
9494
9595 // Configurable for acceptance efficiency correction
96- Configurable<std::vector<double >> fConfigBinEffJPsi {" cfgBinEffJPsi " , std::vector<double >{1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f }, " acceptance efficiency correction factors for each pT bin" };
97- Configurable<std::vector<double >> fConfigBinEffMuon {" cfgBinEffMuon " , std::vector<double >{1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f }, " acceptance efficiency correction factors for each pT bin" };
96+ Configurable<std::vector<double >> fConfigBinEffJPsi {" fConfigBinEffJPsi " , std::vector<double >{1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f }, " acceptance efficiency correction factors for each pT bin" };
97+ Configurable<std::vector<double >> fConfigBinEffMuon {" fConfigBinEffMuon " , std::vector<double >{1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f , 1 .0f }, " acceptance efficiency correction factors for each pT bin" };
9898
9999 // Connect to ccdb
100100 Service<ccdb::BasicCCDBManager> ccdb{};
101- Configurable<int64_t > nolaterthan{ " 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" };
102- Configurable<std::string> url{ " ccdb-url " , " http://ccdb-test.cern.ch:8080" , " url of the ccdb repository" };
101+ Configurable<int64_t > ccdbNoLaterThan{ " ccdbNoLaterThan " , std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now ().time_since_epoch ()).count (), " latest acceptable timestamp of creation for the object" };
102+ Configurable<std::string> ccdbUrl{ " ccdbUrl " , " http://ccdb-test.cern.ch:8080" , " url of the ccdb repository" };
103103
104104 // Define the filter for events
105105 Filter eventFilter = aod::dqanalysisflags::isEventSelected == 1 ;
@@ -117,9 +117,9 @@ struct DqJPsiMuonCorrelations {
117117
118118 void init (o2::framework::InitContext&)
119119 {
120- ccdb->setURL (url .value );
120+ ccdb->setURL (ccdbUrl .value );
121121 ccdb->setCaching (true );
122- ccdb->setCreatedNotAfter (nolaterthan .value );
122+ ccdb->setCreatedNotAfter (ccdbNoLaterThan .value );
123123
124124 // Assert correct size of the efficiency correction vector
125125 if (axisPt.value .size () - 2 != fConfigBinEffJPsi .value .size () || axisPt.value .size () - 2 != fConfigBinEffMuon .value .size ()) {
0 commit comments