From d443e5e99e1ba6fdf870e280c25d48067e792b17 Mon Sep 17 00:00:00 2001 From: hristov Date: Tue, 1 Feb 2011 14:34:21 +0000 Subject: [PATCH] Provide place where T0 group will store resolutions inside ESD data, in such a way this can be read, run by run, by analysis tasks reading ESDs without access to the OCDB. Pietro, Chiara --- STEER/AliESDRun.cxx | 36 ++++++++++++++++++++++++++++++++++++ STEER/AliESDRun.h | 14 +++++++++++--- 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/STEER/AliESDRun.cxx b/STEER/AliESDRun.cxx index ea42ff59e31..70f29c2ba2f 100644 --- a/STEER/AliESDRun.cxx +++ b/STEER/AliESDRun.cxx @@ -46,6 +46,7 @@ AliESDRun::AliESDRun() : fTriggerClasses(kNTriggerClasses), fDetInDAQ(0), fDetInReco(0) + { for (Int_t i=0; i<2; i++) fDiamondXY[i]=0.; fDiamondCovXY[0]=fDiamondCovXY[2]=3.*3.; @@ -54,6 +55,7 @@ AliESDRun::AliESDRun() : fMeanBeamInt[0][0]=fMeanBeamInt[0][1]=fMeanBeamInt[1][0]=fMeanBeamInt[1][1]=-1; for (Int_t m=0; m=0) && (i=0&&beam<2&&btp>=0&&btp<2) ? fMeanBeamInt[beam][btp]:0;} @@ -93,8 +95,13 @@ public: { if (beam>=0&&beam<2&&btp>=0&&btp<2) fMeanBeamInt[beam][btp]=v;} Double_t GetMeanIntensityIntecting(int beam) const {return GetMeanIntensity(beam,0);} Double_t GetMeanIntensityNonIntecting(int beam) const {return GetMeanIntensity(beam,1);} - // - private: + // + Float_t GetT0spread(Int_t i) const { + return ((i >= 0) && (i +Bz) Float_t fCurrentDip; // signed current in the Dipole (LHC convention: +current -> -Bx) Float_t fBeamEnergy; // beamEnergy entry from GRP @@ -113,8 +120,9 @@ public: UInt_t fDetInReco; // Detector mask for detectors in reconstruction TGeoHMatrix* fPHOSMatrix[kNPHOSMatrix]; //PHOS module position and orientation matrices TGeoHMatrix* fEMCALMatrix[kNEMCALMatrix]; //EMCAL supermodule position and orientation matrices + Float_t fT0spread[kT0spreadSize]; // spread of time distributions on T0A, T0C, (T0A+T0C)/2, (T0A-T0C)/2 - ClassDef(AliESDRun,9) + ClassDef(AliESDRun,10) }; #endif -- 2.43.5