]>
Commit | Line | Data |
---|---|---|
d5ebf00e | 1 | // -*- mode: C++ -*- |
2 | #ifndef ALIESDTZERO_H | |
3 | #define ALIESDTZERO_H | |
4 | ||
5 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
6 | * See cxx source for full Copyright notice */ | |
7 | ||
8 | ||
9 | //------------------------------------------------------------------------- | |
10 | // Class AliESDTZERO | |
11 | // This is a class that summarizes the TZERO data for the ESD | |
12 | // Origin: Christian Klein-Boesing, CERN, Christian.Klein-Boesing@cern.ch | |
13 | //------------------------------------------------------------------------- | |
14 | ||
15 | ||
16 | ||
17 | #include <TObject.h> | |
18 | ||
19 | class AliESDTZERO: public TObject { | |
20 | public: | |
21 | AliESDTZERO(); | |
22 | AliESDTZERO(const AliESDTZERO& tzero); | |
23 | AliESDTZERO& operator=(const AliESDTZERO& tzero); | |
732a24fe | 24 | virtual void Copy(TObject &obj) const; |
d5ebf00e | 25 | |
694aad0c | 26 | Double_t GetT0zVertex() const {return fT0zVertex;} |
27 | void SetT0zVertex(Double_t z) {fT0zVertex=z;} | |
28 | Double_t GetT0() const {return fT0timeStart;} | |
29 | void SetT0(Double_t timeStart) {fT0timeStart = timeStart;} | |
571b0564 | 30 | Float_t GetT0clock() const {return fT0clock;} |
31 | void SetT0clock(Float_t timeStart) {fT0clock = timeStart;} | |
32 | const Double_t * GetT0time() const {return fT0time;} | |
d5ebf00e | 33 | void SetT0time(Float_t time[24]) { |
34 | for (Int_t i=0; i<24; i++) fT0time[i] = time[i]; | |
35 | } | |
694aad0c | 36 | const Double_t * GetT0amplitude() const {return fT0amplitude;} |
d5ebf00e | 37 | void SetT0amplitude(Float_t amp[24]) { |
38 | for (Int_t i=0; i<24; i++) fT0amplitude[i] = amp[i]; | |
39 | } | |
40 | ||
41 | void Reset(); | |
42 | void Print(const Option_t *opt=0) const; | |
43 | ||
44 | private: | |
45 | ||
571b0564 | 46 | Float_t fT0clock; // interaction time with reference point(spectrum) |
694aad0c | 47 | Double32_t fT0zVertex; // vertex z position estimated by the T0 |
48 | Double32_t fT0timeStart; // interaction time estimated by the T0 | |
49 | Double32_t fT0time[24]; // best TOF on each T0 PMT | |
50 | Double32_t fT0amplitude[24]; // number of particles(MIPs) on each T0 PMT | |
d5ebf00e | 51 | |
571b0564 | 52 | ClassDef(AliESDTZERO,3) |
d5ebf00e | 53 | }; |
54 | ||
55 | ||
56 | #endif |