]> git.uio.no Git - u/mrichter/AliRoot.git/blame - START/AliSTARTRecPoint.h
preprocessor made by Tomasz and fully his responsibility
[u/mrichter/AliRoot.git] / START / AliSTARTRecPoint.h
CommitLineData
ee74718b 1#ifndef ALISTARTRECPOINT_H
2#define ALISTARTRECPOINT_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>
4c7da157 8
ee74718b 9
10//___________________________________________
11class AliSTARTRecPoint: public TObject {
12////////////////////////////////////////////////////////////////////////
13 public:
14 AliSTARTRecPoint();
db173afc 15 virtual ~AliSTARTRecPoint() {}
ee74718b 16 Int_t GetMeanTime() {return fTimeAverage;}
17 Int_t GetBestTimeRight() {return fTimeBestRight ;}
18 Int_t GetBestTimeLeft() {return fTimeBestLeft ;}
db173afc 19 Int_t GetMultC() {return fMultC;}
20 Int_t GetMultA() {return fMultA;}
db173afc 21 Float_t GetVertex() {return fVertexPosition;}
22
4c7da157 23
db173afc 24 void SetMeanTime(Int_t time) {fTimeAverage=time;}
ee74718b 25 void SetTimeBestRight( Int_t time) {fTimeBestRight = time;}
26 void SetTimeBestLeft( Int_t time) {fTimeBestLeft = time;}
db173afc 27 void SetVertex( Float_t vertex) {fVertexPosition= vertex;}
28 void SetMultC(Int_t mult) {fMultC = mult;}
29 void SetMultA(Int_t mult) {fMultA = mult;}
4c7da157 30
31 void SetTime (Int_t ipmt, Float_t time) { fTime[ipmt] = time;}
32 Float_t GetTime (Int_t ipmt) { return fTime[ipmt];}
33 void SetAmp (Int_t ipmt, Float_t adc) { fADC[ipmt] = adc;}
34 Float_t GetAmp (Int_t ipmt) { return fADC[ipmt];}
35 void SetAmpLED (Int_t ipmt, Float_t adc) { fADCLED[ipmt] = adc;}
36 Float_t AmpLED (Int_t ipmt) { return fADCLED[ipmt];}
db173afc 37
ee74718b 38 private:
ee74718b 39 Int_t fTimeAverage; // Average time
db173afc 40 Float_t fVertexPosition; // Diffrence time between left and right
ee74718b 41 Int_t fTimeBestRight; //TOF first particle on the right
42 Int_t fTimeBestLeft; //TOF first particle on the left
db173afc 43 Int_t fMultC; // multiplicity on the
44 Int_t fMultA; // multiplicity on the
db173afc 45
4c7da157 46 Float_t fTime[24]; // array's TDC
560a4e93 47 Float_t fADC[24]; // array's amplitude
48 Float_t fADCLED[24]; // array's LED amplitude
4c7da157 49
50
51 ClassDef(AliSTARTRecPoint,3) //Digit (Header) object for set:START
ee74718b 52};
53
54
55#endif
56
57
58