New ITS code for new structure and simulations.
[u/mrichter/AliRoot.git] / ITS / AliITSetfSDD.h
CommitLineData
b0f5e3fc 1#ifndef ITSETFSDD_H
2#define ITSETFSDD_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6#include <TObject.h>
7
8class AliITSetfSDD : public TObject {
9
10////////////////////////////////////////////////////////////////////////
11// Version: 0
12// Written by Piergiorgio Cerello
13// November 24 1999
14//
15// AliITSetfSDD is the class describing the electronics for the ITS SDDs.
16//
17// Data members:
18//
19////////////////////////////////////////////////////////////////////////
20
21 private:
22
23 Double_t fSamplingTime; //
24 Double_t fT0; //
25 Double_t fDf; //
26 Double_t fA0; //
27 static const Int_t fMaxNofPoles = 5;
28 Double_t fZero_M[fMaxNofPoles]; //
29 Double_t fZero_R[fMaxNofPoles]; //
30 Double_t fZero_I[fMaxNofPoles]; //
31 Double_t fPole_M[fMaxNofPoles]; //
32 Double_t fPole_R[fMaxNofPoles]; //
33 Double_t fPole_I[fMaxNofPoles]; //
34 static const Int_t fMaxNofSamples = 256;
35 Double_t fTf_R[fMaxNofSamples]; // Transfer function (real part)
36 Double_t fTf_I[fMaxNofSamples]; // Transfer function (imaginary part)
37 Double_t fW_R[fMaxNofSamples]; // Fourier Weights (real part)
38 Double_t fW_I[fMaxNofSamples]; // Fourier Weights (imaginary part)
39
40 public:
41
42 AliITSetfSDD() {}; // default constructor
43 AliITSetfSDD(Double_t);
44 ~AliITSetfSDD() {;}
45 Double_t GetWeightReal(Int_t n) { return fW_R[n]; }
46 Double_t GetWeightImag(Int_t n) { return fW_I[n]; }
47 Double_t GetTraFunReal(Int_t n) { return fTf_R[n]; }
48 Double_t GetTraFunImag(Int_t n) { return fTf_I[n]; }
49 Int_t GetSamples() { return fMaxNofSamples; }
50 void Print(); // Print Electronics parameters
51
52 friend class AliITSmapSDD;
53 ClassDef(AliITSetfSDD,1) // Class for SDD electornics
54 };
55
56#endif
57
58