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
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ using CFMcCollisionWithExtra = CFMcCollisionsWithExtra::iterator;
40
40
41
41
namespacecfmcparticle
42
42
{
43
-
DECLARE_SOA_INDEX_COLUMN(CFMcCollision, cfMcCollision); //! Index to reduced MC collision
43
+
DECLARE_SOA_INDEX_COLUMN(CFMcCollision, cfMcCollision); //! Index to reduced MC collision; o2-linter: disable=name/o2-column (preserve the established derived-table API)
44
44
DECLARE_SOA_COLUMN(Pt, pt, float); //! pT (GeV/c)
45
45
DECLARE_SOA_COLUMN(Eta, eta, float); //! Pseudorapidity
using CFMultiplicity = CFMultiplicities::iterator;
77
77
78
78
namespacecfcollision
79
79
{
80
-
DECLARE_SOA_INDEX_COLUMN(CFMcCollision, cfMcCollision); //! Index to reduced MC collision
80
+
DECLARE_SOA_INDEX_COLUMN(CFMcCollision, cfMcCollision); //! Index to reduced MC collision; o2-linter: disable=name/o2-column (preserve the established derived-table API)
81
81
DECLARE_SOA_COLUMN(Multiplicity, multiplicity, float); //! Centrality/multiplicity value
@@ -103,8 +103,8 @@ using CFCollisionWithExtra = CFCollisionsWithExtra::iterator;
103
103
104
104
namespacecftrack
105
105
{
106
-
DECLARE_SOA_INDEX_COLUMN(CFCollision, cfCollision); //! Index to collision
107
-
DECLARE_SOA_INDEX_COLUMN(CFMcParticle, cfMCParticle); //! Index to MC particle
106
+
DECLARE_SOA_INDEX_COLUMN(CFCollision, cfCollision); //! Index to collision; o2-linter: disable=name/o2-column (preserve the established derived-table API)
107
+
DECLARE_SOA_INDEX_COLUMN(CFMcParticle, cfMCParticle); //! Index to MC particle; o2-linter: disable=name/o2-column (preserve the established derived-table API)
108
108
DECLARE_SOA_COLUMN(Pt, pt, float); //! pT (GeV/c)
109
109
DECLARE_SOA_COLUMN(Eta, eta, float); //! Pseudorapidity
@@ -169,8 +169,8 @@ using CFMcParticleRef = CFMcParticleRefs::iterator;
169
169
170
170
namespacecf2prongtrack
171
171
{
172
-
DECLARE_SOA_INDEX_COLUMN_FULL(CFTrackProng0, cfTrackProng0, int, CFTracks, "_0"); //! Index to prong 1 CFTrack
173
-
DECLARE_SOA_INDEX_COLUMN_FULL(CFTrackProng1, cfTrackProng1, int, CFTracks, "_1"); //! Index to prong 2 CFTrack
172
+
DECLARE_SOA_INDEX_COLUMN_FULL(CFTrackProng0, cfTrackProng0, int, CFTracks, "_0"); //! Index to prong 1 CFTrack; o2-linter: disable=name/o2-column (preserve the established derived-table API)
173
+
DECLARE_SOA_INDEX_COLUMN_FULL(CFTrackProng1, cfTrackProng1, int, CFTracks, "_1"); //! Index to prong 2 CFTrack; o2-linter: disable=name/o2-column (preserve the established derived-table API)
174
174
DECLARE_SOA_COLUMN(Pt, pt, float); //! pT (GeV/c)
175
175
DECLARE_SOA_COLUMN(Eta, eta, float); //! Pseudorapidity
@@ -223,8 +223,8 @@ using CF2ProngTrackml = CF2ProngTrackmls::iterator;
223
223
224
224
namespacecf2prongmcpart
225
225
{
226
-
DECLARE_SOA_INDEX_COLUMN_FULL(CFParticleDaugh0, cfParticleDaugh0, int, CFMcParticles, "_0"); //! Index to prong 1 CFMcParticle
227
-
DECLARE_SOA_INDEX_COLUMN_FULL(CFParticleDaugh1, cfParticleDaugh1, int, CFMcParticles, "_1"); //! Index to prong 2 CFMcParticle
226
+
DECLARE_SOA_INDEX_COLUMN_FULL(CFParticleDaugh0, cfParticleDaugh0, int, CFMcParticles, "_0"); //! Index to prong 1 CFMcParticle; o2-linter: disable=name/o2-column (preserve the established derived-table API)
227
+
DECLARE_SOA_INDEX_COLUMN_FULL(CFParticleDaugh1, cfParticleDaugh1, int, CFMcParticles, "_1"); //! Index to prong 2 CFMcParticle; o2-linter: disable=name/o2-column (preserve the established derived-table API)
228
228
DECLARE_SOA_COLUMN(Decay, decay, uint8_t); //! Particle decay and flags
} elseif (cfgTrigger == 12) { // relevant only for Pb-Pb with occupancy cuts and rejection of the collisions which have other events nearby
222
+
} elseif (cfgTrigger == 12) { // relevant only for Pb-Pb with occupancy cuts and rejection of nearby collisions; o2-linter: disable=magic-number (documented legacy trigger-selection code)
216
223
int occupancy = collision.trackOccupancyInTimeRange();
217
224
if (occupancy >= cfgMinOcc && occupancy < cfgMaxOcc)
0 commit comments