X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TPC%2FAliTPCRF1D.h;h=821df9093adea010b5f215e28ddbfab0c734e7f6;hb=88dee377a06d92de569aeae9645f9b01d45a0e47;hp=eef33b0677932d5658280893875cf01f6e2ba1d8;hpb=60baf4bb9b42769711933d0d6c244bba8d71cab7;p=u%2Fmrichter%2FAliRoot.git diff --git a/TPC/AliTPCRF1D.h b/TPC/AliTPCRF1D.h index eef33b06779..821df9093ad 100644 --- a/TPC/AliTPCRF1D.h +++ b/TPC/AliTPCRF1D.h @@ -1,15 +1,17 @@ -#ifndef AliTPCRF1D_H -#define AliTPCRF1D_H -//////////////////////////////////////////////// -// Manager class for AliTPCRF1D // +#ifndef ALITPCRF1D_H +#define ALITPCRF1D_H +/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * See cxx source for full Copyright notice */ + +/* $Id$ */ + //////////////////////////////////////////////// +// Manager class for AliTPCRF1D // +//////////////////////////////////////////////// // include files and class forward declarations -//DSTEP in cm -//NPRF in number of interpolation points -const Int_t NRF=100; -const Float_t RFDSTEP=0.01; + #include "TObject.h" #include "TMath.h" @@ -18,7 +20,9 @@ class TF1; class AliTPCRF1D : public TObject { public : - AliTPCRF1D(Bool_t direct=kFALSE,Int_t np=NRF,Float_t step=RFDSTEP ); + AliTPCRF1D(Bool_t direct=kFALSE,Int_t np=0,Float_t step=0 ); + AliTPCRF1D(const AliTPCRF1D &prf); + AliTPCRF1D & operator = (const AliTPCRF1D &prf); ~AliTPCRF1D(); Float_t GetRF(Float_t xin); //return RF in point xin Float_t GetGRF(Float_t xin); //return generic response function in xin @@ -34,12 +38,12 @@ public : //adjust RF with general function void SetOffset(Float_t xoff) {fOffset=xoff;} //set offset value + Float_t GetOffset(){return fOffset;} Float_t GetPadWidth(){ return fpadWidth;}; //return pad width Float_t GetSigma(){return fSigma;} //return estimated sigma of RF - void Draw(Option_t*) {} - void Draw(Float_t x1=-3 ,Float_t x2 =3.,Int_t N = 200); + void DrawRF(Float_t x1=-3 ,Float_t x2 =3.,Int_t N = 200); //draw RF it don't delete histograms after drawing /// it's on user !!!! void Update(); @@ -47,7 +51,7 @@ private: Double_t funParam[5];//parameters of used charge function Int_t fNRF; //number of interpolations point Float_t fDSTEPM1; //element step for point - Float_t* fcharge; // field with RF + Float_t* fcharge; //[fNPRF] field with RF Float_t forigsigma;//sigma of original distribution; Float_t fpadWidth; //width of pad Float_t fkNorm; //normalisation factor of the charge integral @@ -60,15 +64,16 @@ private: //calculated during update Bool_t fDirect; //tell us if we use directly generalfunction - Float_t fK3X; - Float_t fPadDistance; - //charge type - char fType[5]; + + Float_t fPadDistance; //pad to wire distance + char fType[5]; //type of the parametrisation + static Int_t fgNRF;//default number of interpolation points + static Float_t fgRFDSTEP;//default step in cm ClassDef(AliTPCRF1D,2) }; -#endif /* AliTPCRF1D_H */ +#endif /* ALITPCRF1D_H */