X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSSimParam.cxx;h=23ade6741cddaf517ee7ebf59072abb758177ddb;hb=be184d528589f8ffcdb3e4e515dba49624f90e99;hp=14684e09635ee7d5363d117cba7ded6d378ff711;hpb=c46b6a59fab2284ffaa2f7fd70326f5347bad6c0;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSSimParam.cxx b/PHOS/AliPHOSSimParam.cxx index 14684e09635..23ade6741cd 100644 --- a/PHOS/AliPHOSSimParam.cxx +++ b/PHOS/AliPHOSSimParam.cxx @@ -31,11 +31,12 @@ AliPHOSSimParam::AliPHOSSimParam() : fLightFactor(0.),fAPDFactor(0.), fAPDNoise(0.),fEMCDigitThreshold(0.), fEMCADCchannel(0.),fTOFa(0.),fTOFb(0.), + fCellNonLineaityA(0.),fCellNonLineaityB(1.),fCellNonLineaityC(1.), fEMCSubtractPedestals(kFALSE), fGlobalAltroOffset(0),fGlobalAltroThreshold(0),fEMCSampleQualityCut(0), fADCpedestalCpv(0.),fADCchanelCpv(0.), fCPVNoise(0.),fCPVDigitThreshold(0.),fNADCcpv(0), - fDigitizeE(0) + fDigitizeE(0),fCellNonLineaityOn(1) { //Default constructor. for(Int_t i=0; i<10; i++) fDStream[i] = 0 ; @@ -48,12 +49,13 @@ AliPHOSSimParam::AliPHOSSimParam(Int_t) : fLightFactor(0.),fAPDFactor(0.), fAPDNoise(0.),fEMCDigitThreshold(0.), fEMCADCchannel(0.),fTOFa(0.),fTOFb(0.), + fCellNonLineaityA(0.),fCellNonLineaityB(1.),fCellNonLineaityC(1.), fEMCSubtractPedestals(kFALSE), fGlobalAltroOffset(0),fGlobalAltroThreshold(0),fEMCSampleQualityCut(0), fADCpedestalCpv(0.),fADCchanelCpv(0.), fCPVNoise(0.),fCPVDigitThreshold(0.), fNADCcpv(0), - fDigitizeE(0) + fDigitizeE(0),fCellNonLineaityOn(1) { //Real (private) constructor //Set default parameters @@ -86,6 +88,12 @@ AliPHOSSimParam::AliPHOSSimParam(Int_t) : fEMCADCchannel = 0.005 ; // [GeV] fTOFa = 0.5e-9 ; // [sec] constant term fTOFb = 1.e-9 ; // [sec/sqrt(GeV)]] stohastic term +// fCellNonLineaityA = 0.18 ; //Amp of non-linearity of cell responce +// fCellNonLineaityB = 0.109; //Scale of non-linearity of cell responce +// fCellNonLineaityC = 0.976; //Overall calibration + fCellNonLineaityA = 0. ; //Amp of non-linearity of cell responce + fCellNonLineaityB = 0.109; //Scale of non-linearity of cell responce + fCellNonLineaityC = 1.; //Overall calibration fADCpedestalCpv = 0.012 ; // [aux units] fADCchanelCpv = 0.0012; // [aux units] @@ -111,11 +119,12 @@ AliPHOSSimParam::AliPHOSSimParam(const AliPHOSSimParam& ): fLightFactor(0.),fAPDFactor(0.), fAPDNoise(0.),fEMCDigitThreshold(0.), fEMCADCchannel(0.),fTOFa(0.),fTOFb(0.), + fCellNonLineaityA(0.),fCellNonLineaityB(1.),fCellNonLineaityC(1.), fEMCSubtractPedestals(kFALSE), fGlobalAltroOffset(0),fGlobalAltroThreshold(0),fEMCSampleQualityCut(1.), fADCpedestalCpv(0.),fADCchanelCpv(0.), fCPVNoise(0.),fCPVDigitThreshold(0.),fNADCcpv(0), - fDigitizeE(0) + fDigitizeE(0),fCellNonLineaityOn(1) { //Copy constructor. AliError("Should not use copy constructor for singleton") ;