]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSetfSDD.h
Faster simulation algorithm for SDD
[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
b669392e 8static const Int_t kMaxNofPoles = 5;
9static const Int_t kMaxNofSamples = 1024;
10
b0f5e3fc 11class AliITSetfSDD : public TObject {
12
13////////////////////////////////////////////////////////////////////////
14// Version: 0
15// Written by Piergiorgio Cerello
16// November 24 1999
17//
18// AliITSetfSDD is the class describing the electronics for the ITS SDDs.
19//
b0f5e3fc 20////////////////////////////////////////////////////////////////////////
e8189707 21
22 public:
23
24 AliITSetfSDD() {}; // default constructor
25 AliITSetfSDD(Double_t timestep);
26 ~AliITSetfSDD() {;}
27 Double_t GetWeightReal(Int_t n) { return fWR[n]; }
28 Double_t GetWeightImag(Int_t n) { return fWI[n]; }
29 Double_t GetTraFunReal(Int_t n) { return fTfR[n]; }
30 Double_t GetTraFunImag(Int_t n) { return fTfI[n]; }
b669392e 31 Int_t GetSamples() { return kMaxNofSamples; }
e8189707 32 void PrintElectronics(); // Print Electronics parameters
b0f5e3fc 33
34 private:
e8189707 35
b0f5e3fc 36
37 Double_t fSamplingTime; //
38 Double_t fT0; //
39 Double_t fDf; //
40 Double_t fA0; //
b669392e 41 Double_t fZeroM[kMaxNofPoles]; //
42 Double_t fZeroR[kMaxNofPoles]; //
43 Double_t fZeroI[kMaxNofPoles]; //
44 Double_t fPoleM[kMaxNofPoles]; //
45 Double_t fPoleR[kMaxNofPoles]; //
46 Double_t fPoleI[kMaxNofPoles]; //
47 Double_t fTfR[kMaxNofSamples]; // Transfer function (real part)
48 Double_t fTfI[kMaxNofSamples]; // Transfer function (imaginary part)
49 Double_t fWR[kMaxNofSamples]; // Fourier Weights (real part)
50 Double_t fWI[kMaxNofSamples]; // Fourier Weights (imaginary part)
b0f5e3fc 51
b0f5e3fc 52 ClassDef(AliITSetfSDD,1) // Class for SDD electornics
53 };
54
55#endif
56
57