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
6 changes: 3 additions & 3 deletions PWGUD/Tasks/upcRhoAnalysis.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@
Configurable<float> cutTrueGapSideFT0A{"cutTrueGapSideFT0A", 150., "FT0A threshold for SG selector"};
Configurable<float> cutTrueGapSideFT0C{"cutTrueGapSideFT0C", 50., "FT0C threshold for SG selector"};
Configurable<float> cutTrueGapSideZDC{"cutTrueGapSideZDC", 10000., "ZDC threshold for SG selector. 0 is <1n, 4.2 is <2n, 6.7 is <3n, 9.5 is <4n, 12.5 is <5n"};

Configurable<bool> requireTof{"requireTof", false, "require TOF signal"};
Configurable<bool> onlyGoldenRuns{"onlyGoldenRuns", false, "process only golden runs"};
Configurable<bool> useRecoFlag{"useRecoFlag", false, "use reco flag for event selection"};
Configurable<int> cutRecoFlag{"cutRecoFlag", 1, "0 = std mode, 1 = upc mode"};
Configurable<bool> useRctFlag{"useRctFlag", false, "use RCT flags for event selection"};
Configurable<int> cutRctFlag{"cutRCTflag", 0, "0 = off, 1 = CBT, 2 = CBT+ZDC, 3 = CBThadron, 4 = CBThadron+ZDC"};

Check failure on line 142 in PWGUD/Tasks/upcRhoAnalysis.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.)

Configurable<float> collisionsPosZMaxCut{"collisionsPosZMaxCut", 10.0, "max Z position cut on collisions"};
Configurable<bool> cutNumContribs{"cutNumContribs", true, "cut on number of contributors"};
Expand Down Expand Up @@ -432,15 +432,15 @@
return false;
if (cutNumContribs && (collision.numContrib() > collisionsNumContribsMaxCut))
return false;

if (useRctFlag && !isGoodRctFlag(collision)) // check RCT flags
return false;
if (useRecoFlag && (collision.flags() != cutRecoFlag)) // check reconstruction mode
return false;

if (useTrueGap && (collision.gapSide() != sgSelector.trueGap(collision, cutTrueGapSideFV0, cutTrueGapSideFT0A, cutTrueGapSideFT0C, cutTrueGapSideZDC))) // check true gap side
return false;

return true;
}

Expand Down
Loading