ATLAS Offline Software
xAODTruthParticleSlimmerLightLepton.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERLIGHTLEPTONS_H
6 #define GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERLIGHTLEPTONS_H
7 
10 #include "xAODTruth/TruthEvent.h"
12 
14 
23 {
24 public:
26  xAODTruthParticleSlimmerLightLepton(const std::string &name, ISvcLocator *svcLoc);
28  virtual StatusCode initialize();
30  virtual StatusCode execute(const EventContext& context) const;
31 
32 private:
35  {this,"xAODTruthEventContainerName","TruthEvents","Name of Truth Events container"};
37  {this, "xAODTruthParticleContainerNameLightLepton","TruthLightLeptons","Name of Truth Light Leptons contatiner from the slimmer"};
38 
39 
40 
41 }; // class xAODTruthParticleSlimmerLightLepton
42 
43 #endif //GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERLIGHTLEPTONS_H
xAODTruthParticleSlimmerLightLepton::m_xaodTruthParticleContainerNameLightLeptonKey
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_xaodTruthParticleContainerNameLightLeptonKey
Definition: xAODTruthParticleSlimmerLightLepton.h:37
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthAlgorithm.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
xAODTruthParticleSlimmerLightLepton::xAODTruthParticleSlimmerLightLepton
xAODTruthParticleSlimmerLightLepton(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition: xAODTruthParticleSlimmerLightLepton.cxx:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
AthReentrantAlgorithm.h
xAODTruthParticleSlimmerLightLepton::m_xaodTruthEventContainerNameReadHandleKey
SG::ReadHandleKey< xAOD::TruthEventContainer > m_xaodTruthEventContainerNameReadHandleKey
The key for the output xAOD truth containers.
Definition: xAODTruthParticleSlimmerLightLepton.h:35
xAODTruthParticleSlimmerLightLepton::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: xAODTruthParticleSlimmerLightLepton.cxx:29
xAODTruthParticleSlimmerLightLepton::execute
virtual StatusCode execute(const EventContext &context) const
Function executing the algorithm.
Definition: xAODTruthParticleSlimmerLightLepton.cxx:36
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
xAODTruthParticleSlimmerLightLepton
Algorithm to skim the xAOD truth particle container for xAOD electron&muon filter.
Definition: xAODTruthParticleSlimmerLightLepton.h:23
TruthMetaDataContainer.h
TruthEvent.h