1 #ifndef ALIEMCALTRIGGERTRU_H
2 #define ALIEMCALTRIGGERTRU_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
12 #include <AliEMCALTriggerBoard.h>
14 class AliEMCALTriggerSTU;
16 class AliEMCALTriggerTRUDCSConfig;
18 class AliEMCALTriggerTRU : public AliEMCALTriggerBoard
23 AliEMCALTriggerTRU(AliEMCALTriggerTRUDCSConfig* dcsConf, const TVector2& rSize, Int_t mapType);
24 virtual ~AliEMCALTriggerTRU();
27 virtual void SetADC(Int_t channel, Int_t bin, Int_t sig );
28 virtual void SaveRegionADC(Int_t iTRU, Int_t iEvent);
30 virtual void ShowFastOR(Int_t timewindow, Int_t chan = -1);
31 virtual void GetL0Region(const int time, Int_t arr[][4]);
32 virtual Int_t GetL0Time() const {return fL0Time;}
35 AliEMCALTriggerTRU(const AliEMCALTriggerTRU& rhs);
36 AliEMCALTriggerTRU& operator=(const AliEMCALTriggerTRU& rhs);
38 AliEMCALTriggerTRUDCSConfig* fDCSConfig; // DCS config
40 Int_t fADC[96][256]; //! FIXME: Check the maximum number of samples
41 Int_t fL0Time; // Time when the L0 is issued
43 ClassDef(AliEMCALTriggerTRU,1)