ATLAS Offline Software
Loading...
Searching...
No Matches
MCTCDecorationAlg.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 ASG_ANALYSIS_ALGORITHMS__MCTC_DECORATION_ALG_H
8#define ASG_ANALYSIS_ALGORITHMS__MCTC_DECORATION_ALG_H
9
16
17
18
19namespace CP
20{
23
25 {
27 public:
29
30
31 public:
32 virtual StatusCode initialize () override;
33
34 public:
35 virtual StatusCode execute (const EventContext& ctx) override;
36
37
38
40 private:
42
44 private:
46 this, "particles", "", "the particle collection to run on"};
47
49 private:
51 this, "preselection", "", "the preselection to apply"};
52
54 private:
55 Gaudi::Property<std::string> m_classificationDecoration{this, "classificationDecoration", "Classification", "the decoration for the MCTC classification bitmask"};
56
58 private:
59 std::unique_ptr<const SG::ConstAccessor<unsigned int> > m_classificationAccessor{};
60
62 private:
63 Gaudi::Property<std::string> m_isPromptDecoration{this, "isPromptDecoration", "MCTC_isPrompt", "the decoration for the promptness information"};
64
66 private:
67 std::unique_ptr<const SG::Decorator<int> > m_isPromptDecorator{};
68
70 private:
71 Gaudi::Property<std::string> m_fromHadronDecoration{this, "fromHadronDecoration", "MCTC_fromHadron", "the decoration for the hadronic origin"};
72
74 private:
75 std::unique_ptr<const SG::Decorator<int> > m_fromHadronDecorator{};
76
78 private:
79 Gaudi::Property<std::string> m_fromBSMDecoration{this, "fromBSMDecoration", "MCTC_fromBSM", "the decoration for the BSM origin"};
80
82 private:
83 std::unique_ptr<const SG::Decorator<int> > m_fromBSMDecorator{};
84
86 private:
87 Gaudi::Property<std::string> m_fromTauDecoration{this, "fromTauDecoration", "MCTC_fromTau", "the decoration for the tau origin"};
88
90 private:
91 std::unique_ptr<const SG::Decorator<int> > m_fromTauDecorator{};
92 };
93
94} // namespace CP
95
96#endif
an algorithm to unpack and decorate MCTruthClassifier Classification information
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle collection we run on
std::unique_ptr< const SG::Decorator< int > > m_fromHadronDecorator
the decorator for m_fromHadronDecoration
std::unique_ptr< const SG::ConstAccessor< unsigned int > > m_classificationAccessor
the accessor for m_classificationDecoration
std::unique_ptr< const SG::Decorator< int > > m_fromBSMDecorator
the decorator for m_fromBSMDecoration
std::unique_ptr< const SG::Decorator< int > > m_isPromptDecorator
the decorator for m_isPromptDecoration
std::unique_ptr< const SG::Decorator< int > > m_fromTauDecorator
the decorator for m_fromTauDecoration
Gaudi::Property< std::string > m_classificationDecoration
the decoration for the MCTC classification bitmask
SysListHandle m_systematicsList
the systematics list we run
Gaudi::Property< std::string > m_fromBSMDecoration
the decoration for the BSM origin
Gaudi::Property< std::string > m_isPromptDecoration
the decoration for the promptness
Gaudi::Property< std::string > m_fromTauDecoration
the decoration for the tau origin
virtual StatusCode initialize() override
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Gaudi::Property< std::string > m_fromHadronDecoration
the decoration for the hadronic origin
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.