AliRoot Core  edcc906 (edcc906)
AliESDTZEROfriend.h
Go to the documentation of this file.
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 
14 
15 #include <TObject.h>
16 
17 class AliESDTZEROfriend: public TObject {
18  public :
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
Double32_t fT0ampQTC[24]
Double32_t * GetT0ampLEDminCFD()
virtual void Copy(TObject &obj) const
void SetT0timeCorr(Double32_t time[24])
virtual ~AliESDTZEROfriend()
AliESDTZEROfriend & operator=(const AliESDTZEROfriend &tzerofriend)
Double32_t fT0ampLEDminCFD[24]
void SetT0ampLEDminCFD(Double32_t amp[24])
void SetT0ampQTC(Double32_t amp[24])
Double32_t * GetT0timeCorr()
Double32_t fT0time[24]
Double32_t * GetT0ampQTC()