]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDTZEROfriend.h
Corrected raw->sdigits method. Using default altro raw-data reader class. Avoid alloc...
[u/mrichter/AliRoot.git] / STEER / AliESDTZEROfriend.h
1 // -*- mode: C++ -*- 
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                               */
6
7 ////////////////////////////////////////////////////////////////
8 ///////////////
9 ///
10 /// This is a class for containing time coorected by SPD vertex and amplitude
11 /// It is written to the ESD-friend file
12 ///
13 ///////////////////////////////////////////////////////////////////////////////
14
15 #include <TObject.h>
16
17 class AliESDTZEROfriend: public TObject {
18   public :
19     AliESDTZEROfriend();
20     virtual ~AliESDTZEROfriend(){;}
21
22     AliESDTZEROfriend(const AliESDTZEROfriend& tzerofriend);
23     AliESDTZEROfriend& operator = (const AliESDTZEROfriend& tzerofriend);
24
25     virtual void Copy(TObject &obj) const;
26     void Reset();
27
28 // Getters & setters 
29
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];
33   }
34   
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];
38   }
39
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];
43   }
44
45  private:
46
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
50
51   ClassDef(AliESDTZEROfriend,1)
52 };
53
54 #endif