ATLAS Offline Software
Loading...
Searching...
No Matches
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
14#include "GaudiKernel/SystemOfUnits.h"
15
24{
25public:
27 xAODTruthParticleSlimmerElectron(const std::string &name, ISvcLocator *svcLoc);
29 virtual StatusCode initialize();
31 virtual StatusCode execute();
32
33private:
35 {this, "xAODTruthEventContainerName", "TruthEvents"};
36
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
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadHandleKey< xAOD::TruthEventContainer > m_xaodTruthEventContainerName
DoubleProperty m_el_pt_selection
Selection values for keeping taus and leptons.
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_xaodTruthParticleContainerNameElectron
The key for the output xAOD truth containers.
xAODTruthParticleSlimmerElectron(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
virtual StatusCode initialize()
Function initialising the algorithm.
virtual StatusCode execute()
Function executing the algorithm.