]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFTrigger.h
AddTask macro for fast embedding
[u/mrichter/AliRoot.git] / TOF / AliTOFTrigger.h
index 5cfcefb441c8479b8561444f374c7f5449c95b04..58866cd4a60ba76619031907759692ebdd6b7c3a 100644 (file)
@@ -36,8 +36,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 +63,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;};