Line data Source code
1 : #ifndef ALIPHOSTRIGGERRAWREADER_H
2 : #define ALIPHOSTRIGGERRAWREADER_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 : /* $Id$ */
6 :
7 : #include "TObject.h"
8 :
9 : class AliCaloRawStreamV3;
10 : class AliPHOSTRURawReader;
11 :
12 : /*
13 : * Class for reading the Trigger Data Stream from Raw.
14 : * Author: Henrik Qvigstad (henrik.qvigstad@cern.ch)
15 : */
16 : class AliPHOSTriggerRawReader : public TObject
17 : {
18 : public:
19 : AliPHOSTriggerRawReader();
20 : ~AliPHOSTriggerRawReader();
21 :
22 : AliPHOSTRURawReader* GetTRU(Int_t mod, Int_t truRow, Int_t branch);
23 :
24 : void ReadFromStream(AliCaloRawStreamV3* );
25 : void Reset();
26 :
27 : private:
28 : AliPHOSTriggerRawReader(const AliPHOSTriggerRawReader&); // not implemented
29 : AliPHOSTriggerRawReader& operator= (const AliPHOSTriggerRawReader&); // not implemented
30 :
31 : private:
32 : // constants
33 : const static Int_t kNMods = 5; // n. mods
34 : const static Int_t kNTRURows = 4; // n. tru rows
35 : const static Int_t kNBranches = 2; // n. branches
36 :
37 : AliPHOSTRURawReader* fTRUs[kNMods][kNTRURows][kNBranches]; // TRU raw readers [mod][truRow][branch]
38 :
39 :
40 22 : ClassDef(AliPHOSTriggerRawReader, 0)
41 : };
42 :
43 : #endif
|