ATLAS Offline Software
ThinTRTStandaloneTrackAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration.
3 */
4 
5 #ifndef THINNINGUTILS_THINTRTSTANDALONETRACKALG_H
6 #define THINNINGUTILS_THINTRTSTANDALONETRACKALG_H
7 
12 #include "xAODMuon/MuonContainer.h"
13 
17 
18 
25 {
26  public:
27 
30 
32  StatusCode initialize() override final;
33 
35  StatusCode execute(const EventContext& ctx) const override final;
36 
37  private:
38 
40  Gaudi::Property<bool> m_doElectron { this, "doElectron", true };
41 
43  Gaudi::Property<bool> m_doPhoton { this, "doPhoton", true };
44 
46  Gaudi::Property<bool> m_doTau { this, "doTau", true };
47 
49  Gaudi::Property<bool> m_doTauEleRM { this, "doTauEleRM", true };
50 
51  Gaudi::Property<bool> m_doMuon{this, "doMuon", true};
54  { this, "InDetTrackParticleContainerName", "InDetTrackParticles", "Name of the TrackParticle container to thin" };
55 
57  StringProperty m_streamName
58  { this, "StreamName", "StreamAOD", "Name of the stream being thinned" };
59 
62  { this, "InputElectronContainerName", "Electrons", "Name of the input electron container" };
63 
66  { this, "InputPhotonContainerName", "Photons", "Name of the input photon container" };
67 
70  { this, "InputTauJetContainerName", "TauJets", "Name of the input tau container" };
71 
74  { this, "InputTauJet_EleRMContainerName", "TauJets_EleRM", "Name of the input electron removal tau container" };
75 
78  this, "InputMuonContainerName", "Muons", "Name of the input muon container"
79  };
80 };
81 
82 #endif // THINNINGUTILS_THINTRTSTANDALONETRACKALG_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ThinTRTStandaloneTrackAlg::m_doTau
Gaudi::Property< bool > m_doTau
Thin tau tracks.
Definition: ThinTRTStandaloneTrackAlg.h:46
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition: ThinningHandleKey.h:38
ThinTRTStandaloneTrackAlg::m_InputElectronContainerKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_InputElectronContainerKey
electron collection input name
Definition: ThinTRTStandaloneTrackAlg.h:62
ThinTRTStandaloneTrackAlg::m_doElectron
Gaudi::Property< bool > m_doElectron
Thin electron tracks.
Definition: ThinTRTStandaloneTrackAlg.h:40
ThinTRTStandaloneTrackAlg::m_InDetTrackParticlesKey
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_InDetTrackParticlesKey
Track Particle container to thin.
Definition: ThinTRTStandaloneTrackAlg.h:54
ThinTRTStandaloneTrackAlg::m_doTauEleRM
Gaudi::Property< bool > m_doTauEleRM
Thin electron removal tau tracks.
Definition: ThinTRTStandaloneTrackAlg.h:49
SG::ReadHandleKey< xAOD::ElectronContainer >
ThinTRTStandaloneTrackAlg::initialize
StatusCode initialize() override final
initialize method
Definition: ThinTRTStandaloneTrackAlg.cxx:13
ThinTRTStandaloneTrackAlg::m_doPhoton
Gaudi::Property< bool > m_doPhoton
Thin photon tracks.
Definition: ThinTRTStandaloneTrackAlg.h:43
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
ThinTRTStandaloneTrackAlg::m_inputMuonContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_inputMuonContainerKey
Muon collection input name.
Definition: ThinTRTStandaloneTrackAlg.h:77
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ElectronContainer.h
ThinTRTStandaloneTrackAlg::m_streamName
StringProperty m_streamName
Name of the stream being thinned.
Definition: ThinTRTStandaloneTrackAlg.h:58
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ThinTRTStandaloneTrackAlg
Thin TRT standalone tracks.
Definition: ThinTRTStandaloneTrackAlg.h:25
ThinTRTStandaloneTrackAlg::m_InputPhotonContainerKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_InputPhotonContainerKey
photon collection input name
Definition: ThinTRTStandaloneTrackAlg.h:66
ThinTRTStandaloneTrackAlg::m_InputTauJetContainerKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_InputTauJetContainerKey
TauJets collection input name.
Definition: ThinTRTStandaloneTrackAlg.h:70
TauJetContainer.h
AthReentrantAlgorithm.h
ThinTRTStandaloneTrackAlg::m_doMuon
Gaudi::Property< bool > m_doMuon
Definition: ThinTRTStandaloneTrackAlg.h:51
MuonContainer.h
ThinTRTStandaloneTrackAlg::execute
StatusCode execute(const EventContext &ctx) const override final
execute method
Definition: ThinTRTStandaloneTrackAlg.cxx:30
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
ThinTRTStandaloneTrackAlg::m_InputTauJet_EleRMContainerKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_InputTauJet_EleRMContainerKey
TauJets_EleRM collection input name.
Definition: ThinTRTStandaloneTrackAlg.h:74
PhotonContainer.h
TrackParticleContainer.h