2 /**************************************************************************
3 * This file is property of and copyright by the ALICE HLT Project *
4 * All rights reserved. *
6 * Primary Authors: Oystein Djuvsland *
8 * Permission to use, copy, modify and distribute this software and its *
9 * documentation strictly for non-commercial purposes is hereby granted *
10 * without fee, provided that the above copyright notice appears in all *
11 * copies and that both the copyright notice and this permission notice *
12 * appear in the supporting documentation. The authors make no claims *
13 * about the suitability of this software for any purpose. It is *
14 * provided "as is" without express or implied warranty. *
15 **************************************************************************/
17 #ifndef ALIHLTPHOSBASELINE_H
18 #define ALIHLTPHOSBASELINE_H
21 #include "AliHLTPHOSConstants.h"
23 using namespace PhosHLTConst;
26 @author Øystein Djuvsland <oystein.djuvsland@gmail.com>
28 class AliHLTPHOSBaseline : public TObject
39 virtual ~AliHLTPHOSBaseline();
45 void SetBaseline(Float_t baseline) { fBaseline = baseline; }
46 void SetX(Int_t x) { fX = x; }
47 void SetZ(Int_t z) { fZ = z; }
48 void SetGain(Int_t gain) { fGain = gain; }
49 void SetEntries(Int_t /*entries*/) { fEntries = 0; } //TODO: should we not set fEntries to entries? is this a bug?
51 Float_t GetBaseline() { return fBaseline; }
52 Int_t GetX() { return fX; }
53 Int_t GetZ() { return fZ; }
54 Int_t GetGain() { return fGain; }
55 Int_t GetEntries() { return fEntries; }
65 ClassDef(AliHLTPHOSBaseline, 1);