PHOS - Fixing circular dependecies + initial DA files
[u/mrichter/AliRoot.git] / PHOS / PHOSbase / AliPHOSTriggerRawReader.h
CommitLineData
e1aec4f9 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
9class AliCaloRawStreamV3;
10class AliPHOSTRURawReader;
11
12/*
13 * Class for reading the Trigger Data Stream from Raw.
2a13951c 14 * Author: Henrik Qvigstad (henrik.qvigstad@cern.ch)
e1aec4f9 15 */
16class 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:
2a13951c 28 AliPHOSTriggerRawReader(const AliPHOSTriggerRawReader&); // not implemented
29 AliPHOSTriggerRawReader& operator= (const AliPHOSTriggerRawReader&); // not implemented
30
31 private:
e1aec4f9 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 ClassDef(AliPHOSTriggerRawReader, 0)
41};
42
43#endif