]> git.uio.no Git - u/mrichter/AliRoot.git/blob - START/AliSTARTRecPoint.h
Replacing array of objects by array of pointers
[u/mrichter/AliRoot.git] / START / AliSTARTRecPoint.h
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>
8 class TArrayI;
9
10 //___________________________________________
11 class AliSTARTRecPoint: public TObject  {
12 ////////////////////////////////////////////////////////////////////////
13  public:
14     AliSTARTRecPoint();
15     virtual ~AliSTARTRecPoint() {}
16     Int_t  GetMeanTime() {return fTimeAverage;}
17     Int_t  GetBestTimeRight() {return fTimeBestRight ;}
18     Int_t  GetBestTimeLeft() {return fTimeBestLeft ;}
19     Int_t GetMultC() {return fMultC;}
20     Int_t GetMultA() {return fMultA;}
21     Int_t GetMult() {return fMult;}
22     Float_t  GetVertex() {return fVertexPosition;}
23
24     void SetMeanTime(Int_t time) {fTimeAverage=time;}
25     void SetTimeBestRight( Int_t time) {fTimeBestRight = time;}
26     void SetTimeBestLeft( Int_t time) {fTimeBestLeft = time;}
27     void SetVertex( Float_t vertex) {fVertexPosition= vertex;}
28     void SetMultC(Int_t mult) {fMultC = mult;}
29     void SetMultA(Int_t mult) {fMultA = mult;}
30     void SetMult(Int_t mult) {fMult = mult;}
31
32   private: 
33     //    Float_t fProcessKoef;  // for pp fProcessKoef=1 ; for Pb-Pb - 0.001
34     Int_t fTimeAverage;     // Average time
35     Float_t fVertexPosition;     // Diffrence time between left and right
36     Int_t fTimeBestRight;   //TOF first particle on the right
37     Int_t fTimeBestLeft;    //TOF first particle on the left
38     Int_t fMultC; // multiplicity on the 
39     Int_t fMultA; // multiplicity on the 
40     Int_t fMult; // multiplicity A && C 
41  
42     ClassDef(AliSTARTRecPoint,2)  //Digit (Header) object for set:START
43 };
44
45
46 #endif
47
48
49