Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
Configurable<int> minNclusterMft{"minNclusterMft", 5,
"minimum number of MFT clusters"};
Configurable<double> minPt{"minPt", 0., "minimum pT of the MFT tracks"};
Configurable<bool> requireCA{

Check warning on line 97 in PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
"requireCA", false, "Use Cellular Automaton track-finding algorithm"};
Configurable<float> maxDCAxy{"maxDCAxy", 2.0f, "Cut on dcaXY"};
} trackCuts;
Expand All @@ -103,24 +103,24 @@
Configurable<float> maxZvtx{"maxZvtx", 10.0f, "Cut on z-vtx"};
Configurable<bool> useZDiffCut{"useZDiffCut", false,
"use Zvtx reco-mc diff. cut"};
Configurable<float> maxZvtxDiff{

Check warning on line 106 in PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
"maxZvtxDiff", 1.0f,
"max allowed Z vtx difference for reconstruced collisions (cm)"};
Configurable<bool> requireNoCollInTimeRangeStd{

Check warning on line 109 in PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
"requireNoCollInTimeRangeStd", false,
"reject collisions corrupted by the cannibalism, with other collisions "
"within +/- 10 microseconds"};
Configurable<bool> requireNoCollInTimeRangeNarrow{

Check warning on line 113 in PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
"requireNoCollInTimeRangeNarrow", false,
"reject collisions corrupted by the cannibalism, with other collisions "
"within +/- 10 microseconds"};
Configurable<uint> occupancyEstimator{

Check warning on line 117 in PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
"occupancyEstimator", 1,
"Occupancy estimator: 1 = trackOccupancyInTimeRange, 2 = "
"ft0cOccupancyInTimeRange"};
Configurable<float> minOccupancy{

Check warning on line 121 in PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
"minOccupancy", -1, "minimum occupancy from neighbouring collisions"};
Configurable<float> maxOccupancy{

Check warning on line 123 in PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
"maxOccupancy", -1, "maximum occupancy from neighbouring collisions"};
Configurable<float> minIR{"minIR", -1, "minimum IR (kHz) collisions"};
Configurable<float> maxIR{"maxIR", -1, "maximum IR (kHz) collisions"};
Expand Down Expand Up @@ -1233,8 +1233,8 @@
}

PROCESS_SWITCH(DndetaMFTPbPb, processDatawBestTracksCentFT0C,
"Count tracks in FT0C centrality bins based on BestCollisionsFwd table",
false);
"Count tracks in FT0C centrality bins based on BestCollisionsFwd table",
false);

void processDatawBestTracksCentFT0CVariant1(
CollsCentFT0CVariant1::iterator const& collision,
Expand All @@ -1260,8 +1260,8 @@
}

PROCESS_SWITCH(DndetaMFTPbPb, processDatawBestTracksCentFT0M,
"Count tracks in FT0M centrality bins based on BestCollisionsFwd table",
false);
"Count tracks in FT0M centrality bins based on BestCollisionsFwd table",
false);

void processDatawBestTracksCentNGlobal(
CollsCentNGlobal::iterator const& collision, FiltMftTracks const& tracks,
Expand All @@ -1286,8 +1286,8 @@
}

PROCESS_SWITCH(DndetaMFTPbPb, processDatawBestTracksCentMFT,
"Count tracks in MFT centrality bins based on BestCollisionsFwd table",
false);
"Count tracks in MFT centrality bins based on BestCollisionsFwd table",
false);

Preslice<FiltMcMftTracks> perCol = o2::aod::fwdtrack::collisionId;
PresliceUnsorted<CollsGenCentFT0C> recColPerMcCol =
Expand All @@ -1306,7 +1306,7 @@

float cgen = -1;
if constexpr (has_reco_cent<C>) {
float crec_min = 105.f;

Check warning on line 1309 in PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
for (const auto& collision : collisions) {
if (isGoodEvent<false>(collision)) {
float c = getRecoCent(collision);
Expand Down Expand Up @@ -1509,7 +1509,7 @@
bool gtZeroColl = false;
float cgen = -1;
if constexpr (has_reco_cent<C>) {
float crec_min = 105.f;

Check warning on line 1512 in PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
for (const auto& collision : collisions) {
if (isGoodEvent<false>(collision)) {
float c = getRecoCent(collision);
Expand Down Expand Up @@ -1621,8 +1621,8 @@
}

PROCESS_SWITCH(DndetaMFTPbPb, processMCwBestTracksCentFT0C,
"Count MC particles in FT0C centrality bins using aod::BestCollisionsFwd",
false);
"Count MC particles in FT0C centrality bins using aod::BestCollisionsFwd",
false);

void processMCwBestTracksCentFT0CVariant1(
aod::McCollisions::iterator const& mccollision,
Expand Down Expand Up @@ -1651,8 +1651,8 @@
}

PROCESS_SWITCH(DndetaMFTPbPb, processMCwBestTracksCentFT0M,
"Count MC particles in FT0M centrality bins using aod::BestCollisionsFwd",
false);
"Count MC particles in FT0M centrality bins using aod::BestCollisionsFwd",
false);

void processMCwBestTracksCentNGlobal(
aod::McCollisions::iterator const& mccollision,
Expand Down Expand Up @@ -1681,8 +1681,8 @@
}

PROCESS_SWITCH(DndetaMFTPbPb, processMCwBestTracksCentMFT,
"Count MC particles in MFT centrality bins using aod::BestCollisionsFwd",
false);
"Count MC particles in MFT centrality bins using aod::BestCollisionsFwd",
false);

using ParticlesI = soa::Join<aod::McParticles, aod::ParticlesToMftTracks>;
Partition<ParticlesI> primariesI =
Expand Down Expand Up @@ -1712,7 +1712,7 @@

float cgen = -1;
if constexpr (has_reco_cent<C>) {
float crec_min = 105.f;

Check warning on line 1715 in PWGMM/Mult/Tasks/dndetaMFTPbPb.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
for (const auto& collision : collisions) {
if (isGoodEvent<false>(collision)) {
float c = getRecoCent(collision);
Expand Down Expand Up @@ -1841,7 +1841,7 @@
}

PROCESS_SWITCH(DndetaMFTPbPb, processTrkEffIdxCentFT0C,
"Process tracking efficiency (in FT0C centrality bins, indexed)", false);
"Process tracking efficiency (in FT0C centrality bins, indexed)", false);

/// @brief process function to calculate tracking efficiency (indexed) based
/// on BestCollisionsFwd in FT0C bins
Expand Down Expand Up @@ -1919,8 +1919,8 @@
}

PROCESS_SWITCH(DndetaMFTPbPb, processTrkEffBestInclusive,
"Process tracking efficiency (inclusive, based on BestCollisionsFwd)",
false);
"Process tracking efficiency (inclusive, based on BestCollisionsFwd)",
false);

void processTrkEffBestCentFT0C(
soa::Join<CollsCentFT0C, aod::McCollisionLabels>::iterator const& collision,
Expand Down Expand Up @@ -2087,8 +2087,8 @@
}

PROCESS_SWITCH(DndetaMFTPbPb, processCheckAmbiguousMftTracksCentFT0C,
"Process checks for Ambiguous MFT tracks (in FT0C centrality bins)",
false);
"Process checks for Ambiguous MFT tracks (in FT0C centrality bins)",
false);

Preslice<FiltMftTracks> filtTrkperCol = o2::aod::fwdtrack::collisionId;

Expand Down
Loading