#include <TrigPassBits.h>
|
| | TrigPassBits () |
| | TrigPassBits (unsigned sz, const void *cont=0) |
| | Constructor to be used by the HLT algorithms Else the mark_passing and is_passing won't work.
|
| void | markPassing (unsigned position, const void *cont=0) |
| | Set the bit value a the position to true.
|
| bool | isPassing (unsigned position) const |
| | Check the bit value a the position.
|
| unsigned int | size () const |
| | gets size of the bits array
|
◆ TrigPassBits() [1/2]
| TrigPassBits::TrigPassBits |
( |
| ) |
|
Definition at line 7 of file TrigPassBits.cxx.
const void * m_container_ptr
std::vector< bool > m_decisions
trainsient bits storage (STL docu assures that this is efficient)
◆ TrigPassBits() [2/2]
| TrigPassBits::TrigPassBits |
( |
unsigned | sz, |
|
|
const void * | cont = 0 ) |
Constructor to be used by the HLT algorithms Else the mark_passing and is_passing won't work.
- Parameters
-
| sz | the size of container for which the bits storing decision for particular obj will be stored. |
| cont | pointer to the container, if given then the mark_passing will be performing additional check if the bits setting is about the same (desired initailly container) |
Definition at line 10 of file TrigPassBits.cxx.
◆ isPassing()
| bool TrigPassBits::isPassing |
( |
unsigned | position | ) |
const |
Check the bit value a the position.
- Warning
- The HLT code should be using helper of the same name defined below.
Definition at line 23 of file TrigPassBits.cxx.
23 {
25 throw std::runtime_error("When checking that object passed the trigger discovered to small bit storage");
26
28}
◆ markPassing()
| void TrigPassBits::markPassing |
( |
unsigned | position, |
|
|
const void * | cont = 0 ) |
Set the bit value a the position to true.
- Warning
- The HLT code should be using helper defined of the same name for each container type needed.
Definition at line 13 of file TrigPassBits.cxx.
13 {
15 throw std::runtime_error("When marking that object passed the trigger discovered that TrigPassBits was created for other container");
16
18 throw std::runtime_error("When marking that object passed the trigger discovered to small bit storage");
19
21}
◆ size()
| unsigned int TrigPassBits::size |
( |
| ) |
const |
|
inline |
◆ TrigPassBitsCnv_p1
◆ m_container_ptr
| const void* TrigPassBits::m_container_ptr |
|
private |
◆ m_decisions
| std::vector<bool> TrigPassBits::m_decisions |
|
private |
The documentation for this class was generated from the following files: