Skip to content
Closed
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
10 changes: 5 additions & 5 deletions PWGJE/Tasks/trackEfficiency.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ struct TrackEfficiency {
std::vector<int> eventSelectionBits;
int trackSelection = -1;
int acceptSplitCollisionsCase0 = 0; // acceptSplitCollisions case: only look at mcCollisions that are not split
int acceptSplitCollisionsCase2 = 2; //acceptSplitCollisions case: accept split mcCollisions but only look at the first reco collision associated with it
int acceptSplitCollisionsCase2 = 2; // acceptSplitCollisions case: accept split mcCollisions but only look at the first reco collision associated with it
// int acceptSplitCollisionsCase1 = 1; is in the else{} case

bool isChargedParticle(int code)
Expand Down Expand Up @@ -278,7 +278,7 @@ struct TrackEfficiency {

bool hasSel8Coll = false;
bool centralityCheck = false;
if (acceptSplitCollisions == acceptSplitCollisionsCase2) { // check only that the first reconstructed collision passes the check
if (acceptSplitCollisions == acceptSplitCollisionsCase2) { // check only that the first reconstructed collision passes the check
if (jetderiveddatautilities::selectCollision(collisions.begin(), eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
hasSel8Coll = true;
}
Expand Down Expand Up @@ -444,7 +444,7 @@ struct TrackEfficiency {

bool hasSel8Coll = false;
bool centralityCheck = false;
if (acceptSplitCollisions == acceptSplitCollisionsCase2) { // check only that the first reconstructed collision passes the check
if (acceptSplitCollisions == acceptSplitCollisionsCase2) { // check only that the first reconstructed collision passes the check
if (jetderiveddatautilities::selectCollision(collisions.begin(), eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
hasSel8Coll = true;
}
Expand Down Expand Up @@ -692,7 +692,7 @@ struct TrackEfficiency {

bool hasSel8Coll = false;
bool centralityCheck = false;
if (acceptSplitCollisions == acceptSplitCollisionsCase2) { // check only that the first reconstructed collision passes the check
if (acceptSplitCollisions == acceptSplitCollisionsCase2) { // check only that the first reconstructed collision passes the check
if (jetderiveddatautilities::selectCollision(collisions.begin(), eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
hasSel8Coll = true;
}
Expand Down Expand Up @@ -753,7 +753,7 @@ struct TrackEfficiency {

bool hasSel8Coll = false;
bool centralityCheck = false;
if (acceptSplitCollisions == acceptSplitCollisionsCase2) { // check only that the first reconstructed collision passes the check
if (acceptSplitCollisions == acceptSplitCollisionsCase2) { // check only that the first reconstructed collision passes the check
if (jetderiveddatautilities::selectCollision(collisions.begin(), eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
hasSel8Coll = true;
}
Expand Down
Loading