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
/// \brief Task to produce the table for the equalized multiplicity into centrality bins
18
18
///
19
19
20
-
#include"PWGLF/DataModel/mcCentrality.h"
20
+
#include"PWGLF/Utils/mcCentralityModule.h"
21
21
22
-
#include"PWGLF/Utils/inelGt.h"
22
+
#include"Common/DataModel/Multiplicity.h"
23
23
24
24
#include<CCDB/BasicCCDBManager.h>
25
-
#include<CCDB/CcdbApi.h>
26
25
#include<Framework/AnalysisDataModel.h>
27
26
#include<Framework/AnalysisHelpers.h>
28
27
#include<Framework/AnalysisTask.h>
29
28
#include<Framework/Configurable.h>
30
29
#include<Framework/HistogramRegistry.h>
31
-
#include<Framework/HistogramSpec.h>
32
30
#include<Framework/InitContext.h>
33
-
#include<Framework/O2DatabasePDGPlugin.h>
34
31
#include<Framework/OutputObjHeader.h>
35
32
#include<Framework/runDataProcessing.h>
36
33
37
-
#include<TFile.h>
38
-
#include<TH1.h>
39
-
40
-
#include<chrono>
41
-
#include<cstdint>
42
34
#include<string>
43
35
44
36
usingnamespaceo2;
@@ -47,146 +39,37 @@ using namespace o2::framework::expressions;
47
39
48
40
/// Task to produce the response table
49
41
structMcCentrality {
50
-
51
-
// Tables to produce
52
-
Produces<aod::McCentFV0As> centFV0A;
53
-
Produces<aod::McCentFT0Ms> centFT0M;
54
-
Produces<aod::McCentFT0As> centFT0A;
55
-
Produces<aod::McCentFT0Cs> centFT0C;
56
-
Produces<aod::McCentFDDMs> centFDDM;
57
-
Produces<aod::McCentNTPVs> centNTPV;
58
-
59
42
// Input parameters
43
+
o2::framework::Configurable<std::string> ccdbUrl{"ccdbUrl", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
60
44
Service<o2::ccdb::BasicCCDBManager> ccdb;
61
-
Configurable<std::string> ccdbUrl{"ccdbUrl", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
62
-
Configurable<int64_t> ccdbTimestamp{"ccdbTimestamp", -1, "timestamp of the object used to query in CCDB the detector response. If 0 the object corresponding to the run number is used, if < 0 the latest object is used"};
63
-
Configurable<std::string> path{"path", "/tmp/InputCalibMC.root", "path to calib file or ccdb path if begins with ccdb://"};
64
-
Configurable<bool> selectPrimaries{"selectPrimaries", true, "Select only primary particles"};
0 commit comments