ATLAS Offline Software
InDetReconstructableSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // InDetReconstructableSelector.h
7 // Header file for InDetReconstructableSelector
9 
10 #ifndef TRKVALTOOLS_GENPARTICLESELECTOR_H
11 #define TRKVALTOOLS_GENPARTICLESELECTOR_H
12 
15 
16 namespace Trk {
17 
31  public:
32 
33  InDetReconstructableSelector(const std::string& type, const std::string& name,
34  const IInterface* parent);
36  virtual StatusCode initialize();
37  virtual StatusCode finalize();
38 
41  virtual std::vector<HepMC::ConstGenParticlePtr>*
42  selectGenSignal (const McEventCollection*) const;
43 
44  private:
45  float m_minPt;
46  float m_maxEta;
52 
53  };
54 
55 } // end namespace
56 #endif
IGenParticleSelector.h
Trk::InDetReconstructableSelector::m_maxEta
float m_maxEta
Definition: InDetReconstructableSelector.h:46
Trk::InDetReconstructableSelector::m_maxRStartAll
float m_maxRStartAll
Max R of start vertex for primaries and secondaries.
Definition: InDetReconstructableSelector.h:50
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
Trk::InDetReconstructableSelector::~InDetReconstructableSelector
~InDetReconstructableSelector()
Definition: InDetReconstructableSelector.h:35
Trk::InDetReconstructableSelector::m_selectPrimariesOnly
bool m_selectPrimariesOnly
Definition: InDetReconstructableSelector.h:47
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:49
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:32
Trk::InDetReconstructableSelector::finalize
virtual StatusCode finalize()
Definition: InDetReconstructableSelector.cxx:48
Trk::InDetReconstructableSelector::m_maxZStartAll
float m_maxZStartAll
Max z of start vertex for primaries + sec.
Definition: InDetReconstructableSelector.h:51
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
Trk::InDetReconstructableSelector
Modular concept to select truth particles for the truth tree filling and efficiency calculation,...
Definition: InDetReconstructableSelector.h:30
Trk::InDetReconstructableSelector::InDetReconstructableSelector
InDetReconstructableSelector(const std::string &type, const std::string &name, const IInterface *parent)
Definition: InDetReconstructableSelector.cxx:17
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:45
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:54
AthAlgTool
Definition: AthAlgTool.h:26
Trk::InDetReconstructableSelector::m_maxRStartPrimary
float m_maxRStartPrimary
Max R of start vertex to be considered primary.
Definition: InDetReconstructableSelector.h:48
Trk::InDetReconstructableSelector::initialize
virtual StatusCode initialize()
initialize
Definition: InDetReconstructableSelector.cxx:43