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;
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
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.