30 if(!assoc)
throw std::runtime_error(
"MissingETAssociationHelper::setObjSelectionFlag received a null pointer");
39 if(!assoc)
throw std::runtime_error(
"MissingETAssociationHelper::setObjSelectionFlag received a null pointer");
45 if(!assoc)
throw std::runtime_error(
"MissingETAssociationHelper::objSelected received a null pointer");
54 if(!assoc)
throw std::runtime_error(
"MissingETAssociationHelper::objSelected received a null pointer");
60 if(!assoc)
throw std::runtime_error(
"MissingETAssociationHelper::getObjSelectionFlags received a null pointer");
size_t index() const
Return the index of this element within its container.
Class providing the definition of the 4-vector interface.
MissingETBase::Types::bitmask_t getObjSelectionFlags(const MissingETAssociation_v1 *assoc) const
Return object selection bitmask for the given association.
std::vector< MissingETBase::Types::bitmask_t > m_useObjectFlags
MissingETAssociationHelper()
Default constructor.
const MissingETAssociationMap_v1 * m_map
bool objSelected(const MissingETAssociation_v1 *assoc, size_t objIdx) const
Test if object is selected for MET calculation.
void setObjSelectionFlag(const MissingETAssociation_v1 *assoc, const IParticle *pPart, bool status)
Flag object as selected for MET calculation.
virtual ~MissingETAssociationHelper()
Base class destructor.
const MissingETAssociationMap_v1 * map() const
void setObjSelectionFlag(const MissingETAssociation_v1 *assoc, size_t objIdx, bool status)
Flag object as selected for MET calculation.
MET association descriptor contains object links and corresponding parameters.
size_t findIndex(const IParticle *pPart) const
Find index of given object in contributing object store.
uint64_t bitmask_t
Type for status word bit mask.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setBGCode setTAP setLVL2ErrorBits bool