We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1ae73c commit 696faaeCopy full SHA for 696faae
1 file changed
Common/Tasks/integrationTest.cxx
@@ -63,7 +63,8 @@ struct integrationTest {
63
kTrackUsedDecay3Body,
64
kTrackUsedTrackedV0,
65
kTrackUsedTrackedCascade,
66
- kTrackUsedQA };
+ kTrackUsedQA,
67
+ kNTrackTypes};
68
69
enum kTable { kBC = 0,
70
kBCFlag,
@@ -220,10 +221,10 @@ struct integrationTest {
220
221
"QA"};
222
223
// construct labels to make this plot easier to understand
- for (uint8_t i = 0; i < 64; i++) {
224
- TString trackTypeString = "";
225
- for (uint8_t j = 0; j < kTrackUsedQA + 1; j++) {
226
- if (((i) & (1 << (j)))) {
+ for(uint8_t i=0; i<(1 << kNTrackTypes); i++){
+ TString trackTypeString = "";
+ for(uint8_t j=0; j<kTrackUsedQA+1; j++){
227
+ if( ((i) & (1<<(j))) ){
228
trackTypeString.Append(Form("%s ", kTrackTypeNames[j].Data()));
229
}
230
0 commit comments