3 #ifndef ALIHLTPHOSDIGIT_H
4 #define ALIHLTPHOSDIGIT_H
7 //#include "AliHLTPHOSAltroConfig.h"
8 #include "AliHLTPHOSBase.h"
10 //class AliHLTPHOSDigit : public TObject, public AliHLTPHOSAltroConfig
11 class AliHLTPHOSDigit : public TObject, public AliHLTPHOSBase
16 virtual ~AliHLTPHOSDigit();
18 void SetX(Int_t x) { fX = x; }
19 void SetZ(Int_t z) { fZ = z; }
22 void SetAmplitude(Float_t amp) { fAmplitude = amp; }
23 void SetTime(Float_t time) { fTime = time; }
24 void SetEnergy(Float_t energy) { fEnergy = energy; }
25 void SetGain(Int_t gain) { fGain = gain; }
27 void SetRawData(Int_t* rawData);
29 void SetCrazyness(Int_t crazyness) { fCrazyness = crazyness; }
30 void SetBaseline(Float_t baseline) { fBaseline = baseline; }
32 void SetSamples(Int_t samples) { fSamples = samples; }
33 void SetPreSamples(Int_t presamples) { fPreSamples = presamples; }
37 void SetDebugVar(Int_t val) { fDebugVar = val; }
39 Int_t GetX() { return fX; }
40 Int_t GetZ() { return fZ; }
41 Float_t GetAmplitude() { return fAmplitude; }
42 Float_t GetTime() { return fTime; }
43 Float_t GetEnergy() { return fEnergy; }
44 Int_t GetGain() { return fGain; }
46 Int_t* GetRawData() { return fData; }
48 Int_t GetCrazyness() {return fCrazyness; }
49 Float_t GetBaseline() { return fBaseline; }
51 Int_t GetSamples() { return fSamples; }
52 Int_t GetPreSamples() { return fPreSamples; }
53 Int_t GetTotalSamples(){ return fNTotalSamples;}
55 Int_t GetDebugVar() { return fDebugVar; }
62 Float_t fAmplitude; //comment
63 Float_t fTime; //comment
64 Float_t fEnergy; //comment
65 Int_t fGain; //comment
66 Int_t fSamples; //comment
67 Int_t fPreSamples; //comment
68 Int_t fTotalSamples; //comment
70 Int_t fDebugVar; //can be anything, not intended for use in analysis
72 Int_t *fData; //[fTotalSamples]
74 Int_t fCrazyness; //comment
75 Float_t fBaseline; //comment
77 ClassDef(AliHLTPHOSDigit, 1);