StRoot
1
|
Class storing MTD trigger information including VPD, QT, MT101, TF201. More...
#include <StPicoMtdTrigger.h>
Public Member Functions | |
StPicoMtdTrigger () | |
Default constructor. | |
StPicoMtdTrigger (const StPicoMtdTrigger &trigger) | |
Copy constructor. | |
virtual | ~StPicoMtdTrigger () |
Destructor. | |
virtual void | Print (const Char_t *option="") const |
Print MTD trigger information. | |
UShort_t | getVpdTacSum () const |
VPD tag sum. | |
UShort_t | vpdTacSum () const |
VPD tag sum. | |
UInt_t | getTHUBtime (const Int_t thub) const |
UInt_t | thubTime (const Int_t thub) const |
UShort_t | getQTtacSum (const Int_t qt, const Int_t pos) const |
UShort_t | qtTacSum (const Int_t qt, const Int_t pos) const |
UShort_t | getMT101Tac (const Int_t qt, const Int_t index) const |
UShort_t | mt101Tac (const Int_t qt, const Int_t index) const |
UShort_t | getMT101Id (const Int_t qt, const Int_t index) const |
UShort_t | mt101Id (const Int_t qt, const Int_t index) const |
UInt_t | getTF201TriggerBit () const |
UInt_t | tf201TriggerBit () const |
void | getMaximumQTtac (const Int_t qt, Int_t &pos1, Int_t &pos2) |
Char_t | shouldHaveRejectEvent () |
void | setVpdTacSum (UShort_t tacSum) |
Set VPD TAC sum. | |
void | setVpdTacSum (UShort_t tdcHighThrEast, UShort_t tdcHighThrWest) |
Set VPD TAC sum. | |
void | setTHUBtime (Int_t thubID, UInt_t word) |
Set THUB time. | |
void | setShouldHaveRejectEvent (Int_t val) |
Set should have reject event (retrieve from mtdHeader) | |
void | setShouldHaveRejectEvent (Char_t val) |
Set should have reject event (retrieve from mtdHeader) | |
void | setQTtacSum (Int_t runnumber, UShort_t mtdQTadc[8][16], UShort_t mtdQTtac[8][16], const Int_t QTtoModule[8][8], const Int_t QTSlewBinEdge[8][16][8], const Int_t QTSlewCorr[8][16][8]) |
Set TAC sum (j2+j3) for each position in each QT board. | |
void | setMT101 (UShort_t mt101Tac[8][2], UShort_t mt101Id[8][2]) |
Set two largest TACsum for all QT boards. | |
void | setTF201TriggerBit (Int_t year, UInt_t dsmBit1, UInt_t dsmBit2) |
Set trigger bit in TCU that used for online trigger. | |
Static Protected Attributes | |
static const UShort_t | mtd_qt_tac_max = 4095 |
static const UShort_t | kNQTboard = 8 |
Class storing MTD trigger information including VPD, QT, MT101, TF201.
The class stores trigger information related to the Muon Telescope Detector (MTD)
Definition at line 15 of file StPicoMtdTrigger.h.
void StPicoMtdTrigger::getMaximumQTtac | ( | const Int_t | qt, |
Int_t & | pos1, | ||
Int_t & | pos2 | ||
) |
Return the position of the two largest TACsum for a given QT board
qt | QT board number running from 1-8 |
pos1 | position of the largest TACsum. Runs from 1-8 pos2 position of the second-largest TACsum. Runs from 1-8 |
Definition at line 159 of file StPicoMtdTrigger.cxx.
|
inline |
/brief Return the Id of largest and second-largest TACsum for a given QT. stored in MT101. It runs bewteen 0-3, and was intended to be used for Daq10k. It is not used in analysis.
qt | QT number running from 1-8 |
index | 0 - largest TACsum; 1 - second-largest TACsum |
Definition at line 65 of file StPicoMtdTrigger.h.
Referenced by mt101Id().
|
inline |
Return the largest and second-largest TACsum for a given QT stored in MT101
qt | QT board number running from 1-8 |
index | 0 - largest TACsum; 1 - second-largest TACsum |
Definition at line 53 of file StPicoMtdTrigger.h.
Referenced by mt101Tac().
|
inline |
Return the TACsum for a given position in a QT
qt | QT board nubmer running from 1-8 |
pos | position index in each QT board running from 1-8 |
Definition at line 44 of file StPicoMtdTrigger.h.
Referenced by qtTacSum().
|
inline |
Return TCU bit used in online trigger decision. Its format is modified from the one in MuDst
Definition at line 75 of file StPicoMtdTrigger.h.
Referenced by tf201TriggerBit().
|
inline |
Return trigger time from the two THUBs
thub | 2 for backlegs 1-15 and 1 for 16-30 |
Definition at line 37 of file StPicoMtdTrigger.h.
Referenced by thubTime().
|
inline |
/brief Return the Id of largest and second-largest TACsum for a given QT. stored in MT101. It runs bewteen 0-3, and was intended to be used for Daq10k. It is not used in analysis.
qt | QT number running from 1-8 |
index | 0 - largest TACsum; 1 - second-largest TACsum |
Definition at line 72 of file StPicoMtdTrigger.h.
References getMT101Id().
|
inline |
Return the largest and second-largest TACsum for a given QT stored in MT101
qt | QT board number running from 1-8 |
index | 0 - largest TACsum; 1 - second-largest TACsum |
Definition at line 58 of file StPicoMtdTrigger.h.
References getMT101Tac().
|
inline |
Return the TACsum for a given position in a QT
qt | QT board nubmer running from 1-8 |
pos | position index in each QT board running from 1-8 |
Definition at line 48 of file StPicoMtdTrigger.h.
References getQTtacSum().
|
inline |
Return TCU bit used in online trigger decision. Its format is modified from the one in MuDst
Definition at line 78 of file StPicoMtdTrigger.h.
References getTF201TriggerBit().
|
inline |
Return trigger time from the two THUBs
thub | 2 for backlegs 1-15 and 1 for 16-30 |
Definition at line 40 of file StPicoMtdTrigger.h.
References getTHUBtime().