AliRoot Core  3dc7879 (3dc7879)
AliESDFIT.h
Go to the documentation of this file.
1 
2 // -*- mode: C++ -*-
3 #ifndef ALIESDFIT_H
4 #define ALIESDFIT_H
5 
6 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
7  * See cxx source for full Copyright notice */
8 
9 
10 //-------------------------------------------------------------------------
11 // Class AliESDFIT
12 // This is a class that summarizes the FIT data for the ESD
13 // Origin: Christian Klein-Boesing, CERN, Christian.Klein-Boesing@cern.ch
14 //-------------------------------------------------------------------------
15 
16 
17 
18 #include <TObject.h>
19 
20 class AliESDFIT: public TObject {
21 public:
22  AliESDFIT();
23  AliESDFIT(const AliESDFIT& tzero);
24  AliESDFIT& operator=(const AliESDFIT& tzero);
25  virtual void Copy(TObject &obj) const;
26 
27  Float_t GetFITzVertex() const {return fFITzVertex;}
28  void SetFITzVertex(Float_t z) {fFITzVertex=z;}
29  //1st
30  Float_t GetFITT0(Int_t i) const {return fT0[i];}
31  const Float_t * GetFITT0() const {return fT0;}
32  void SetFITT0(Int_t icase, Float_t time) { fT0[icase] = time;}
33  //best
34  Float_t GetT0best(Int_t i) const {return fT0best[i];}
35  const Float_t * GetT0best() const {return fT0best;}
36  void SetT0best(Int_t icase, Float_t time) { fT0best[icase] = time;}
37 
38  const Float_t * GetFITtime() const {return fFITtime;}
39  void SetFITtime(Float_t time[288]) {
40  for (Int_t i=0; i<288; i++) fFITtime[i] = time[i];
41  }
42  const Float_t * GetFITamplitude() const {return fFITamplitude;}
43  void SetFITamplitude(Float_t amp[288]) {
44  for (Int_t i=0; i<288; i++) fFITamplitude[i] = amp[i];
45  }
46  const Float_t * GetFITphotons() const {return fFITphotons;}
47  void SetFITphotons(Float_t amp[288]) {
48  for (Int_t i=0; i<288; i++) fFITphotons[i] = amp[i];
49  }
50 
51  void Reset();
52  void Print(const Option_t *opt=0) const;
53 
54 
55 private:
56 
57  Float_t fT0[3]; // interaction time in ps with 1st time( A&C, A, C)
58  Float_t fFITzVertex; // vertex z position estimated by the T0, cm
59  Float_t fFITtime[288]; // best TOF on each T0 PMT
60  Float_t fFITamplitude[288]; // number of particles(MIPs) on each T0 PMT
61  Float_t fFITphotons[288]; // number of particles(MIPs) on each T0 PMT
62  Float_t fT0best[3]; // interaction time in ps ( A&C, A, C) with best time
63 
64  ClassDef(AliESDFIT,3)
65 };
66 
67 
68 #endif
AliESDFIT & operator=(const AliESDFIT &tzero)
Definition: AliESDFIT.cxx:65
const Float_t * GetFITamplitude() const
Definition: AliESDFIT.h:42
void SetT0best(Int_t icase, Float_t time)
Definition: AliESDFIT.h:36
const Float_t * GetFITT0() const
Definition: AliESDFIT.h:31
Float_t fT0best[3]
Definition: AliESDFIT.h:62
void SetFITphotons(Float_t amp[288])
Definition: AliESDFIT.h:47
void Reset()
Definition: AliESDFIT.cxx:101
Float_t fFITphotons[288]
Definition: AliESDFIT.h:61
void SetFITT0(Int_t icase, Float_t time)
Definition: AliESDFIT.h:32
const Float_t * GetT0best() const
Definition: AliESDFIT.h:35
void SetFITamplitude(Float_t amp[288])
Definition: AliESDFIT.h:43
virtual void Copy(TObject &obj) const
Definition: AliESDFIT.cxx:86
Float_t fFITamplitude[288]
Definition: AliESDFIT.h:60
Float_t GetFITT0(Int_t i) const
Definition: AliESDFIT.h:30
const Float_t * GetFITtime() const
Definition: AliESDFIT.h:38
Float_t fFITtime[288]
Definition: AliESDFIT.h:59
Float_t fFITzVertex
Definition: AliESDFIT.h:58
Float_t fT0[3]
Definition: AliESDFIT.h:57
Float_t GetFITzVertex() const
Definition: AliESDFIT.h:27
void SetFITtime(Float_t time[288])
Definition: AliESDFIT.h:39
void SetFITzVertex(Float_t z)
Definition: AliESDFIT.h:28
Float_t GetT0best(Int_t i) const
Definition: AliESDFIT.h:34
void Print(const Option_t *opt=0) const
Definition: AliESDFIT.cxx:116
const Float_t * GetFITphotons() const
Definition: AliESDFIT.h:46