Transition to NewIO
[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 */
b9d0a01d 5
88cb7938 6/* $Id$ */
b9d0a01d 7
b0f5e3fc 8#include <TObject.h>
9
b669392e 10static const Int_t kMaxNofPoles = 5;
11static const Int_t kMaxNofSamples = 1024;
12
11ad066f 13class TString;
14
b0f5e3fc 15class AliITSetfSDD : public TObject {
16
17////////////////////////////////////////////////////////////////////////
18// Version: 0
19// Written by Piergiorgio Cerello
20// November 24 1999
21//
22// AliITSetfSDD is the class describing the electronics for the ITS SDDs.
23//
b0f5e3fc 24////////////////////////////////////////////////////////////////////////
e8189707 25
26 public:
27
28 AliITSetfSDD() {}; // default constructor
11ad066f 29 AliITSetfSDD(Double_t timestep, Int_t amplif);
e8189707 30 ~AliITSetfSDD() {;}
31 Double_t GetWeightReal(Int_t n) { return fWR[n]; }
32 Double_t GetWeightImag(Int_t n) { return fWI[n]; }
33 Double_t GetTraFunReal(Int_t n) { return fTfR[n]; }
34 Double_t GetTraFunImag(Int_t n) { return fTfI[n]; }
b669392e 35 Int_t GetSamples() { return kMaxNofSamples; }
11ad066f 36 Float_t GetTimeDelay() { return fTimeDelay; }
e8189707 37 void PrintElectronics(); // Print Electronics parameters
b0f5e3fc 38
48058160 39 protected:
e8189707 40
11ad066f 41 Float_t fTimeDelay; // Time delay caused by the amplifier shaping
b0f5e3fc 42 Double_t fSamplingTime; //
43 Double_t fT0; //
44 Double_t fDf; //
45 Double_t fA0; //
b669392e 46 Double_t fZeroM[kMaxNofPoles]; //
47 Double_t fZeroR[kMaxNofPoles]; //
48 Double_t fZeroI[kMaxNofPoles]; //
49 Double_t fPoleM[kMaxNofPoles]; //
50 Double_t fPoleR[kMaxNofPoles]; //
51 Double_t fPoleI[kMaxNofPoles]; //
52 Double_t fTfR[kMaxNofSamples]; // Transfer function (real part)
53 Double_t fTfI[kMaxNofSamples]; // Transfer function (imaginary part)
54 Double_t fWR[kMaxNofSamples]; // Fourier Weights (real part)
55 Double_t fWI[kMaxNofSamples]; // Fourier Weights (imaginary part)
b0f5e3fc 56
b0f5e3fc 57 ClassDef(AliITSetfSDD,1) // Class for SDD electornics
58 };
59
60#endif
61
62