Updating limits to cope both with p-A and A-p ZDC timing
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTriggerRawDigit.h
CommitLineData
e1aec4f9 1#ifndef ALIPHOSTRIGGERRAWDIGIT_H
2#define ALIPHOSTRIGGERRAWDIGIT_H
3
4/* Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7#include "AliDigitNew.h"
8
9class AliPHOSTriggerRawDigit : public AliDigitNew
10{
11 public:
12
13 AliPHOSTriggerRawDigit();
14 AliPHOSTriggerRawDigit(Int_t module, Int_t xIdx, Int_t zIdx, Int_t TRURow, Int_t branch, Int_t amp);
15 AliPHOSTriggerRawDigit(const AliPHOSTriggerRawDigit & tdigit);
9e8a4ac0 16 AliPHOSTriggerRawDigit& operator=(const AliPHOSTriggerRawDigit & tdigit);
e1aec4f9 17 virtual ~AliPHOSTriggerRawDigit() {}
18
19 void Get4x4Position(Int_t& module, Int_t& xIdx, Int_t& zIdx, Int_t& TRURow, Int_t& branch)
20 {module = fMod; xIdx = fXIdx; zIdx = fZIdx; TRURow = fTRURow; branch = fBranch; }
21
22 void GetModXZ(Int_t& mod, Int_t& modX, Int_t& modZ);
23
24 private:
25
26 Int_t fMod; // module
27 Int_t fXIdx; // 4x4 X
28 Int_t fZIdx; // 4x4 Z
29 Int_t fTRURow; // TRU row
30 Int_t fBranch; // branch
31
32 ClassDef(AliPHOSTriggerRawDigit,1)
33};
34
35#endif