ATLAS Offline Software
InDetPrimaryConversionSelector.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 // InDetPrimaryConversionSelector.h
7 // Header file for InDetPrimaryConversionSelector
9 
10 #ifndef TRKVALTOOLS_PrimaryConversionSelector_H
11 #define TRKVALTOOLS_PrimaryConversionSelector_H
12 
15 
16 namespace Trk {
17 
31  public:
32 
33  InDetPrimaryConversionSelector(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;
49  };
50 
51 } // end namespace
52 #endif
IGenParticleSelector.h
Trk::InDetPrimaryConversionSelector
Modular concept to select truth particles for the truth tree filling and efficiency calculation,...
Definition: InDetPrimaryConversionSelector.h:30
Trk::InDetPrimaryConversionSelector::m_maxRStartAll
float m_maxRStartAll
Max R of start vertex for primaries and secondaries.
Definition: InDetPrimaryConversionSelector.h:47
Trk::InDetPrimaryConversionSelector::InDetPrimaryConversionSelector
InDetPrimaryConversionSelector(const std::string &type, const std::string &name, const IInterface *parent)
Definition: InDetPrimaryConversionSelector.cxx:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk::InDetPrimaryConversionSelector::finalize
virtual StatusCode finalize()
Definition: InDetPrimaryConversionSelector.cxx:43
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Trk::InDetPrimaryConversionSelector::m_maxZStartAll
float m_maxZStartAll
Max z of start vertex for primaries + sec.
Definition: InDetPrimaryConversionSelector.h:48
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Definition: McEventCollection.h:33
Trk::InDetPrimaryConversionSelector::~InDetPrimaryConversionSelector
~InDetPrimaryConversionSelector()
Definition: InDetPrimaryConversionSelector.h:35
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::InDetPrimaryConversionSelector::m_minPt
float m_minPt
Definition: InDetPrimaryConversionSelector.h:45
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Trk::InDetPrimaryConversionSelector::m_maxEta
float m_maxEta
Definition: InDetPrimaryConversionSelector.h:46
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Trk::IGenParticleSelector
provides the interface for tools to select generated particles
Definition: IGenParticleSelector.h:30
Trk::InDetPrimaryConversionSelector::selectGenSignal
virtual std::vector< HepMC::ConstGenParticlePtr > * selectGenSignal(const McEventCollection *) const
main method performing the genparticle selection; it works on the entire collection.
Definition: InDetPrimaryConversionSelector.cxx:49
AthAlgTool
Definition: AthAlgTool.h:26
Trk::InDetPrimaryConversionSelector::initialize
virtual StatusCode initialize()
initialize
Definition: InDetPrimaryConversionSelector.cxx:38