]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFTrigger.h
bugfix: corrected calculation of slice and partition from track point Id
[u/mrichter/AliRoot.git] / TOF / AliTOFTrigger.h
index 5cfcefb441c8479b8561444f374c7f5449c95b04..a44d1849616985ec55c3bc5472444b679d0faee7 100644 (file)
@@ -13,6 +13,7 @@
 /////////////////////////////////////////////////
 
 #include "AliTriggerDetector.h"
+#include "AliLog.h"
 
 class AliTOFrawData;
 class AliTOFTriggerMask;
@@ -36,8 +37,10 @@ class AliTOFTrigger : public AliTriggerDetector
   Int_t  GetstripWindow() const {return fstripWindow;}
 
   void LoadActiveMask(); // Load active channel trigger mask
+  void GetMapMatrix(Bool_t map[][24]) const;
   void GetMap(Bool_t **map) const;
   //void PrintMap(); // to be checked because of warning problems
+  void GetTRDmapMatrix(Bool_t map[][8]) const;
   void GetTRDmap(Bool_t **map) const;
   Bool_t GetBit(Int_t nDDL, Int_t nTRM, Int_t iChain,Int_t iTDC, Int_t iCH);
   Bool_t GetBit(Int_t *detind);
@@ -61,6 +64,7 @@ class AliTOFTrigger : public AliTriggerDetector
                         else if(i==1) return fSel2;
                          else if(i==2) return fSel3;
                          else if(i==3) return fSel4;
+                        else { AliWarning(Form(" Index out of range: %d not in [0,3]",i)); return kFALSE; }
                        };
 
   Int_t GetNumberOfCrateOn(){return fNCrateOn;};