// Singleton class to hold the parameters steering the PTRG
//
// --------------------------------------------------------
+
+class TArrayI;
+class TObjArray;
#include "TObject.h"
+
+
+class AliTRDptrgParam : public TObject {
+ public:
enum AliTRDptrgFEBType_t{ kUndefined = (Int_t)0,
kTZERO = (Int_t)1,
kVZERO = (Int_t)2 };
kC = (Int_t)2,
kUnknown = (Int_t)3 };
-
-class AliTRDptrgParam : public TObject {
- public:
struct AliTRDptrgPTmasks {
Bool_t fCBA[2]; // contribute CB-A look up results to pretrigger decision?
Bool_t fCBC[2]; // contribute CB-C look up results to pretrigger decision?
- Bool_t fLUTs[2]; // CB-B look up results contribution to pretrigger decision
+ Bool_t fLUTs[3]; // CB-B look up results contribution to pretrigger decision
Bool_t fTLMU[8]; // TLMU output signal contribution to pretrigger decisions
AliTRDptrgPTmasks() {
fCBC[1] = kFALSE;
fLUTs[0] = kFALSE;
fLUTs[1] = kFALSE;
+ fLUTs[2] = kFALSE;
for (Int_t i = 0; i < 8; i++) {
fTLMU[i] = kFALSE;
}
// T0 ------------------------------------------------------------------------
// [position][channel] 12 channels at A and C side
UInt_t** fFEBT0Thresholds; // threshold for analog value discrimination
- //UInt_t** fFEBT0Delays; // delay is not used in simulation right now //TODO
// [position][LUT][0 = threshold, 1 = bitmask] 2 LUTs at A and C side
UInt_t*** fFEBT0Multiplicities; // multiplicity threshold for T0
// V0 ------------------------------------------------------------------------
// [position][feb][channel] 4x8 channels per side (A and C)
UInt_t*** fFEBV0Thresholds; // threshold for analog value discrimation
- //UInt_t** fFEBV0Delays; // delay is not used in simulation right now //TODO
// [position][feb][LUT][0 = threshold, 1 = bitmask] 2 LUTs per FEB
// (4 per Side) at each side ( A and C)
Int_t*** fCBLUTs; // control box look up tables
// CB-A ----------------------------------------------------------------------
- TString fCBALUTequX; // logical equation used for generation of LUT X of CB-A
- TString fCBALUTequY; // logical equation used for generation of LUT Y of CB-A
+ TString fCBALUTequ[2]; // logical equations used for LUT generation for CB-A
// CB-C ----------------------------------------------------------------------
- TString fCBCLUTequX; // logical equation used for generation of LUT X of CB-C
- TString fCBCLUTequY; // logical equation used for generation of LUT Y of CB-C
+ TString fCBCLUTequ[2]; // logical equations used for LUT generation for CB-C
// CBB -----------------------------------------------------------------------
- TString fCBBLUTequX; // logical equation used for generation of LUT X of CB-B
- TString fCBBLUTequY; // logical equation used for generation of LUT Y of CB-B
+ TString fCBBLUTequ[3]; // logical equations used for LUT generation for CB-B
// CTP -----------------------------------------------------------------------
// PT mask
AliTRDptrgPTmasks fPTmasks;
// masks usage of internal signals for the pretrigger wake up signal
-
- // CBB-LUT to TriggerInput assignment
-
- // class state ---------------------------------------------------------------
-
private:
AliTRDptrgParam(); // instance only via Instance()
AliTRDptrgParam(const AliTRDptrgParam &rhs); // not implemented