ATLAS Offline Software
Loading...
Searching...
No Matches
AsgPriorityDecorationAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef ASG_ANALYSIS_ALGORITHMS__ASG_PRIORITY_DECORATION_ALG_H
8#define ASG_ANALYSIS_ALGORITHMS__ASG_PRIORITY_DECORATION_ALG_H
9
16
17
18namespace CP
19{
20
23{
25public:
27 virtual StatusCode initialize() override;
28 virtual StatusCode execute() override;
29
30
32private:
34
36private:
38 this, "preselections", {}, "the preselections to apply with the highest priority first"};
39
41private:
43 this, "particles", "", "the container to use"};
44
46private:
47 Gaudi::Property<std::vector<int>> m_priorities {this, "priorities", {}, "priorities to use with the highest one first"};
48
50private:
51 Gaudi::Property<std::string> m_priorityDecoration {this, "priorityDecoration", "", "the decoration for the priority"};
52
54private:
55 std::unique_ptr<const SG::Decorator<char> > m_priorityDecorator {};
56};
57
58} // namespace CP
59
60#endif
an algorithm for decorating priorities
Gaudi::Property< std::vector< int > > m_priorities
the values of the priorities
SysListHandle m_systematicsList
the systematics list we run
virtual StatusCode execute() override
virtual StatusCode initialize() override
SysReadSelectionHandleArray m_preselections
the preselection we apply to our input
std::unique_ptr< const SG::Decorator< char > > m_priorityDecorator
the accessor for m_priorityDecoration
Gaudi::Property< std::string > m_priorityDecoration
the decoration for the priority
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
particles container handle
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.
SysHandleArray< SysReadSelectionHandle > SysReadSelectionHandleArray