X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSresponse.h;h=d89b68b523276873841a1da0f45d2c5c182faeec;hb=487a6bce55529069b0495f9d1fa561d59f6f3c70;hp=3593a230e7ed3e18802cded4c687ffc91b5951e6;hpb=be33dccb804ba6b0bc047c6ff860bc71f1afa3ef;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSresponse.h b/ITS/AliITSresponse.h index 3593a230e7e..d89b68b5232 100644 --- a/ITS/AliITSresponse.h +++ b/ITS/AliITSresponse.h @@ -3,9 +3,11 @@ #include -#include + #include "AliITSsegmentation.h" +class TF1; +class TString; class AliITSgeom; //---------------------------------------------- @@ -15,55 +17,68 @@ class AliITSgeom; class AliITSresponse : public TObject { public: + + + virtual ~AliITSresponse() {} // // Configuration methods // + // Set Electronics + virtual void SetElectronics(Int_t p1) {} + // Get Electronics + virtual Int_t Electronics() {return 0;} + // Set maximum Adc-count value virtual void SetMaxAdc(Float_t p1) {} // Get maximum Adc-count value virtual Float_t MaxAdc() {return 0.;} - // Set maximum Adc-magic value - virtual void SetMagicValue(Float_t p1) {} - // Get maximum Adc-magic value - virtual Float_t MagicValue() {return 0.0;} + // Set maximum Adc-top value + virtual void SetDynamicRange(Float_t p1) {} + // Get maximum Adc-top value + virtual Float_t DynamicRange() {return 0.0;} + + // Set Charge Loss Linear Coefficient + virtual void SetChargeLoss(Float_t p1) {} + // Get Charge Loss Linear Coefficient + virtual Float_t ChargeLoss() {return 0.0;} // Diffusion coefficient - virtual void SetDiffCoeff(Float_t) =0; - // Get diffusion coefficient - virtual Float_t DiffCoeff() =0; - virtual Float_t Qref() {return 0.;} + virtual void SetDiffCoeff(Float_t, Float_t) {} + // Get diffusion coefficients + virtual void DiffCoeff(Float_t &,Float_t &) {} // Temperature virtual void SetTemperature(Float_t) {} // Get temperature virtual Float_t Temperature() {return 0.;} // Type of data - real or simulated - virtual void SetDataType(char *data) =0; + virtual void SetDataType(const char *data) {} // Get data type - virtual char *DataType() =0; + virtual const char *DataType() const {return "";} - // parameters: "same" or read from "file" or "SetInvalid" or ... - virtual void SetParamOptions(Option_t *opt1, Option_t *opt2) {} - virtual void SetNoiseParam(Float_t, Float_t) {} - // gain, coupling ... + // Set parameters options: "same" or read from "file" or "SetInvalid" or ... + virtual void SetParamOptions(const char* opt1,const char* opt2) {} + // Set noise parameters + virtual void SetNoiseParam(Float_t, Float_t) {} // Number of parameters to be set virtual void SetNDetParam(Int_t) {} + // Set detector parameters: gain, coupling ... virtual void SetDetParam(Float_t *) {} // Parameters options - virtual void ParamOptions(Option_t *&, Option_t *&) {} + virtual void ParamOptions(char *,char*) {} virtual Int_t NDetParam() {return 0;} virtual void GetDetParam(Float_t *) {} virtual void GetNoiseParam(Float_t&, Float_t&) {} - // Zero-suppression option - could be 1D, 2D or non-ZS - virtual void SetZeroSupp(Option_t *opt) {} + // Zero-suppression option - could be 1D, 2D or non-ZeroSuppressed + virtual void SetZeroSupp(const char* opt) {} // Get zero-suppression option - virtual Option_t *ZeroSuppOption() {return "";} + virtual const char *ZeroSuppOption() const {return "";} // Set thresholds virtual void SetThresholds(Float_t, Float_t) {} virtual void Thresholds(Float_t &, Float_t &) {} @@ -72,13 +87,14 @@ public TObject { virtual Int_t MinVal() {return 0;}; // Set filenames - virtual void SetFilenames(char *,char *,char *) {} + virtual void SetFilenames(const char *f1,const char *f2,const char *f3) {} // Filenames - virtual void Filenames(const char *, const char *,const char *) {} + virtual void Filenames(char*,char*,char*) {} virtual Float_t DriftSpeed() {return 0.;} virtual Bool_t OutputOption() {return kFALSE;} + virtual Bool_t Do10to8() {return kTRUE;} virtual void GiveCompressParam(Int_t *x) {} // @@ -87,6 +103,12 @@ public TObject { virtual void SetNSigmaIntegration(Float_t p1) {} // Get number of sigmas over which cluster disintegration is performed virtual Float_t NSigmaIntegration() {return 0.;} + // Set number of bins for the gaussian lookup table + virtual void SetNLookUp(Int_t p1) {} + // Get number of bins for the gaussian lookup table + virtual Int_t GausNLookUp() {return 0;} + // Get scaling factor for bin i-th from the gaussian lookup table + virtual Float_t GausLookUp(Int_t) {return 0.;} // Set sigmas of the charge spread function virtual void SetSigmaSpread(Float_t p1, Float_t p2) {} // Get sigmas for the charge spread