ATLAS Offline Software
InDetReconstructableSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // InDetReconstructableSelector.h
7 // Header file for InDetReconstructableSelector
9 // (c) ATLAS Detector software
11 
12 #ifndef TRKVALTOOLS_GENPARTICLESELECTOR_H
13 #define TRKVALTOOLS_GENPARTICLESELECTOR_H
14 
16 #include "HepPDT/ParticleDataTable.hh"
18 
19 namespace Trk {
20 
34  public:
35 
36  InDetReconstructableSelector(const std::string& type, const std::string& name,
37  const IInterface* parent);
39  virtual StatusCode initialize();
40  virtual StatusCode finalize();
41 
44  virtual std::vector<HepMC::ConstGenParticlePtr>*
45  selectGenSignal (const McEventCollection*) const;
46 
47  private:
48  const HepPDT::ParticleDataTable* m_particleDataTable;
49  float m_minPt;
50  float m_maxEta;
56 
57  };
58 
59 } // end namespace
60 #endif
IGenParticleSelector.h
Trk::InDetReconstructableSelector::m_maxEta
float m_maxEta
Definition: InDetReconstructableSelector.h:50
Trk::InDetReconstructableSelector::m_maxRStartAll
float m_maxRStartAll
Max R of start vertex for primaries and secondaries.
Definition: InDetReconstructableSelector.h:54
Trk::InDetReconstructableSelector::~InDetReconstructableSelector
~InDetReconstructableSelector()
Definition: InDetReconstructableSelector.h:38
Trk::InDetReconstructableSelector::m_selectPrimariesOnly
bool m_selectPrimariesOnly
Definition: InDetReconstructableSelector.h:51
Trk::InDetReconstructableSelector::m_particleDataTable
const HepPDT::ParticleDataTable * m_particleDataTable
Definition: InDetReconstructableSelector.h:48
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Trk::InDetReconstructableSelector::m_maxZStartPrimary
float m_maxZStartPrimary
Max Z of start vertex to be considered primary.
Definition: InDetReconstructableSelector.h:53
test_pyathena.parent
parent
Definition: test_pyathena.py:15
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Definition: McEventCollection.h:33
Trk::InDetReconstructableSelector::finalize
virtual StatusCode finalize()
Definition: InDetReconstructableSelector.cxx:63
Trk::InDetReconstructableSelector::m_maxZStartAll
float m_maxZStartAll
Max z of start vertex for primaries + sec.
Definition: InDetReconstructableSelector.h:55
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
Trk::InDetReconstructableSelector
Modular concept to select truth particles for the truth tree filling and efficiency calculation,...
Definition: InDetReconstructableSelector.h:33
Trk::InDetReconstructableSelector::InDetReconstructableSelector
InDetReconstructableSelector(const std::string &type, const std::string &name, const IInterface *parent)
Definition: InDetReconstructableSelector.cxx:21
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Trk::IGenParticleSelector
provides the interface for tools to select generated particles
Definition: IGenParticleSelector.h:30
Trk::InDetReconstructableSelector::m_minPt
float m_minPt
Definition: InDetReconstructableSelector.h:49
Trk::InDetReconstructableSelector::selectGenSignal
virtual std::vector< HepMC::ConstGenParticlePtr > * selectGenSignal(const McEventCollection *) const
main method performing the genparticle selection; it works on the entire collection.
Definition: InDetReconstructableSelector.cxx:69
AthAlgTool
Definition: AthAlgTool.h:26
Trk::InDetReconstructableSelector::m_maxRStartPrimary
float m_maxRStartPrimary
Max R of start vertex to be considered primary.
Definition: InDetReconstructableSelector.h:52
Trk::InDetReconstructableSelector::initialize
virtual StatusCode initialize()
initialize
Definition: InDetReconstructableSelector.cxx:48