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 ///////////////////////////////////////////////////////////////////////////////
14 // WARNING: This class is obsolete. As soon as all function calls are replaced, the class will be removed.
22 class AliTRDparameter : public TNamed {
26 enum { kNplan = 6, kNcham = 5, kNsect = 18, kNdet = 540 };
29 AliTRDparameter(const Text_t* name, const Text_t* title);
30 AliTRDparameter(const AliTRDparameter &p);
31 virtual ~AliTRDparameter();
32 AliTRDparameter &operator=(const AliTRDparameter &p);
34 virtual void Copy(TObject &p) const;
36 virtual void ReInit();
38 virtual void SetExpandTimeBin(Int_t nbefore, Int_t nafter)
39 { fTimeBefore = nbefore;
40 fTimeAfter = nafter; };
44 Int_t GetTimeMax() const { return fTimeMax; };
45 Int_t GetTimeBefore() const { return fTimeBefore; };
47 Float_t GetDriftVelocity() const { return fDriftVelocity; };
52 void PrintDriftVelocity();
58 Int_t fTimeBefore; // Number of timebins before the drift region
59 Int_t fTimeAfter; // Number of timebins after the drift region
62 Float_t fDriftVelocity; // Drift velocity (cm / mus)
69 ClassDef(AliTRDparameter,7) // TRD parameter class