![]() |
Project
|
#include <TriggerMap.h>
Public Member Functions | |
TriggerMap ()=default | |
Constructor. | |
TriggerMap (int test) | |
Constructor for tests. | |
TriggerMap & | operator= (const TriggerMap &other)=default |
~TriggerMap ()=default | |
Destructor. | |
bool | isGood2x2 (short cellID) const |
tests if cell is in active trigger region | |
void | addBad2x2Channel (short cellID) |
Add bad triger cell to the container. | |
void | set2x2ChannelGood (short cellID) |
Mark trigger channel as good. | |
bool | isGood4x4 (short cellID) const |
tests if cell is in active trigger region | |
void | addBad4x4Channel (short cellID) |
Add bad triger cell to the container. | |
void | set4x4ChannelGood (short cellID) |
Mark trigger channel as good. | |
void | setTurnOnCurvesVestion (int v=0) |
bool | isFiredMC2x2 (float a, short iTRU, short ix, short iz) const |
random return true with probability to fire trigger | |
bool | isFiredMC4x4 (float a, short iTRU, short ix, short iz) const |
random return true with probability to fire trigger | |
bool | try2x2 (float a, short iTRU) const |
bool | try4x4 (float a, short iTRU) const |
void | addTurnOnCurvesParams (std::string_view versionName, std::array< std::array< float, 10 >, 14 > ¶ms) |
bool | selectTurnOnCurvesParams (std::string_view versionName) |
float | L0triggerProbability (float e, short ddl) const |
Definition at line 34 of file TriggerMap.h.
|
default |
Constructor.
TriggerMap::TriggerMap | ( | int | test | ) |
Constructor for tests.
Definition at line 24 of file TriggerMap.cxx.
|
default |
Destructor.
Add bad triger cell to the container.
cellID | Absolute ID of the bad channel |
Definition at line 55 of file TriggerMap.h.
Add bad triger cell to the container.
cellID | Absolute ID of the bad channel |
Definition at line 68 of file TriggerMap.h.
void TriggerMap::addTurnOnCurvesParams | ( | std::string_view | versionName, |
std::array< std::array< float, 10 >, 14 > & | params | ||
) |
Definition at line 42 of file TriggerMap.cxx.
random return true with probability to fire trigger
a | amplitude of trigger tile |
iTRU,ix,iz | coordinates of trigger tile |
Definition at line 96 of file TriggerMap.cxx.
random return true with probability to fire trigger
a | amplitude of trigger tile |
iTRU,ix,iz | coordinates of trigger tile |
Definition at line 104 of file TriggerMap.cxx.
|
inline |
tests if cell is in active trigger region
cellID | Absolute ID of cell |
Definition at line 51 of file TriggerMap.h.
|
inline |
tests if cell is in active trigger region
cellID | Absolute ID of cell |
Definition at line 64 of file TriggerMap.h.
float TriggerMap::L0triggerProbability | ( | float | e, |
short | ddl | ||
) | const |
Definition at line 82 of file TriggerMap.cxx.
|
default |
bool TriggerMap::selectTurnOnCurvesParams | ( | std::string_view | versionName | ) |
Definition at line 64 of file TriggerMap.cxx.
Mark trigger channel as good.
cellID | Absolute ID of the channel |
Definition at line 59 of file TriggerMap.h.
Mark trigger channel as good.
cellID | Absolute ID of the channel |
Definition at line 72 of file TriggerMap.h.
Definition at line 48 of file TriggerMap.cxx.
bool TriggerMap::try2x2 | ( | float | a, |
short | iTRU | ||
) | const |
Definition at line 111 of file TriggerMap.cxx.
bool TriggerMap::try4x4 | ( | float | a, |
short | iTRU | ||
) | const |
Definition at line 115 of file TriggerMap.cxx.