Moving the functions used to initialize TF1 and TF2 to the pivate part of the class
[u/mrichter/AliRoot.git] / ITS / AliITSetfSDD.h
CommitLineData
ee523d3a 1#ifndef ALIITSETFSDD_H
2#define ALIITSETFSDD_H
b0f5e3fc 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
b9d0a01d 5
88cb7938 6/* $Id$ */
b9d0a01d 7
b0f5e3fc 8#include <TObject.h>
9
b669392e 10
11ad066f 11class TString;
12
b0f5e3fc 13class AliITSetfSDD : public TObject {
14
15////////////////////////////////////////////////////////////////////////
16// Version: 0
17// Written by Piergiorgio Cerello
18// November 24 1999
19//
20// AliITSetfSDD is the class describing the electronics for the ITS SDDs.
21//
b0f5e3fc 22////////////////////////////////////////////////////////////////////////
e8189707 23
24 public:
25
ee523d3a 26 AliITSetfSDD(); // default constructor
27 AliITSetfSDD(Double_t timestep, Int_t amplif);
28 virtual ~AliITSetfSDD();
29 Double_t GetWeightReal(Int_t n) const { return fWR[n]; }
30 Double_t GetWeightImag(Int_t n) const { return fWI[n]; }
31 Double_t GetTraFunReal(Int_t n) const { return fTfR[n]; }
32 Double_t GetTraFunImag(Int_t n) const { return fTfI[n]; }
33 Float_t GetTimeDelay() const { return fTimeDelay; }
34 void PrintElectronics() const; // Print Electronics parameters
35 class AliITSetfSDDparam {
36 public :
37 static Int_t NumberOfPoles() {return fgkMaxNofPoles;}
38 static Int_t NumberOfSamples(){return fgkMaxNofSamples;}
39 private:
40 static const Int_t fgkMaxNofPoles; // Set to 5 in impl. file
41 static const Int_t fgkMaxNofSamples; // Set to 1024 in impl. file
42 };
43 static Int_t GetSamples() { return AliITSetfSDDparam::NumberOfSamples(); }
48058160 44 protected:
e8189707 45
ee523d3a 46 // copy constructor (NO copy allowed: the constructor is protected
47 // to avoid misuse)
48 AliITSetfSDD(const AliITSetfSDD& obj);
49 // assignment operator (NO assignment allowed)
50 AliITSetfSDD& operator=(const AliITSetfSDD& /* obj */);
51
11ad066f 52 Float_t fTimeDelay; // Time delay caused by the amplifier shaping
ee523d3a 53 Double_t fSamplingTime; // time step in ns
54 Double_t fT0; // T0
55 Double_t fDf; // Frequency
56 Double_t fA0; // A0
57 Double_t *fZeroM; // ZeroM
58 Double_t *fZeroR; // ZeroR
59 Double_t *fZeroI; // ZeroI
60 Double_t *fPoleM; // PoleM
61 Double_t *fPoleR; // PoleR
62 Double_t *fPoleI; // PoleI
63 Double_t *fTfR; // Transfer function (real part)
64 Double_t *fTfI; // Transfer function (imaginary part)
65 Double_t *fWR; // Fourier Weights (real part)
66 Double_t *fWI; // Fourier Weights (imaginary part)
b0f5e3fc 67
b0f5e3fc 68 ClassDef(AliITSetfSDD,1) // Class for SDD electornics
69 };
70
71#endif
72
73