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: PWGCF/DataModel/CorrelationsDerived.h
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -65,13 +65,14 @@ using CFMultiplicity = CFMultiplicities::iterator;
65
65
66
66
namespacecfcollision
67
67
{
68
-
DECLARE_SOA_INDEX_COLUMN(CFMcCollision, cfMcCollision); //! Index to reduced MC collision
69
-
DECLARE_SOA_COLUMN(Multiplicity, multiplicity, float); //! Centrality/multiplicity value
68
+
DECLARE_SOA_INDEX_COLUMN(CFMcCollision, cfMcCollision); //! Index to reduced MC collision
69
+
DECLARE_SOA_COLUMN(Multiplicity, multiplicity, float); //! Centrality/multiplicity value
70
+
DECLARE_SOA_COLUMN(MultiplicityCorrected, multiplicityCorrected, float); //! Efficiency-corrected track count; original multiplicity when correction is disabled
Copy file name to clipboardExpand all lines: PWGCF/TableProducer/filterCorrelations.cxx
+101-2Lines changed: 101 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@
21
21
#include"Common/DataModel/PIDResponseTPC.h"
22
22
#include"Common/DataModel/TrackSelectionTables.h"
23
23
24
+
#include<CCDB/BasicCCDBManager.h>
24
25
#include<Framework/AnalysisDataModel.h>
25
26
#include<Framework/AnalysisHelpers.h>
26
27
#include<Framework/AnalysisTask.h>
@@ -35,14 +36,21 @@
35
36
#include<MathUtils/detail/TypeTruncation.h>
36
37
#include<ReconstructionDataFormats/PID.h>
37
38
39
+
#include<TFile.h>
38
40
#include<TH3.h>
41
+
#include<THn.h>
39
42
#include<TParticlePDG.h>
40
43
41
44
#include<Rtypes.h>
42
45
43
46
#include<algorithm>
47
+
#include<array>
48
+
#include<cmath>
44
49
#include<cstdint>
45
50
#include<experimental/type_traits>// required for is_detected
51
+
#include<limits>
52
+
#include<memory>
53
+
#include<string>
46
54
#include<type_traits>
47
55
#include<vector>
48
56
@@ -58,6 +66,7 @@ using namespace o2::math_utils::detail;
58
66
59
67
structFilterCF {
60
68
Service<o2::framework::O2DatabasePDG> pdg;
69
+
Service<o2::ccdb::BasicCCDBManager> ccdb;
61
70
62
71
enum TrackSelectionCuts1 : uint8_t {
63
72
kTrackSelected = BIT(0),
@@ -103,6 +112,10 @@ struct FilterCF {
103
112
O2_DEFINE_CONFIGURABLE(chi2peritscluster, float, 36, "maximum Chi2 / cluster for the ITS track segment")
104
113
O2_DEFINE_CONFIGURABLE(cfgEstimatorBitMask, uint16_t, 0, "BitMask for multiplicity estimators to be included in the CFMultSet tables.");
105
114
115
+
O2_DEFINE_CONFIGURABLE(cfgEfficiencyMultiplicity, std::string, "", "Multiplicity efficiency (RecoAll / MC): CCDB path or local ROOT file with a 4D ccdb_object (eta, pT, multiplicity, z-vtx); empty copies the original multiplicity")
O2_DEFINE_CONFIGURABLE(cfgMultiplicityTrackBitMask, uint16_t, 0, "Required track-type bits for corrected multiplicity; match cfgTrackBitMask used to produce the efficiency (0 = all stored tracks)")
0 commit comments