From 571b05644e1fbd422141522a53df45da8234a6b4 Mon Sep 17 00:00:00 2001 From: hristov Date: Fri, 3 Jul 2009 15:43:48 +0000 Subject: [PATCH] Adding interaction time with reference point (Alla) --- STEER/AliESD.h | 7 +++++-- STEER/AliESDEvent.h | 2 ++ STEER/AliESDTZERO.h | 7 +++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/STEER/AliESD.h b/STEER/AliESD.h index c92aa446e98..255e68d868e 100644 --- a/STEER/AliESD.h +++ b/STEER/AliESD.h @@ -199,6 +199,8 @@ public: void SetT0zVertex(Float_t z) {fT0zVertex=z;} Float_t GetT0() const {return fT0timeStart;} void SetT0(Float_t timeStart) {fT0timeStart = timeStart;} + Float_t GetT0clock() const {return fT0clock;} + void SetT0clock(Float_t timeStart) {fT0clock = timeStart;} const Float_t * GetT0time() const {return fT0time;} void SetT0time(Float_t time[24]) { for (Int_t i=0; i<24; i++) fT0time[i] = time[i]; @@ -207,7 +209,7 @@ public: void SetT0amplitude(Float_t amp[24]) { for (Int_t i=0; i<24; i++) fT0amplitude[i] = amp[i]; } - + Float_t GetZDCN1Energy() const {return fZDCN1Energy;} Float_t GetZDCP1Energy() const {return fZDCP1Energy;} Float_t GetZDCN2Energy() const {return fZDCN2Energy;} @@ -272,6 +274,7 @@ protected: AliMultiplicity fSPDMult; // SPD tracklet multiplicity Float_t fT0timeStart; // interaction time estimated by the T0 + Float_t fT0clock; // interaction time with reference point(spectrum) Float_t fT0time[24]; // best TOF on each T0 PMT Float_t fT0amplitude[24]; // number of particles(MIPs) on each T0 PMT @@ -301,7 +304,7 @@ protected: TClonesArray fErrorLogs; // Raw-data reading error messages - ClassDef(AliESD,22) //ESD class + ClassDef(AliESD,23) //ESD class }; #endif diff --git a/STEER/AliESDEvent.h b/STEER/AliESDEvent.h index c15f9dda8b4..87e1994b6e0 100644 --- a/STEER/AliESDEvent.h +++ b/STEER/AliESDEvent.h @@ -171,6 +171,8 @@ public: void SetT0zVertex(Float_t z) {fESDTZERO->SetT0zVertex(z);} Double_t GetT0() const {return fESDTZERO->GetT0();} void SetT0(Float_t timeStart) {fESDTZERO->SetT0(timeStart);} + Float_t GetT0clock() const {return fESDTZERO->GetT0clock();} + void SetT0clock(Float_t timeStart) {fESDTZERO->SetT0clock(timeStart);} const Double_t * GetT0time() const {return fESDTZERO->GetT0time();} void SetT0time(Float_t time[24]) {fESDTZERO->SetT0time(time);} const Double_t * GetT0amplitude() const {return fESDTZERO->GetT0amplitude();} diff --git a/STEER/AliESDTZERO.h b/STEER/AliESDTZERO.h index f50c699a85b..154a1cdaca7 100644 --- a/STEER/AliESDTZERO.h +++ b/STEER/AliESDTZERO.h @@ -27,7 +27,9 @@ public: void SetT0zVertex(Double_t z) {fT0zVertex=z;} Double_t GetT0() const {return fT0timeStart;} void SetT0(Double_t timeStart) {fT0timeStart = timeStart;} - const Double_t * GetT0time() const {return fT0time;} + Float_t GetT0clock() const {return fT0clock;} + void SetT0clock(Float_t timeStart) {fT0clock = timeStart;} + const Double_t * GetT0time() const {return fT0time;} void SetT0time(Float_t time[24]) { for (Int_t i=0; i<24; i++) fT0time[i] = time[i]; } @@ -41,12 +43,13 @@ public: private: + Float_t fT0clock; // interaction time with reference point(spectrum) Double32_t fT0zVertex; // vertex z position estimated by the T0 Double32_t fT0timeStart; // interaction time estimated by the T0 Double32_t fT0time[24]; // best TOF on each T0 PMT Double32_t fT0amplitude[24]; // number of particles(MIPs) on each T0 PMT - ClassDef(AliESDTZERO,2) + ClassDef(AliESDTZERO,3) }; -- 2.43.0