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
Copy file name to clipboardExpand all lines: PWGLF/TableProducer/Common/mcCentrality.cxx
+66-37Lines changed: 66 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -17,30 +17,35 @@
17
17
/// \brief Task to produce the table for the equalized multiplicity into centrality bins
18
18
///
19
19
20
-
// O2 includes
21
-
#include"CCDB/BasicCCDBManager.h"
22
-
#include"ReconstructionDataFormats/Track.h"
23
-
#include"CCDB/CcdbApi.h"
24
-
#include"Common/DataModel/TrackSelectionTables.h"
25
-
#include"Framework/AnalysisTask.h"
26
-
#include"Framework/AnalysisDataModel.h"
27
-
#include"Framework/runDataProcessing.h"
28
-
#include"Framework/HistogramRegistry.h"
29
-
#include"Framework/RunningWorkflowInfo.h"
30
-
#include"Framework/StaticFor.h"
31
-
#include"TableHelper.h"
32
-
#include"Framework/O2DatabasePDGPlugin.h"
33
-
#include"Common/DataModel/Centrality.h"
34
20
#include"PWGLF/DataModel/mcCentrality.h"
21
+
22
+
#include"TableHelper.h"
23
+
35
24
#include"PWGLF/Utils/inelGt.h"
36
25
26
+
#include"Common/DataModel/Centrality.h"
27
+
#include"Common/DataModel/TrackSelectionTables.h"
28
+
29
+
#include<CCDB/BasicCCDBManager.h>
30
+
#include<CCDB/CcdbApi.h>
31
+
#include<Framework/AnalysisDataModel.h>
32
+
#include<Framework/AnalysisTask.h>
33
+
#include<Framework/HistogramRegistry.h>
34
+
#include<Framework/O2DatabasePDGPlugin.h>
35
+
#include<Framework/RunningWorkflowInfo.h>
36
+
#include<Framework/StaticFor.h>
37
+
#include<Framework/runDataProcessing.h>
38
+
#include<ReconstructionDataFormats/Track.h>
39
+
40
+
#include<string>
41
+
37
42
usingnamespaceo2;
38
43
usingnamespaceo2::framework;
39
44
usingnamespaceo2::framework::expressions;
40
45
usingnamespaceo2::track;
41
46
42
47
/// Task to produce the response table
43
-
structmcCentrality {
48
+
structMcCentrality {
44
49
45
50
// Tables to produce
46
51
Produces<aod::McCentFV0As> centFV0A;
@@ -52,27 +57,30 @@ struct mcCentrality {
52
57
53
58
// Input parameters
54
59
Service<o2::ccdb::BasicCCDBManager> ccdb;
55
-
Configurable<std::string> url{"ccdb-url", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
56
-
Configurable<int64_t> ccdbTimestamp{"ccdb-timestamp", -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"};
60
+
Configurable<std::string> ccdbUrl{"ccdbUrl", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
61
+
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"};
57
62
Configurable<std::string> path{"path", "/tmp/InputCalibMC.root", "path to calib file or ccdb path if begins with ccdb://"};
58
63
Configurable<bool> selectPrimaries{"selectPrimaries", true, "Select only primary particles"};
0 commit comments