Possibility to not write syswatch info to file (default)
[u/mrichter/AliRoot.git] / STEER / ESD / AliESDFIT.h
CommitLineData
c1c44db3 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
20class AliESDFIT: public TObject {
21public:
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[160]) {
40 for (Int_t i=0; i<160; i++) fFITtime[i] = time[i];
41 }
42 const Float_t * GetFITamplitude() const {return fFITamplitude;}
43 void SetFITamplitude(Float_t amp[160]) {
44 for (Int_t i=0; i<160; i++) fFITamplitude[i] = amp[i];
45 }
46
47 void Reset();
48 void Print(const Option_t *opt=0) const;
49
50
51private:
52
53 Float_t fT0[3]; // interaction time in ps with 1st time( A&C, A, C)
54 Float_t fFITzVertex; // vertex z position estimated by the T0, cm
55 Float_t fFITtime[160]; // best TOF on each T0 PMT
56 Float_t fFITamplitude[160]; // number of particles(MIPs) on each T0 PMT
57 Float_t fT0best[3]; // interaction time in ps ( A&C, A, C) with best time
58
59 ClassDef(AliESDFIT,1)
60};
61
62
63#endif