1 #ifndef ALITRDPARAMETER_H
2 #define ALITRDPARAMETER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ///////////////////////////////////////////////////////////////////////////////
10 // TRD parameter class //
12 ///////////////////////////////////////////////////////////////////////////////
20 class AliTRDparameter : public TNamed {
24 enum { kNplan = 6, kNcham = 5, kNsect = 18, kNdet = 540 };
27 AliTRDparameter(const Text_t* name, const Text_t* title);
28 AliTRDparameter(const AliTRDparameter &p);
29 virtual ~AliTRDparameter();
30 AliTRDparameter &operator=(const AliTRDparameter &p);
32 virtual void Copy(TObject &p) const;
34 virtual void ReInit();
36 virtual void SetExpandTimeBin(Int_t nbefore, Int_t nafter)
37 { fTimeBefore = nbefore;
38 fTimeAfter = nafter; };
42 Int_t GetTimeMax() const { return fTimeMax; };
43 Int_t GetTimeBefore() const { return fTimeBefore; };
45 Float_t GetDriftVelocity() const { return fDriftVelocity; };
50 void PrintDriftVelocity();
56 Int_t fTimeBefore; // Number of timebins before the drift region
57 Int_t fTimeAfter; // Number of timebins after the drift region
60 Float_t fDriftVelocity; // Drift velocity (cm / mus)
67 ClassDef(AliTRDparameter,7) // TRD parameter class