Skip to content

Commit d0c1758

Browse files
committed
Please consider the following formatting changes
1 parent a9221be commit d0c1758

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

PWGDQ/Tasks/dqEfficiency_withAssoc_direct.cxx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
#include <Framework/AnalysisTask.h>
4848
#include <Framework/Configurable.h>
4949
#include <Framework/InitContext.h>
50+
#include <Framework/O2DatabasePDGPlugin.h>
5051
#include <Framework/runDataProcessing.h>
5152
#include <ReconstructionDataFormats/Track.h>
52-
#include <Framework/O2DatabasePDGPlugin.h>
5353

5454
#include <THashList.h>
5555
#include <TList.h>
@@ -2079,15 +2079,15 @@ struct AnalysisSameEventPairing {
20792079
mcDecision |= (static_cast<uint32_t>(1) << isig);
20802080
VarManager::FillPairMC<TPairType>(t1_raw, t2_raw);
20812081
// cout << " Filled VarManager for the pair." << endl;
2082-
// check if t1_raw and t2_raw have same mother to compute decay length related variables
2083-
if(t1_raw.has_mothers() && t2_raw.has_mothers()){
2084-
auto motherMCParticle_t1 = t1_raw.template mothers_first_as<McParticles>();
2085-
auto motherMCParticle_t2 = t2_raw.template mothers_first_as<McParticles>();
2086-
if(motherMCParticle_t1 == motherMCParticle_t2){
2087-
auto mcEvent = mcEvents.rawIteratorAt(motherMCParticle_t1.mcCollisionId());
2088-
std::array<double, 3> collVtxPos = {mcEvent.posX(), mcEvent.posY(), mcEvent.posZ()};
2089-
VarManager::FillTrackCollisionMC<TPairType>(motherMCParticle_t1,collVtxPos,pdgDB->Mass(motherMCParticle_t1.pdgCode()));
2090-
}
2082+
// check if t1_raw and t2_raw have same mother to compute decay length related variables
2083+
if (t1_raw.has_mothers() && t2_raw.has_mothers()) {
2084+
auto motherMCParticle_t1 = t1_raw.template mothers_first_as<McParticles>();
2085+
auto motherMCParticle_t2 = t2_raw.template mothers_first_as<McParticles>();
2086+
if (motherMCParticle_t1 == motherMCParticle_t2) {
2087+
auto mcEvent = mcEvents.rawIteratorAt(motherMCParticle_t1.mcCollisionId());
2088+
std::array<double, 3> collVtxPos = {mcEvent.posX(), mcEvent.posY(), mcEvent.posZ()};
2089+
VarManager::FillTrackCollisionMC<TPairType>(motherMCParticle_t1, collVtxPos, pdgDB->Mass(motherMCParticle_t1.pdgCode()));
2090+
}
20912091
}
20922092
if (fUseMCGenAccCut) {
20932093
if (!fMCGenAccCut.IsSelected(VarManager::fgValues)) {

0 commit comments

Comments
 (0)