]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDptrgParam.h
Coverity Fix.
[u/mrichter/AliRoot.git] / TRD / AliTRDptrgParam.h
index fbca0c5c0e26f5244859bcd6bc839510bb85c5ff..0b6cf3f62470877f2b82262b854cf32a51ff6ef4 100644 (file)
@@ -10,6 +10,9 @@
 // Singleton class to hold the parameters steering the PTRG 
 // 
 // --------------------------------------------------------
+
+class TArrayI;
+class TObjArray;
 #include "TObject.h"
 
   enum AliTRDptrgFEBType_t{ kUndefined = (Int_t)0, 
@@ -27,7 +30,7 @@ class AliTRDptrgParam : public TObject {
   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() {
@@ -37,6 +40,7 @@ class AliTRDptrgParam : public TObject {
       fCBC[1] = kFALSE;
       fLUTs[0] = kFALSE;
       fLUTs[1] = kFALSE;
+      fLUTs[2] = kFALSE;
       for (Int_t i = 0; i < 8; i++) {
         fTLMU[i] = kFALSE;
       } 
@@ -171,7 +175,6 @@ class AliTRDptrgParam : public TObject {
   // 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
@@ -180,7 +183,6 @@ class AliTRDptrgParam : public TObject {
   // 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)
@@ -192,27 +194,19 @@ class AliTRDptrgParam : public TObject {
   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