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
1 change: 0 additions & 1 deletion PWGEM/PhotonMeson/Tasks/photonhbt.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@
// INITS
/*************************************************/


bool mDoPairQa{true}, mDoSinglePhotonQa{true}, mDoLegPairQA{true};
bool mDoPairSepQA{true}, mFillDRDZSparse{true};

Expand All @@ -522,9 +521,9 @@
const int qaLevel = qaflags.cfgQaLevel.value;
mDoPairQa = qaflags.doPairQa.value && qaLevel >= 1;
mDoSinglePhotonQa = qaflags.doSinglePhotonQa.value && qaLevel >= 1;
mDoLegPairQA = qaflags.doLegPairQA.value && qaLevel >= 2;

Check failure on line 524 in PWGEM/PhotonMeson/Tasks/photonhbt.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
mDoPairSepQA = pairsep.cfgDoPairSepQA.value && qaLevel >= 2;

Check failure on line 525 in PWGEM/PhotonMeson/Tasks/photonhbt.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
mFillDRDZSparse = qaflags.cfgFillDRDZSparse.value && qaLevel >= 2;

Check failure on line 526 in PWGEM/PhotonMeson/Tasks/photonhbt.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
LOGF(info, "photonhbt QA level %d -> pairQA %d, singlePhotonQA %d, legPairQA %d, pairSep %d, dRdZ sparse %d",
qaLevel, mDoPairQa, mDoSinglePhotonQa, mDoLegPairQA, mDoPairSepQA, mFillDRDZSparse);
mRunNumber = 0;
Expand Down
Loading