]> git.uio.no Git - u/mrichter/AliRoot.git/blame - T0/AliT0RecPoint.h
T0 Option needed for cosmic run reconstruction (Alla)
[u/mrichter/AliRoot.git] / T0 / AliT0RecPoint.h
CommitLineData
dc7ca31d 1#ifndef ALIT0RECPOINT_H
2#define ALIT0RECPOINT_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7#include <TObject.h>
8
9
10//___________________________________________
11class AliT0RecPoint: public TObject {
12////////////////////////////////////////////////////////////////////////
13 public:
14 AliT0RecPoint();
4fe1424e 15 AliT0RecPoint(const AliT0RecPoint &o);
16 AliT0RecPoint& operator= (const AliT0RecPoint &) { return *this;}
dc7ca31d 17 virtual ~AliT0RecPoint() {}
4fe1424e 18
19 const Int_t GetMeanTime() {return fTimeAverage;}
20 const Int_t GetBestTimeA() {return fTimeBestA ;}
21 const Int_t GetBestTimeC() {return fTimeBestC ;}
22 const Int_t GetMultC() {return fMultC;}
23 const Int_t GetMultA() {return fMultA;}
24 const Float_t GetVertex() {return fVertexPosition;}
dc7ca31d 25
26
27 void SetMeanTime(Int_t time) {fTimeAverage=time;}
c41ceaac 28 void SetTimeBestA( Int_t time) {fTimeBestA = time;}
29 void SetTimeBestC( Int_t time) {fTimeBestC = time;}
dc7ca31d 30 void SetVertex( Float_t vertex) {fVertexPosition= vertex;}
31 void SetMultC(Int_t mult) {fMultC = mult;}
32 void SetMultA(Int_t mult) {fMultA = mult;}
33
34 void SetTime (Int_t ipmt, Float_t time) { fTime[ipmt] = time;}
4fe1424e 35 const Float_t GetTime (Int_t ipmt) { return fTime[ipmt];}
36 void SetAmp (Int_t ipmt, Float_t adc) { fADC[ipmt] = adc;}
37 const Float_t GetAmp (Int_t ipmt) { return fADC[ipmt];}
38 void SetAmpLED (Int_t ipmt, Float_t adc) { fADCLED[ipmt] = adc;}
39 const Float_t AmpLED (Int_t ipmt) { return fADCLED[ipmt];}
dc7ca31d 40
41 private:
42 Int_t fTimeAverage; // Average time
c41ceaac 43 Float_t fVertexPosition; // Diffrence time between C and A
44 Int_t fTimeBestA; //TOF first particle on the A
45 Int_t fTimeBestC; //TOF first particle on the C
dc7ca31d 46 Int_t fMultC; // multiplicity on the
47 Int_t fMultA; // multiplicity on the
48
49 Float_t fTime[24]; // array's TDC
50 Float_t fADC[24]; // array's amplitude
51 Float_t fADCLED[24]; // array's LED amplitude
52
53
54 ClassDef(AliT0RecPoint,3) //Digit (Header) object for set:T0
55};
56
57typedef AliT0RecPoint AliSTARTRecPoint; // for backward compatibility
58
59#endif
60
61
62