/* $Id$ */
#include <TObject.h>
-class TArrayI;
+
//___________________________________________
class AliSTARTRecPoint: public TObject {
////////////////////////////////////////////////////////////////////////
public:
AliSTARTRecPoint();
- virtual ~AliSTARTRecPoint();
- void SetMeanTime(Int_t time) {fTimeAverage=time;}
+ virtual ~AliSTARTRecPoint() {}
Int_t GetMeanTime() {return fTimeAverage;}
Int_t GetBestTimeRight() {return fTimeBestRight ;}
Int_t GetBestTimeLeft() {return fTimeBestLeft ;}
+ Int_t GetMultC() {return fMultC;}
+ Int_t GetMultA() {return fMultA;}
+ Float_t GetVertex() {return fVertexPosition;}
+
+
+ void SetMeanTime(Int_t time) {fTimeAverage=time;}
void SetTimeBestRight( Int_t time) {fTimeBestRight = time;}
void SetTimeBestLeft( Int_t time) {fTimeBestLeft = time;}
- void SetTimeDifference( Int_t time) {fTimeDifference= time;}
- Int_t GetTimeDifference() {return fTimeDifference;}
- // void SetProcessKoef( Float_t pp) {fProcessKoef = pp;}
- virtual void SetTime (TArrayI &o);
- virtual void GetTime (TArrayI &o);
- virtual void SetADC (TArrayI &o);
- virtual void GetADC (TArrayI &o);
- virtual const char* GetName() const {return "START_V";}
+ void SetVertex( Float_t vertex) {fVertexPosition= vertex;}
+ void SetMultC(Int_t mult) {fMultC = mult;}
+ void SetMultA(Int_t mult) {fMultA = mult;}
+
+ void SetTime (Int_t ipmt, Float_t time) { fTime[ipmt] = time;}
+ Float_t GetTime (Int_t ipmt) { return fTime[ipmt];}
+ void SetAmp (Int_t ipmt, Float_t adc) { fADC[ipmt] = adc;}
+ Float_t GetAmp (Int_t ipmt) { return fADC[ipmt];}
+ void SetAmpLED (Int_t ipmt, Float_t adc) { fADCLED[ipmt] = adc;}
+ Float_t AmpLED (Int_t ipmt) { return fADCLED[ipmt];}
+
private:
- // Float_t fProcessKoef; // for pp fProcessKoef=1 ; for Pb-Pb - 0.001
Int_t fTimeAverage; // Average time
- Int_t fTimeDifference; // Diffrence time between left and right
+ Float_t fVertexPosition; // Diffrence time between left and right
Int_t fTimeBestRight; //TOF first particle on the right
Int_t fTimeBestLeft; //TOF first particle on the left
- TArrayI *fTime; // array's TDC in ns
- TArrayI *fADC; // array's ADC in number of photo electrons
+ Int_t fMultC; // multiplicity on the
+ Int_t fMultA; // multiplicity on the
+
+ Float_t fTime[24]; // array's TDC
+ Float_t fADC[24]; // array's amplitude
+ Float_t fADCLED[24]; // array's LED amplitude
+
- ClassDef(AliSTARTRecPoint,1) //Digit (Header) object for set:START
+ ClassDef(AliSTARTRecPoint,3) //Digit (Header) object for set:START
};