]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDCalGlobals.h
Added a commented out version with new digitizers.
[u/mrichter/AliRoot.git] / TRD / AliTRDCalGlobals.h
1 #ifndef AliTRDCALGLOBALS_H
2 #define AliTRDCALGLOBALS_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 ///////////////////////////////////////////////////////////////////////////////
9 //                                                                           //
10 //  TRD calibration class for global TRD parameters        //
11 //                                                                           //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 #include "TNamed.h"
15
16 class AliTRDCalGlobals : public TNamed {
17   public:
18     AliTRDCalGlobals();
19     AliTRDCalGlobals(const Text_t* name, const Text_t* title);
20     virtual ~AliTRDCalGlobals() {};
21     
22     void SetSamplingFrequency(Float_t freq)                { fSamplingFrequency = freq; };
23     Float_t GetSamplingFrequency()                   const { return fSamplingFrequency; };
24     
25     void SetNumberOfTimeBins(Int_t value)     { fNumberOfTimeBins = value; };
26     Int_t GetNumberOfTimeBins()         const { return fNumberOfTimeBins; };
27   
28   protected:
29     Float_t fSamplingFrequency;                  // Sampling Frequency in MHz
30     Int_t fNumberOfTimeBins;                     // Number of timebins  
31     
32     void Init();
33     
34     ClassDef(AliTRDCalGlobals,1)                      //  TRD calibration class for global TRD parameters
35 };
36
37 #endif