ATLAS Offline Software
Loading...
Searching...
No Matches
ParticleLevelIsolationAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef TRUTH_PARTICLELEVEL_ISOLATION_ALG_H
8#define TRUTH_PARTICLELEVEL_ISOLATION_ALG_H
9
10// Algorithm includes
16
17// Framework includes
20
21namespace CP {
23 public:
25 virtual StatusCode initialize() final;
26 virtual StatusCode execute(const EventContext &ctx) const final;
27
28 private:
30 this, "particles", "", "the name of the input truth particles container"};
31 Gaudi::Property<std::string> m_isolated{
32 this, "isolation", "", "decoration for isolated truth particles"};
33 Gaudi::Property<std::string> m_notTauOrigin{
34 this, "notTauOrigin", "",
35 "decoration for truth particles not coming from a tau-decay"};
36 Gaudi::Property<std::string> m_checkTypeName{
37 this, "checkType", "",
38 "the MCTruthPartClassifier::ParticleType string to check against"};
39 Gaudi::Property<std::string> m_isolationVariable{
40 this, "isoVar", "",
41 "variable to use in isolation cuts of the form 'var/pT < cut'"};
42 Gaudi::Property<float> m_isolationCut{
43 this, "isoCut", -1,
44 "threshold to use in isolation cuts of the form 'var/pT < cut'"};
47 this, "isolatedDecorKey", "", "internal, do not set directly"};
49 this, "notTauOriginDecorKey", "", "internal, do not set directly"};
51 this, "isoVarDecorKey", "", "internal, do not set directly"};
53 this, "classifierParticleTypeDecoration", m_particlesKey,
54 "classifierParticleType", "the particle type classification decoration"};
56 this, "classifierParticleOriginDecoration", m_particlesKey,
57 "classifierParticleOrigin", "the particle origin classification decoration"};
58};
59
60} // namespace CP
61
62#endif
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_particlesKey
MCTruthPartClassifier::ParticleType m_checkType
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_decNotTauOriginKey
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_classifierOriginKey
Gaudi::Property< float > m_isolationCut
Gaudi::Property< std::string > m_notTauOrigin
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_isoVarKey
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_decIsolatedKey
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_classifierTypeKey
virtual StatusCode execute(const EventContext &ctx) const final
Gaudi::Property< std::string > m_isolated
Gaudi::Property< std::string > m_checkTypeName
Gaudi::Property< std::string > m_isolationVariable
the base class for EventLoop reentrant algorithms
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Select isolated Photons, Electrons and Muons.