change definition of TRU fitter, remove unneeded class dependencies
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerElectronics.h
CommitLineData
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/*
7EMCal trigger electronics manager L0/L1
8can handle both simulated digits and raw data
9Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
10*/
11
12#ifndef ROOT_TObject
13# include "TObject.h"
14#endif
15#include "TClonesArray.h"
16
17class AliRawReader;
fff39dd1 18class AliEMCALTriggerDCSConfig;
916f1e76 19class AliEMCALTriggerData;
20class AliEMCALTriggerSTU;
21class AliESDVZERO;
22class AliEMCALTriggerTRU;
79b05051 23class TTree;
88b52ece 24class AliEMCALGeometry;
916f1e76 25
26class AliEMCALTriggerElectronics : public TObject
27{
28public:
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
38private:
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