|
std::string | name (void) const |
| returns name.
|
|
std::string | version (void) const |
| returns version.
|
|
std::string | configFile (void) const |
| returns configuration file name.
|
|
unsigned | mode (void) const |
| returns simulation mode.
|
|
unsigned | mode (unsigned) |
| sets and returns simulation mode.
|
|
unsigned | firmwareSimulationMode (void) const |
| returns firmware simulation mode.
|
|
void | dump (const std::string &message) const |
| dumps debug information.
|
|
int | debugLevel (void) const |
| returns debug level.
|
|
int | debugLevel (int) const |
| sets and returns debug level.
|
|
void | clear (void) |
| clears all TRGGDL information.
|
|
void | fastClear (void) |
| clears TRGGDL information.
|
|
void | update (bool mcAnalysis=true) |
| updates TRGGDL information.
|
|
const TRGClock & | systemClock (void) const |
| returns the system clock.
|
|
double | systemOffsetMC (void) const |
| returns the system offset in MC.
|
|
bool | doprescale (int f) |
|
bool | isFiredFTDL (std::vector< bool > input, std::string alg) |
|
std::vector< bool > | getInpBits (void) |
|
std::vector< bool > | getFtdBits (void) |
|
std::vector< bool > | getPsnBits (void) |
|
|
| TRGGDL (const std::string &configFile, unsigned simulationMode, unsigned fastSimulationMode, unsigned firmwareSimulationMode, const std::string &Phase, bool algFromDB=true, const std::string &algFilePath="ftd.alg", int debugLevel=0) |
| Constructor.
|
|
virtual | ~TRGGDL () |
| Destructor.
|
|
void | initialize (void) |
| initializes GDL.
|
|
void | configure (void) |
| configures trigger modules for firmware simulation.
|
|
void | simulate (void) |
| fast trigger simulation.
|
|
void | terminate (void) |
| terminates when run is finished
|
|
void | updateMC (void) |
| updates TRGGDL information for MC.
|
|
void | fastSimulation (void) |
| Fast simulation.
|
|
void | firmwareSimulation (void) |
| Firmware simulation.
|
|
void | dataSimulation (void) |
| Data simulation.
|
|
void | getInput (std::ifstream &ifs) |
| Read input data definition.
|
|
void | getOutput (std::ifstream &ifs) |
| Read output data definition.
|
|
void | getAlgorithm (std::ifstream &ifs) |
| Read algorithm data definition.
|
|
void | accumulateInp (TH1I *) |
| Accumulate bit info in histogram.
|
|
void | accumulateFtd (TH1I *) |
| Accumulate bit info in histogram.
|
|
void | accumulatePsn (TH1I *) |
| Accumulate bit info in histogram.
|
|
bool | isFiredInput (int n) |
| Returns fired/not for input bits.
|
|
bool | isFiredFtdl (int n) |
| Returns fired/not for ftdl bits.
|
|
bool | isFiredPsnm (int n) |
| Returns fired/not for psnm bits.
|
|
int | getNbitsOup (void) |
|
int | getNbitsInp (void) |
|
The instance of TRGGDL is a singleton.
'TRGGDL::getTRGGDL()' gives you a pointer to access the TRGGDL. Geometrical information is initialized automatically. Before accessing hit information, user has to call 'update()' to initialize hit information event by event.
Definition at line 48 of file TRGGDL.h.