![]() |
Belle II Software release-09-00-04
|
A general interface to get a trigger response. More...
#include <TrgBit.h>

Classes | |
| class | InputBitPattern |
| Input bit pattern class. More... | |
| class | OutputBitPattern |
| Output bit pattern class. More... | |
Public Member Functions | |
| TrgBit () | |
| Constructor. | |
| virtual | ~TrgBit () |
| Destructor. | |
| std::string | version (void) const |
| returns TrgBit version; | |
| unsigned | preScaleValue (output A) const |
| returns pre-scale value. | |
| unsigned | preScaleValue (unsigned i) const |
| void | printPreScaleValues (void) const |
| print prescale values | |
| void | printConf (void) const |
| print configuration values | |
| bool | isFired (output bitname) const |
| returns true if the psnm bit is fired. | |
| bool | isFired (const char *bitname) const |
| returns true if the input or psnm bit is fired. | |
| bool | isFired (input bitname) const |
| returns true if the bit is fired. | |
| bool | isFiredInput (unsigned ith_bit) const |
| bool | isFiredInput (input bitname) const |
| bool | isFiredInput (const char *bitname) const |
| bool | isFiredFtdl (unsigned ith_bit) const |
| bool | isFiredFtdl (output bitname) const |
| bool | isFiredFtdl (const char *bitname) const |
| bool | isFiredPsnm (unsigned ith_bit) const |
| bool | isFiredPsnm (output bitname) const |
| bool | isFiredPsnm (const char *bitname) const |
| unsigned | getNumOfInputs (void) |
| return number of used bits | |
| unsigned | getNumOfOutputs (void) |
| unsigned | getOutputBitNum (const char *bitname) const |
| returns bit number | |
| unsigned | getOutputBitNum (output a) |
| unsigned | getInputBitNum (const char *bitname) const |
| returns bit number | |
| unsigned | getInputBitNum (input a) |
| int | getBitNum (const char *bitname) const |
| returns bit number for the exprun, if >=0 it is input_bitnum if <0 it is -output_bitnum-1 | |
| bool | isFiredFilled (void) |
| Whether hit information is available or not. | |
| bool | isUsed (input a) const |
| Whether the bit exists for the run. | |
| bool | isUsed (output a) const |
| bool | isUsed (const char *bitname) const |
| const char * | getInputBitName (unsigned ith_bit) const |
| returns bit name | |
| const char * | getOutputBitName (unsigned ith_bit) const |
| TRGSummary::ETimingType | getTimingSource (void) const |
| returns timing source | |
| std::vector< unsigned > | getInputVector (void) |
| return hit information in vector | |
| std::vector< unsigned > | getFtdlVector (void) |
| std::vector< unsigned > | getPsnmVector (void) |
| std::string | versionFTDL (void) const |
| returns FTDL version; | |
Private Member Functions | |
| void | mapNumber (unsigned exp, unsigned run) |
Private Attributes | |
| unsigned | _exp |
| unsigned | _run |
| unsigned | nconf_psnm |
| unsigned | nconf_ftdl |
| unsigned | nconf_input |
| unsigned | n_input |
| unsigned | n_output |
| bool | _isFiredFilled |
| TRGSummary::ETimingType | timtype |
| InputBitPattern | _input |
| OutputBitPattern | _ftdl |
| OutputBitPattern | _psnm |
| std::vector< unsigned > | _itdVector |
| hit information in vector | |
| std::vector< unsigned > | _ftdVector |
| std::vector< unsigned > | _psnVector |
Static Private Attributes | |
| static const std::string | _ftdlVersion [2] |
| static const unsigned | _inputMap [N_INPUT_ARRAY][N_BITS_RESERVED] |
| static const unsigned | _outputMap [N_OUTPUT_ARRAY][N_BITS_RESERVED] |
| static const unsigned | _psnmValues [N_PSNM_ARRAY][N_BITS_RESERVED] |
| static const char * | _inputBitNames [N_BITS_RESERVED] |
| static const char * | _outputBitNames [N_BITS_RESERVED] |
| TrgBit | ( | void | ) |
Constructor.
Definition at line 26 of file TrgBit.cc.
| int getBitNum | ( | const char * | bitname | ) | const |
returns bit number for the exprun, if >=0 it is input_bitnum if <0 it is -output_bitnum-1
Definition at line 278 of file TrgBit.cc.
|
inline |
| const char * getInputBitName | ( | unsigned | ith_bit | ) | const |
| unsigned getInputBitNum | ( | const char * | bitname | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| const char * getOutputBitName | ( | unsigned | ith_bit | ) | const |
| unsigned getOutputBitNum | ( | const char * | bitname | ) | const |
|
inline |
|
inline |
| TRGSummary::ETimingType getTimingSource | ( | void | ) | const |
| bool isFired | ( | const char * | bitname | ) | const |
returns true if the input or psnm bit is fired.
Definition at line 70 of file TrgBit.cc.
| bool isFired | ( | input | bitname | ) | const |
returns true if the bit is fired.
Definition at line 86 of file TrgBit.cc.
| bool isFired | ( | output | bitname | ) | const |
returns true if the psnm bit is fired.
Definition at line 102 of file TrgBit.cc.
|
inline |
| bool isFiredFtdl | ( | const char * | bitname | ) | const |
| bool isFiredFtdl | ( | output | bitname | ) | const |
| bool isFiredFtdl | ( | unsigned | ith_bit | ) | const |
| bool isFiredInput | ( | const char * | bitname | ) | const |
| bool isFiredInput | ( | input | bitname | ) | const |
| bool isFiredInput | ( | unsigned | ith_bit | ) | const |
| bool isFiredPsnm | ( | const char * | bitname | ) | const |
| bool isFiredPsnm | ( | output | bitname | ) | const |
| bool isFiredPsnm | ( | unsigned | ith_bit | ) | const |
| bool isUsed | ( | const char * | bitname | ) | const |
| bool isUsed | ( | input | a | ) | const |
| bool isUsed | ( | output | a | ) | const |
|
private |
Definition at line 617 of file TrgBitData.cc.
| unsigned preScaleValue | ( | output | A | ) | const |
| unsigned preScaleValue | ( | unsigned | i | ) | const |
| void printConf | ( | void | ) | const |
| void printPreScaleValues | ( | void | ) | const |
print prescale values
Definition at line 257 of file TrgBit.cc.
| std::string version | ( | void | ) | const |
| std::string versionFTDL | ( | void | ) | const |
|
private |
|
staticprivate |
|
private |
|
staticprivate |
|
private |
|
staticprivate |
|
private |
|
private |