Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef XAODTRIGGER_VERSIONS_TRIGPASSBITS_V1_H
9 #define XAODTRIGGER_VERSIONS_TRIGPASSBITS_V1_H
21 #include "AthLinks/DataLink.h"
51 template<
class CONT >
55 template<
class OBJ,
class CONT >
62 template<
class OBJ,
class CONT >
65 template<
class OBJ,
class CONT >
69 template<
class OBJ,
class CONT >
89 const std::vector< uint32_t >&
passBits()
const;
112 template<
class CONT >
113 std::unique_ptr< TrigPassBits_v1 >
118 template<
class CONT >
119 std::unique_ptr< TrigPassBits_v1 >
127 #endif // XAODTRIGGER_VERSIONS_TRIGPASSBITS_V1_H
void reset(const CONT *container, uint32_t containerKey=0xffff)
Function configuring and resetting the object for a new target.
void setContainerKey(uint32_t value)
Set the hashed SG key of the target container.
bool isPassing(const OBJ *obj, const CONT *container) const
Check if an element of a container is passing/failing.
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
static uint32_t hash(const std::string &key)
Function calculating a "hash" out of a string.
Base class for elements of a container that can have aux data.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void setContainerClid(uint32_t value)
Set the CLID of the target container.
void setPassBits(const std::vector< uint32_t > &value)
Set the internal bitmap directly (not recommended)
uint32_t containerClid() const
CLID of the target container.
uint32_t size() const
The size of the target container.
Type describing which elements in a container passed a trigger chain.
std::unique_ptr< TrigPassBits_v1 > makeTrigPassBits(const CONT *container, uint32_t containerKey=xAOD::TrigPassBits_v1::DEFAULT_KEY)
Helper function creating a new object to describe a target container.
void setSize(uint32_t value)
Set the size of the target container.
TrigPassBits_v1()
Default constructor.
const std::vector< uint32_t > & passBits() const
The internal bitmap created with the hypo decisions.
const void * m_container
Transient pointer to the target container.
uint32_t containerKey() const
Hashed SG key of the target container.
static const uint32_t DEFAULT_KEY
Default hashed container key, in case no explicit value was specified.
void markPassing(const OBJ *obj, const CONT *container, bool passed=true)
Mark one of the elements of the target container as passing/failing.
bool isPassing(const OBJ *obj, const CONT *container, uint32_t containerKey) const
Check if an element of a container is passing/failing.
const SG::AuxVectorData * container() const
Return the container holding this element.
Base class for elements of a container that can have aux data.
bool isPassing(const OBJ *obj, const CONT *container, const std::string &containerKey) const
Check if an element of a container is passing/failing.