From b5863048c8432fd4b87a4e499a060bd216ac0f31 Mon Sep 17 00:00:00 2001 From: Deion Elgin Fellers <dfellers@lxplus791.cern.ch> Date: Fri, 24 Feb 2023 04:57:06 +0100 Subject: [PATCH] cleanup: fix annoying tab spacing --- .../NtupleDumper/src/NtupleDumperAlg.cxx | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/PhysicsAnalysis/NtupleDumper/src/NtupleDumperAlg.cxx b/PhysicsAnalysis/NtupleDumper/src/NtupleDumperAlg.cxx index 995b69ca..8b6aba73 100644 --- a/PhysicsAnalysis/NtupleDumper/src/NtupleDumperAlg.cxx +++ b/PhysicsAnalysis/NtupleDumper/src/NtupleDumperAlg.cxx @@ -603,40 +603,40 @@ StatusCode NtupleDumperAlg::execute(const EventContext &ctx) const if (ipart++ > 9) break; m_truth_P.push_back(particle->p4().P()); - m_truth_px.push_back(particle->p4().X()); - m_truth_py.push_back(particle->p4().Y()); - m_truth_pz.push_back(particle->p4().Z()); - m_truth_m.push_back(particle->m()); - m_truth_pdg.push_back(particle->pdgId()); - - if ( particle->hasProdVtx()) { - m_truth_prod_x.push_back(particle->prodVtx()->x()); - m_truth_prod_y.push_back(particle->prodVtx()->y()); - m_truth_prod_z.push_back(particle->prodVtx()->z()); - } else { - m_truth_prod_x.push_back(999999); - m_truth_prod_y.push_back(999999); - m_truth_prod_z.push_back(999999); - } - - if ( particle->hasDecayVtx()) { - m_truth_dec_x.push_back(particle->decayVtx()->x()); - m_truth_dec_y.push_back(particle->decayVtx()->y()); - m_truth_dec_z.push_back(particle->decayVtx()->z()); - } else { - m_truth_dec_x.push_back(999999); - m_truth_dec_y.push_back(999999); - m_truth_dec_z.push_back(999999); - } + m_truth_px.push_back(particle->p4().X()); + m_truth_py.push_back(particle->p4().Y()); + m_truth_pz.push_back(particle->p4().Z()); + m_truth_m.push_back(particle->m()); + m_truth_pdg.push_back(particle->pdgId()); + + if ( particle->hasProdVtx()) { + m_truth_prod_x.push_back(particle->prodVtx()->x()); + m_truth_prod_y.push_back(particle->prodVtx()->y()); + m_truth_prod_z.push_back(particle->prodVtx()->z()); + } else { + m_truth_prod_x.push_back(999999); + m_truth_prod_y.push_back(999999); + m_truth_prod_z.push_back(999999); + } + + if ( particle->hasDecayVtx()) { + m_truth_dec_x.push_back(particle->decayVtx()->x()); + m_truth_dec_y.push_back(particle->decayVtx()->y()); + m_truth_dec_z.push_back(particle->decayVtx()->z()); + } else { + m_truth_dec_x.push_back(999999); + m_truth_dec_y.push_back(999999); + m_truth_dec_z.push_back(999999); + } // Find the M d0 and d1 truth information for dark photon if ( particle->barcode() == 1 || particle->barcode() == 2 || particle->barcode() == 3 ) { auto positions = m_fiducialParticleTool->getTruthPositions(particle->barcode()); if ( particle->pdgId() == 32) { // mother particle (A') - m_truthM_P.push_back(particle->p4().P()); + m_truthM_P.push_back(particle->p4().P()); m_truthM_px.push_back(particle->p4().X()); - m_truthM_py.push_back(particle->p4().Y()); - m_truthM_pz.push_back(particle->p4().Z()); + m_truthM_py.push_back(particle->p4().Y()); + m_truthM_pz.push_back(particle->p4().Z()); if ( particle->hasDecayVtx()) { // decay vertex for A' particle m_truthM_x.push_back(particle->decayVtx()->x()); -- GitLab