Skip to content

Commit e028958

Browse files
author
Sahil Upadhyaya
committed
Clang fix
1 parent ee3a863 commit e028958

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

PWGDQ/Core/MCProng.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class MCProng
7373
kProducedByGenerator, // Produced by generator (if not, then produced by GEANT)
7474
kFromBackgroundEvent, // Produced in the underlying event
7575
kHEPMCFinalState, // HEPMC code 11
76-
kIsPowhegDYMuon, // POWHEG muons based on Pythia Status Code (=23) -> Drell-Yan signal
76+
kIsPowhegDYMuon, // POWHEG muons based on Pythia Status Code (=23) -> Drell-Yan signal
7777
kNSources
7878
};
7979

PWGDQ/Core/MCSignal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,10 @@ bool MCSignal::CheckProng(int i, bool checkSources, const T& track)
255255
}
256256
// Check kIsPowhegDYMuon
257257
if (fProngs[i].fSourceBits[j] & (static_cast<uint64_t>(1) << MCProng::kIsPowhegDYMuon)) {
258-
if ((fProngs[i].fExcludeSource[j] & (static_cast<uint64_t>(1) << MCProng::kIsPowhegDYMuon)) != (currentMCParticle.getGenStatusCode()==23)) {
258+
if ((fProngs[i].fExcludeSource[j] & (static_cast<uint64_t>(1) << MCProng::kIsPowhegDYMuon)) != (currentMCParticle.getGenStatusCode() == 23)) {
259259
sourcesDecision |= (static_cast<uint64_t>(1) << MCProng::kIsPowhegDYMuon);
260260
}
261-
}
261+
}
262262
} // end if(hasSources)
263263
// no source bit is fulfilled
264264
if (hasSources && !sourcesDecision) {

PWGDQ/Core/MCSignalLibrary.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,9 @@ MCSignal* o2::aod::dqmcsignals::GetMCSignal(const char* name)
349349
return signal;
350350
}
351351
if (!nameStr.compare("PowhegDYMuon1")) {
352-
MCProng prong(1, {13}, {true}, {false}, {0}, {0}, {false}); // selecting muons
353-
prong.SetSourceBit(0, MCProng::kIsPowhegDYMuon); // set source to be Muon from POWHEG
354-
signal = new MCSignal(name, "POWHEG Muon singles", {prong}, {-1});// define a signal with 1-prong
352+
MCProng prong(1, {13}, {true}, {false}, {0}, {0}, {false}); // selecting muons
353+
prong.SetSourceBit(0, MCProng::kIsPowhegDYMuon); // set source to be Muon from POWHEG
354+
signal = new MCSignal(name, "POWHEG Muon singles", {prong}, {-1}); // define a signal with 1-prong
355355
return signal;
356356
}
357357

@@ -388,9 +388,9 @@ MCSignal* o2::aod::dqmcsignals::GetMCSignal(const char* name)
388388
return signal;
389389
}
390390
if (!nameStr.compare("PowhegDYMuon2")) {
391-
MCProng prong(1, {13}, {true}, {false}, {0}, {0}, {false}); // selecting muons
392-
prong.SetSourceBit(0, MCProng::kIsPowhegDYMuon); // set source to be Muon from POWHEG
393-
signal = new MCSignal(name, "POWHEG Muon pair", {prong,prong}, {-1,-1});// define a signal with 2-prong
391+
MCProng prong(1, {13}, {true}, {false}, {0}, {0}, {false}); // selecting muons
392+
prong.SetSourceBit(0, MCProng::kIsPowhegDYMuon); // set source to be Muon from POWHEG
393+
signal = new MCSignal(name, "POWHEG Muon pair", {prong, prong}, {-1, -1}); // define a signal with 2-prong
394394
return signal;
395395
}
396396

0 commit comments

Comments
 (0)