|
ATLAS Offline Software
|
Go to the documentation of this file.
19 m_inputAccessor(
"OverlapDecorationHelper_Dummy"),
91 return container.
size() > 0 &&
111 for(
auto obj : container){
void setObjectPass(const xAOD::IParticle &obj) const
Shorthand way to set an object as passing overlap removal.
bool isSurvivingObject(const xAOD::IParticle &obj) const
Check if object is surviving OR thus far.
bool m_useInputLabel
Toggle usage of input label.
const std::string inputLabel
const std::string outputLabel
void setObjectFail(const xAOD::IParticle &obj) const
Shorthand way to set an object as failing overlap removal.
Class providing the definition of the 4-vector interface.
char getObjectPriority(const xAOD::IParticle &obj) const
Get the user priority score, which is currently the input decoration.
ort::outputDecorator_t m_outputDecorator
Output decorator.
OverlapDecorationHelper(const std::string &inputLabel, const std::string &outputLabel, bool outputPassValue=false)
Constructor.
void resetDecorations(const xAOD::IParticleContainer &container) const
Helper method for setting all objects as passing.
SG::AuxElement::ConstAccessor< inputFlag_t > inputAccessor_t
Input object accessor.
bool isInputObject(const xAOD::IParticle &obj) const
Check if object is flagged as input for OR.
bool m_outputPassValue
Output decoration logic.
bool isRejectedObject(const xAOD::IParticle &obj) const
Check if an object has been rejected by decoration.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
ort::inputAccessor_t m_inputAccessor
Input label accessor.
bool isDecorated(const xAOD::IParticleContainer &container) const
Check if output decoration has been applied to a container.
void initializeDecorations(const xAOD::IParticleContainer &container) const
Initialize decorations for a container to "pass".
const bool outputPassValue
void setOverlapDecoration(const xAOD::IParticle &obj, bool result) const
Set output decoration on object, pass or fail.
size_type size() const noexcept
Returns the number of elements in the collection.