ATLAS Offline Software
MuonDecayTruthTrajectoryBuilder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Dear emacs, this is -*-c++-*-
6 
7 #ifndef MUONDECAYTRUTHTRAJECTORYBUILDER_H
8 #define MUONDECAYTRUTHTRAJECTORYBUILDER_H
9 
11 #include "AtlasHepMC/GenVertex.h"
13 
14 namespace Muon {
15 
17  public:
18  MuonDecayTruthTrajectoryBuilder(const std::string& type, const std::string& name, const IInterface* parent);
19 
20 
21 
23 
28 
34 
35  private:
37  typedef std::pair<HepMC::ConstGenParticlePtr, HepMC::ConstGenParticlePtr> MotherDaughter;
38 
49 
50  };
51 
52 } // namespace Muon
53 
54 #endif
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
get_generator_info.result
result
Definition: get_generator_info.py:21
ITruthTrajectoryBuilder.h
GenVertex.h
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::MuonDecayTruthTrajectoryBuilder::MotherDaughter
std::pair< HepMC::ConstGenParticlePtr, HepMC::ConstGenParticlePtr > MotherDaughter
Return type for the next method.
Definition: MuonDecayTruthTrajectoryBuilder.h:37
Trk::ITruthTrajectoryBuilder
Definition: ITruthTrajectoryBuilder.h:25
Muon::MuonDecayTruthTrajectoryBuilder::MuonDecayTruthTrajectoryBuilder
MuonDecayTruthTrajectoryBuilder(const std::string &type, const std::string &name, const IInterface *parent)
Definition: MuonDecayTruthTrajectoryBuilder.cxx:21
Muon::MuonDecayTruthTrajectoryBuilder::getDaughter
HepMC::ConstGenParticlePtr getDaughter(const HepMC::ConstGenParticlePtr &particle) const override
Returns an umambiguous daughter of the truth particle on a TruthTrajectory, or 0.
Definition: MuonDecayTruthTrajectoryBuilder.cxx:144
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
TruthTrajectory
Definition: TruthTrajectory.h:26
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
Muon::MuonDecayTruthTrajectoryBuilder::truthTrajectoryCuts
MotherDaughter truthTrajectoryCuts(const HepMC::ConstGenVertexPtr &vtx) const
Decides if the vertex connects two particles on the same TruthTrajectory.
Definition: MuonDecayTruthTrajectoryBuilder.cxx:79
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HepMC::ConstGenVertexPtr
const HepMC::GenVertex * ConstGenVertexPtr
Definition: GenVertex.h:60
AthAlgTool
Definition: AthAlgTool.h:26
Muon::MuonDecayTruthTrajectoryBuilder
Definition: MuonDecayTruthTrajectoryBuilder.h:16
Muon::MuonDecayTruthTrajectoryBuilder::getMother
HepMC::ConstGenParticlePtr getMother(const HepMC::ConstGenParticlePtr &particle) const override
Returns an umambiguous mother of the truth particle on a TruthTrajectory, or 0.
Definition: MuonDecayTruthTrajectoryBuilder.cxx:153
Muon::MuonDecayTruthTrajectoryBuilder::buildTruthTrajectory
void buildTruthTrajectory(TruthTrajectory *result, const HepMC::ConstGenParticlePtr &input) const override
Build a TruthTrajectory this particle belongs to.
Definition: MuonDecayTruthTrajectoryBuilder.cxx:29