]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSTriggerRawReader.h
modifications for 2011 Pb+Pb, clusters vs .phi
[u/mrichter/AliRoot.git] / PHOS / 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.
14 */
15class AliPHOSTriggerRawReader : public TObject
16{
17 public:
18 AliPHOSTriggerRawReader();
19 ~AliPHOSTriggerRawReader();
20
21 AliPHOSTRURawReader* GetTRU(Int_t mod, Int_t truRow, Int_t branch);
22
23 void ReadFromStream(AliCaloRawStreamV3* );
24 void Reset();
25
26 private:
27 // constants
28 const static Int_t kNMods = 5; // n. mods
29 const static Int_t kNTRURows = 4; // n. tru rows
30 const static Int_t kNBranches = 2; // n. branches
31
32 AliPHOSTRURawReader* fTRUs[kNMods][kNTRURows][kNBranches]; // TRU raw readers [mod][truRow][branch]
33
34
35 ClassDef(AliPHOSTriggerRawReader, 0)
36};
37
38#endif