]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSTriggerRawDigit.h
fixing small memory leak
[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);
16 virtual ~AliPHOSTriggerRawDigit() {}
17
18 void Get4x4Position(Int_t& module, Int_t& xIdx, Int_t& zIdx, Int_t& TRURow, Int_t& branch)
19 {module = fMod; xIdx = fXIdx; zIdx = fZIdx; TRURow = fTRURow; branch = fBranch; }
20
21 void GetModXZ(Int_t& mod, Int_t& modX, Int_t& modZ);
22
23 private:
24
25 Int_t fMod; // module
26 Int_t fXIdx; // 4x4 X
27 Int_t fZIdx; // 4x4 Z
28 Int_t fTRURow; // TRU row
29 Int_t fBranch; // branch
30
31 ClassDef(AliPHOSTriggerRawDigit,1)
32};
33
34#endif