introduce the option to analyze with PROOF, plus cosmetics
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerRawDigitMaker.h
CommitLineData
de39a0ff 1#ifndef ALIEMCALTRIGGERRAWDIGITMAKER_H
2#define ALIEMCALTRIGGERRAWDIGITMAKER_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 <vector>
13#include <TObject.h>
14
15class AliEMCALGeometry;
16class AliRawReader;
17class AliCaloRawStreamV3;
18class AliEMCALTriggerSTURawStream;
19class AliCaloRawAnalyzerFakeALTRO;
20class AliCaloBunchInfo;
21class TClonesArray;
22class AliEMCALTriggerDCSConfigDB;
23class AliEMCALTriggerData;
24
25class AliEMCALTriggerRawDigitMaker : public TObject
26{
27
28public:
29 AliEMCALTriggerRawDigitMaker();
30 virtual ~AliEMCALTriggerRawDigitMaker();
31
32 virtual void SetIO(AliRawReader* reader, AliCaloRawStreamV3& in, AliEMCALTriggerSTURawStream& inSTU, TClonesArray* digits, AliEMCALTriggerData* data);
33 virtual void Add(const std::vector<AliCaloBunchInfo> &bunchlist);
34 virtual void PostProcess();
35 virtual void Reset();
36
37private:
38
39 AliEMCALTriggerRawDigitMaker(const AliEMCALTriggerRawDigitMaker& rhs); // NOT implemented
40 AliEMCALTriggerRawDigitMaker& operator=(const AliEMCALTriggerRawDigitMaker& rhs); // NOT implemented
41
42protected:
43
44 AliEMCALGeometry* fGeometry;
45 AliRawReader* fRawReader;
46 AliCaloRawStreamV3* fCaloRawStream;
47 AliEMCALTriggerSTURawStream* fSTURawStream;
48 TClonesArray* fRawDigits;
49 AliCaloRawAnalyzerFakeALTRO* fRawAnalyzer;
50 AliEMCALTriggerDCSConfigDB* fDCSConfig;
51 AliEMCALTriggerData* fTriggerData;
52
53 Int_t fRawDigitIndex[3072];
54
55 ClassDef(AliEMCALTriggerRawDigitMaker,1)
56};
57
58#endif