2 #ifndef ALIESDTZEROFRIEND_H
3 #define ALIESDTZEROFRIEND_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////////////////////
10 /// This is a class for containing time coorected by SPD vertex and amplitude
11 /// It is written to the ESD-friend file
13 ///////////////////////////////////////////////////////////////////////////////
17 class AliESDTZEROfriend: public TObject {
20 virtual ~AliESDTZEROfriend(){;}
22 AliESDTZEROfriend(const AliESDTZEROfriend& tzerofriend);
23 AliESDTZEROfriend& operator = (const AliESDTZEROfriend& tzerofriend);
25 virtual void Copy(TObject &obj) const;
30 Double32_t * GetT0timeCorr() {return fT0time;}
31 void SetT0timeCorr(Double32_t time[24]) {
32 for (Int_t i=0; i<24; i++) fT0time[i] = time[i];
35 Double32_t * GetT0ampQTC() {return fT0ampQTC;}
36 void SetT0ampQTC(Double32_t amp[24]) {
37 for (Int_t i=0; i<24; i++) fT0ampQTC[i] = amp[i];
40 Double32_t * GetT0ampLEDminCFD() {return fT0ampLEDminCFD;}
41 void SetT0ampLEDminCFD(Double32_t amp[24]) {
42 for (Int_t i=0; i<24; i++) fT0ampLEDminCFD[i] = amp[i];
47 Double32_t fT0time[24]; // best TOF on each T0 PMT
48 Double32_t fT0ampQTC[24]; // amp in #channels QTC on each T0 PMT
49 Double32_t fT0ampLEDminCFD[24]; // amp in #channels LED-CFD on each T0 PMT
51 ClassDef(AliESDTZEROfriend,1)