|
ATLAS Offline Software
|
Go to the documentation of this file.
18 ANA_MSG_ERROR (
"Priority decoration name should not be empty.");
19 return StatusCode::FAILURE;
24 ANA_MSG_ERROR (
"Preselections and priority values need to be of the same size.");
25 return StatusCode::FAILURE;
30 ANA_MSG_ERROR (
"Priorities need to be provided in reverse order.");
31 return StatusCode::FAILURE;
40 return StatusCode::SUCCESS;
68 (*m_priorityDecorator)(*particle) = 0;
72 return StatusCode::SUCCESS;
SysReadSelectionHandleArray m_preselections
the preselection we apply to our input
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
virtual StatusCode initialize() override
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
Gaudi::Property< std::vector< int > > m_priorities
the values of the priorities
StatusCode initialize(Args &&...args)
Create and initialize all the sub-handles.
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
particles container handle
const std::vector< CP::SystematicSet > & systematicsVector() const
the list of systematics to loop over
virtual StatusCode execute() override
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.
::StatusCode initialize()
intialize this property
bool getBool(const SG::AuxElement &element, const CP::SystematicSet &sys) const
get the selection as a bool
SysListHandle m_systematicsList
the systematics list we run
::StatusCode StatusCode
StatusCode definition for legacy code.
std::unique_ptr< const SG::AuxElement::Decorator< char > > m_priorityDecorator
the accessor for m_priorityDecoration
std::size_t size() const noexcept
The number of defined handles.
HANDLE & at(std::size_t idx)
Retrieve the handle at the specified index.
Gaudi::Property< std::string > m_priorityDecoration
the decoration for the priority