X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=ITS%2FAliITSetfSDD.h;h=7b814cdad1a3f22d6833301e8e4ea90a8d9ec044;hp=4f72ab6faaba336be14e2324d4dc2efb03434982;hb=cd90f0a2aa99f2e8fd64581c970b3d46b151f148;hpb=b9d0a01d7a0723a09071b0b56200d72f59a9c2b6 diff --git a/ITS/AliITSetfSDD.h b/ITS/AliITSetfSDD.h index 4f72ab6faab..7b814cdad1a 100644 --- a/ITS/AliITSetfSDD.h +++ b/ITS/AliITSetfSDD.h @@ -1,65 +1,69 @@ -#ifndef ITSETFSDD_H -#define ITSETFSDD_H +#ifndef ALIITSETFSDD_H +#define ALIITSETFSDD_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ -/* -$Log$ -Revision 1.5.10.1 2002/06/10 17:51:15 hristov -Merged with v3-08-02 -Revision 1.6 2002/04/24 22:02:31 nilsen -New SDigits and Digits routines, and related changes, (including new -noise values). +/* $Id$ */ +//////////////////////////////////////////////////////////////////////// +// Version: 0 // +// Written by Piergiorgio Cerello // +// November 24 1999 // +// // +// AliITSetfSDD is the class describing // +// the electronics for the ITS SDDs. // +//////////////////////////////////////////////////////////////////////// -*/ #include -static const Int_t kMaxNofPoles = 5; -static const Int_t kMaxNofSamples = 1024; class TString; class AliITSetfSDD : public TObject { -//////////////////////////////////////////////////////////////////////// -// Version: 0 -// Written by Piergiorgio Cerello -// November 24 1999 -// -// AliITSetfSDD is the class describing the electronics for the ITS SDDs. -// -//////////////////////////////////////////////////////////////////////// public: - AliITSetfSDD() {}; // default constructor - AliITSetfSDD(Double_t timestep, Int_t amplif); - ~AliITSetfSDD() {;} - Double_t GetWeightReal(Int_t n) { return fWR[n]; } - Double_t GetWeightImag(Int_t n) { return fWI[n]; } - Double_t GetTraFunReal(Int_t n) { return fTfR[n]; } - Double_t GetTraFunImag(Int_t n) { return fTfI[n]; } - Int_t GetSamples() { return kMaxNofSamples; } - Float_t GetTimeDelay() { return fTimeDelay; } - void PrintElectronics(); // Print Electronics parameters - + AliITSetfSDD(); // default constructor + AliITSetfSDD(Double_t timestep, Int_t amplif); + virtual ~AliITSetfSDD(); + Double_t GetWeightReal(Int_t n) const { return fWR[n]; } + Double_t GetWeightImag(Int_t n) const { return fWI[n]; } + Double_t GetTraFunReal(Int_t n) const { return fTfR[n]; } + Double_t GetTraFunImag(Int_t n) const { return fTfI[n]; } + Float_t GetTimeDelay() const { return fTimeDelay; } + void PrintElectronics() const; // Print Electronics parameters + class AliITSetfSDDparam { + public : + static Int_t NumberOfPoles() {return fgkMaxNofPoles;} + static Int_t NumberOfSamples(){return fgkMaxNofSamples;} + private: + static const Int_t fgkMaxNofPoles; // Set to 5 in impl. file + static const Int_t fgkMaxNofSamples; // Set to 1024 in impl. file + }; + static Int_t GetSamples() { return AliITSetfSDDparam::NumberOfSamples(); } protected: + // copy constructor (NO copy allowed: the constructor is protected + // to avoid misuse) + AliITSetfSDD(const AliITSetfSDD& obj); + // assignment operator (NO assignment allowed) + AliITSetfSDD& operator=(const AliITSetfSDD& /* obj */); + Float_t fTimeDelay; // Time delay caused by the amplifier shaping - Double_t fSamplingTime; // - Double_t fT0; // - Double_t fDf; // - Double_t fA0; // - Double_t fZeroM[kMaxNofPoles]; // - Double_t fZeroR[kMaxNofPoles]; // - Double_t fZeroI[kMaxNofPoles]; // - Double_t fPoleM[kMaxNofPoles]; // - Double_t fPoleR[kMaxNofPoles]; // - Double_t fPoleI[kMaxNofPoles]; // - Double_t fTfR[kMaxNofSamples]; // Transfer function (real part) - Double_t fTfI[kMaxNofSamples]; // Transfer function (imaginary part) - Double_t fWR[kMaxNofSamples]; // Fourier Weights (real part) - Double_t fWI[kMaxNofSamples]; // Fourier Weights (imaginary part) + Double_t fSamplingTime; // time step in ns + Double_t fT0; // T0 + Double_t fDf; // Frequency + Double_t fA0; // A0 + Double_t *fZeroM; // ZeroM + Double_t *fZeroR; // ZeroR + Double_t *fZeroI; // ZeroI + Double_t *fPoleM; // PoleM + Double_t *fPoleR; // PoleR + Double_t *fPoleI; // PoleI + Double_t *fTfR; // Transfer function (real part) + Double_t *fTfI; // Transfer function (imaginary part) + Double_t *fWR; // Fourier Weights (real part) + Double_t *fWI; // Fourier Weights (imaginary part) ClassDef(AliITSetfSDD,1) // Class for SDD electornics };