]>
Commit | Line | Data |
---|---|---|
916f1e76 | 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; | |
fff39dd1 | 18 | class AliEMCALTriggerDCSConfig; |
916f1e76 | 19 | class AliEMCALTriggerData; |
20 | class AliEMCALTriggerSTU; | |
21 | class AliESDVZERO; | |
22 | class AliEMCALTriggerTRU; | |
79b05051 | 23 | class TTree; |
88b52ece | 24 | class AliEMCALGeometry; |
916f1e76 | 25 | |
26 | class AliEMCALTriggerElectronics : public TObject | |
27 | { | |
28 | public: | |
fff39dd1 | 29 | AliEMCALTriggerElectronics(const AliEMCALTriggerDCSConfig* dcsConfig = 0x0); // ctor |
916f1e76 | 30 | virtual ~AliEMCALTriggerElectronics(); // dtor |
31 | ||
de39a0ff | 32 | virtual void Digits2Trigger(TClonesArray* digits, const Int_t V0M[], AliEMCALTriggerData* data); |
916f1e76 | 33 | virtual void Reset(); |
34 | ||
35 | virtual AliEMCALTriggerTRU* GetTRU( Int_t iTRU ) {return (AliEMCALTriggerTRU*)fTRU->At(iTRU);} | |
fff39dd1 | 36 | virtual AliEMCALTriggerSTU* GetSTU( ) {return fSTU; } |
916f1e76 | 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 | |
88b52ece | 45 | AliEMCALGeometry *fGeometry; // EMCal geometry |
46 | ||
916f1e76 | 47 | ClassDef(AliEMCALTriggerElectronics,1) |
48 | }; | |
49 | ||
50 | #endif |