BunchCrossing-based L1phase time offset correction added
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerTRU.h
CommitLineData
916f1e76 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 */
5
6/*
7
8
9Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
10*/
11
12#include <AliEMCALTriggerBoard.h>
13
14class AliEMCALTriggerSTU;
15class AliEMCALDigit;
fff39dd1 16class AliEMCALTriggerTRUDCSConfig;
916f1e76 17
18class AliEMCALTriggerTRU : public AliEMCALTriggerBoard
19{
20public:
21
22 AliEMCALTriggerTRU();
fff39dd1 23 AliEMCALTriggerTRU(AliEMCALTriggerTRUDCSConfig* dcsConf, const TVector2& rSize, Int_t mapType);
916f1e76 24 virtual ~AliEMCALTriggerTRU();
25
fff39dd1 26 virtual Int_t L0();
916f1e76 27 virtual void SetADC(Int_t channel, Int_t bin, Int_t sig );
916f1e76 28 virtual void SaveRegionADC(Int_t iTRU, Int_t iEvent);
916f1e76 29 virtual void Reset();
916f1e76 30 virtual void ShowFastOR(Int_t timewindow, Int_t chan = -1);
31
32private:
33 AliEMCALTriggerTRU(const AliEMCALTriggerTRU& rhs);
34 AliEMCALTriggerTRU& operator=(const AliEMCALTriggerTRU& rhs);
35
fff39dd1 36 AliEMCALTriggerTRUDCSConfig* fDCSConfig;
37
916f1e76 38 Int_t fADC[96][256]; //! FIXME: Check the maximum number of samples
39
40 ClassDef(AliEMCALTriggerTRU,1)
41};
42
43#endif