ATLAS Offline Software
Loading...
Searching...
No Matches
MCTCDecorationAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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:
28 MCTCDecorationAlg (const std::string& name,
29 ISvcLocator* pSvcLocator);
30
31
32 public:
33 virtual StatusCode initialize () override;
34
35 public:
36 virtual StatusCode execute () override;
37
38
39
41 private:
43
45 private:
47 this, "particles", "", "the particle collection to run on"};
48
50 private:
52 this, "preselection", "", "the preselection to apply"};
53
55 private:
56 Gaudi::Property<std::string> m_classificationDecoration{this, "classificationDecoration", "Classification", "the decoration for the MCTC classification bitmask"};
57
59 private:
60 std::unique_ptr<const SG::ConstAccessor<unsigned int> > m_classificationAccessor{};
61
63 private:
64 Gaudi::Property<std::string> m_isPromptDecoration{this, "isPromptDecoration", "MCTC_isPrompt", "the decoration for the promptness information"};
65
67 private:
68 std::unique_ptr<const SG::Decorator<int> > m_isPromptDecorator{};
69
71 private:
72 Gaudi::Property<std::string> m_fromHadronDecoration{this, "fromHadronDecoration", "MCTC_fromHadron", "the decoration for the hadronic origin"};
73
75 private:
76 std::unique_ptr<const SG::Decorator<int> > m_fromHadronDecorator{};
77
79 private:
80 Gaudi::Property<std::string> m_fromBSMDecoration{this, "fromBSMDecoration", "MCTC_fromBSM", "the decoration for the BSM origin"};
81
83 private:
84 std::unique_ptr<const SG::Decorator<int> > m_fromBSMDecorator{};
85
87 private:
88 Gaudi::Property<std::string> m_fromTauDecoration{this, "fromTauDecoration", "MCTC_fromTau", "the decoration for the tau origin"};
89
91 private:
92 std::unique_ptr<const SG::Decorator<int> > m_fromTauDecorator{};
93 };
94
95} // namespace CP
96
97#endif
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle collection we run on
std::unique_ptr< const SG::Decorator< int > > m_fromHadronDecorator
the decorator for m_fromHadDecoration
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
MCTCDecorationAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
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 execute() override
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
Select isolated Photons, Electrons and Muons.