Line data Source code
1 : #ifndef ALIEMCALTRIGGERELECTRONICS_H
2 : #define ALIEMCALTRIGGERELECTRONICS_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /*
7 : EMCal trigger electronics manager L0/L1
8 : can handle both simulated digits and raw data
9 : Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
10 : */
11 :
12 : #ifndef ROOT_TObject
13 : # include "TObject.h"
14 : #endif
15 : #include "TClonesArray.h"
16 :
17 : class AliRawReader;
18 : class AliEMCALTriggerDCSConfig;
19 : class AliEMCALTriggerData;
20 : class AliEMCALTriggerSTU;
21 : class AliESDVZERO;
22 : class AliEMCALTriggerTRU;
23 : class TTree;
24 : class AliEMCALGeometry;
25 :
26 : class AliEMCALTriggerElectronics : public TObject
27 : {
28 : public:
29 : AliEMCALTriggerElectronics(const AliEMCALTriggerDCSConfig* dcsConfig = 0x0); // ctor
30 : virtual ~AliEMCALTriggerElectronics(); // dtor
31 :
32 : virtual void Digits2Trigger(TClonesArray* digits, const Int_t V0M[], AliEMCALTriggerData* data);
33 : virtual void Reset();
34 :
35 0 : virtual AliEMCALTriggerTRU* GetTRU( Int_t iTRU ) {return (AliEMCALTriggerTRU*)fTRU->At(iTRU);}
36 0 : virtual AliEMCALTriggerSTU* GetSTU( ) {return fSTU; }
37 :
38 : private:
39 :
40 : AliEMCALTriggerElectronics(const AliEMCALTriggerElectronics& other); // Not implemented
41 : AliEMCALTriggerElectronics& operator=(const AliEMCALTriggerElectronics& other); // Not implemented
42 :
43 : TClonesArray* fTRU; // 32 TRU
44 : AliEMCALTriggerSTU* fSTU; // 1 STU
45 : AliEMCALGeometry *fGeometry; // EMCal geometry
46 :
47 2182 : ClassDef(AliEMCALTriggerElectronics,1)
48 : };
49 :
50 : #endif
|