Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
xAODTruthParticleSlimmerElectron.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERELECTRON_H
6 #define GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERELECTRON_H
7 
11 #include "xAODTruth/TruthEvent.h"
14 #include "GaudiKernel/SystemOfUnits.h"
15 
24 {
25 public:
27  xAODTruthParticleSlimmerElectron(const std::string &name, ISvcLocator *svcLoc);
29  virtual StatusCode initialize();
31  virtual StatusCode execute();
32 
33 private:
35  {this, "xAODTruthEventContainerName", "TruthEvents"};
38  {this, "xAODTruthParticleContainerNameElectron","TruthElectrons","Name of Truth Electrons contatiner from the slimmer"};
39 
41  DoubleProperty m_el_pt_selection{this, "el_pt_selection", 1. * Gaudi::Units::GeV}; //in GeV
42  DoubleProperty m_abseta_selection{this, "abseta_selection", 5.};
43 
44 }; // class xAODTruthParticleSlimmerElectron
45 
46 #endif //GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERELECTRON_H
xAODTruthParticleSlimmerElectron::m_abseta_selection
DoubleProperty m_abseta_selection
Definition: xAODTruthParticleSlimmerElectron.h:42
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
xAODTruthParticleSlimmerElectron::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: xAODTruthParticleSlimmerElectron.cxx:35
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthAlgorithm.h
xAODTruthParticleSlimmerElectron::m_el_pt_selection
DoubleProperty m_el_pt_selection
Selection values for keeping taus and leptons.
Definition: xAODTruthParticleSlimmerElectron.h:41
SG::WriteHandleKey< xAOD::TruthParticleContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
xAODTruthParticleSlimmerElectron::m_xaodTruthEventContainerName
SG::ReadHandleKey< xAOD::TruthEventContainer > m_xaodTruthEventContainerName
Definition: xAODTruthParticleSlimmerElectron.h:35
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
xAODTruthParticleSlimmerElectron
Algorithm to skim the xAOD truth particle container for xAOD electron filter.
Definition: xAODTruthParticleSlimmerElectron.h:24
xAODTruthParticleSlimmerElectron::xAODTruthParticleSlimmerElectron
xAODTruthParticleSlimmerElectron(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition: xAODTruthParticleSlimmerElectron.cxx:21
TruthParticle.h
TruthEventContainer.h
TruthMetaDataContainer.h
xAODTruthParticleSlimmerElectron::m_xaodTruthParticleContainerNameElectron
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_xaodTruthParticleContainerNameElectron
The key for the output xAOD truth containers.
Definition: xAODTruthParticleSlimmerElectron.h:38
TruthEvent.h
xAODTruthParticleSlimmerElectron::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: xAODTruthParticleSlimmerElectron.cxx:26