Int_t GetRawFormatThreshold() const { return fgThreshold ; }
Int_t GetRawFormatChannelsPerDDL() const { return fgChannelsPerDDL ; }
static Double_t RawResponseFunctionMax(Double_t charge, Double_t gain) ;
- Bool_t RawSampledResponse(const Double_t dtime, const Double_t damp, Int_t * adcH, Int_t * adcL) const ;
+ Bool_t RawSampledResponse(Double_t dtime, Double_t damp, Int_t * adcH, Int_t * adcL) const ;
//
virtual AliLoader* MakeLoader(const char* topfoldername);
virtual const TString Version() const {return TString(" ") ; }
};
void FillTRU(const TClonesArray * digits, TClonesArray * amptru, TClonesArray * timeRtru) ; //Fills Trigger Unit matrices with digit amplitudes and time
- void GetCellPhiEtaIndexInSModuleFromTRUIndex(const Int_t itru, const Int_t iphitru, const Int_t ietatru, Int_t &ietaSM, Int_t &iphiSM) const ; // Tranforms Eta-Phi Cell index in TRU into Eta-Phi index in Super Module
+ void GetCellPhiEtaIndexInSModuleFromTRUIndex(Int_t itru, Int_t iphitru, Int_t ietatru, Int_t &ietaSM, Int_t &iphiSM) const ; // Tranforms Eta-Phi Cell index in TRU into Eta-Phi index in Super Module
// Have to call GetTransformationForSM() before calculation global charachteristics
void GetGlobal(const Double_t *loc, Double_t *glob, int nsm) const;
max2[3] = (*ampmax2)(3,i) ; // corresponding most recent time
itru2 = i ;
}
- if(max4[4] < (*ampmax4)(0,i) ){
+ if(max4[0] < (*ampmax4)(0,i) ){
max4[0] = (*ampmax4)(0,i) ; // 4x4 summed max amplitude
max4[1] = (*ampmax4)(1,i) ; // corresponding phi position in TRU
max4[2] = (*ampmax4)(2,i) ; // corresponding eta position in TRU
default:
return 0;
} //end switch
+ return 0;
}
virtual void SetMapACell(Int_t i,Int_t j,Float_t dev) {fMapA[i][j]=dev;}
Float_t GetMapTCell(Int_t i,Int_t j) const {return fMapT[i][j];}
virtual void SetMapTCell(Int_t i,Int_t j,Float_t dev) {fMapT[i][j]=dev;}
- static const Int_t GetMapTimeNBin() {return fgkMapTimeNBin;}
+ static Int_t GetMapTimeNBin() {return fgkMapTimeNBin;}
virtual void SetElectronics(Int_t p1=1) {((AliITSresponseSDD*)fResponse)->SetElectronics(p1);}
virtual Int_t GetElectronics() const {return ((AliITSresponseSDD*)fResponse)->Electronics();}
max2[3] = (*ampmax2)(3,i) ; // corresponding most recent time
itru2 = i ; // TRU number
}
- if(max4[4] < (*ampmax4)(0,i) ){
+ if(max4[0] < (*ampmax4)(0,i) ){
max4[0] = (*ampmax4)(0,i) ; // 4x4 summed max amplitude
max4[1] = (*ampmax4)(1,i) ; // corresponding phi position in TRU
max4[2] = (*ampmax4)(2,i) ; // corresponding eta position in TRU
Int_t * GetADCValuesLowGainMax4x4Sum() {return fADCValuesLow4x4; }
Int_t * GetADCValuesHighGainMax4x4Sum() {return fADCValuesHigh4x4; }
- void GetCrystalPhiEtaIndexInModuleFromTRUIndex(const Int_t itru,const Int_t iphitru,const Int_t ietatru,Int_t &ietaMod,Int_t &iphiMod, const AliPHOSGeometry *geom) const ;
+ void GetCrystalPhiEtaIndexInModuleFromTRUIndex(Int_t itru, Int_t iphitru, Int_t ietatru,Int_t &ietaMod,Int_t &iphiMod, const AliPHOSGeometry *geom) const ;
Float_t GetL0Threshold() const {return fL0Threshold ; }
Float_t GetL1JetLowPtThreshold() const {return fL1JetLowPtThreshold ; }
void FillTRU(const TClonesArray * digits, const AliPHOSGeometry * geom, TClonesArray * amptru, TClonesArray * timeRtru) const ;
- void MakeSlidingCell(const TClonesArray * amptrus, const TClonesArray * timeRtrus, const Int_t mod, TMatrixD *ampmax2, TMatrixD *ampmax4, const AliPHOSGeometry *geom) ;
+ void MakeSlidingCell(const TClonesArray * amptrus, const TClonesArray * timeRtrus, Int_t mod, TMatrixD *ampmax2, TMatrixD *ampmax4, const AliPHOSGeometry *geom) ;
- void SetTriggers(const Int_t iMod, const TMatrixD *ampmax2,const TMatrixD *ampmax4, const AliPHOSGeometry *geom) ;
+ void SetTriggers(Int_t iMod, const TMatrixD *ampmax2,const TMatrixD *ampmax4, const AliPHOSGeometry *geom) ;
private:
void GetTRDpid(Double_t *p) const;
Float_t GetTRDsignal() const {return fTRDsignal;}
Float_t GetTRDsignals(Int_t iPlane, Int_t iSlice=-1) const { if (iSlice == -1)
- return (fTRDsignals[iPlane][0] + fTRDsignals[iPlane][1] + fTRDsignals[iPlane][3])/3.0;
+ return (fTRDsignals[iPlane][0] + fTRDsignals[iPlane][1] + fTRDsignals[iPlane][2])/3.0;
return fTRDsignals[iPlane][iSlice];
}
Int_t GetTRDTimBin(Int_t i) const {return fTRDTimBin[i];}
void Init();
- void SetTimeRange(const Int_t time1, const Int_t time2) { fTime1 = time1; fTime2 = time2; };
+ void SetTimeRange(Int_t time1, Int_t time2) { fTime1 = time1; fTime2 = time2; };
Int_t GetTime1() const { return fTime1; };
Int_t GetTime2() const { return fTime2; };
- void SetClusThr(const Float_t clth) { fClusThr = clth; };
- void SetPadThr(const Float_t path) { fPadThr = path; };
+ void SetClusThr(Float_t clth) { fClusThr = clth; };
+ void SetPadThr(Float_t path) { fPadThr = path; };
Float_t GetClusThr() const { return fClusThr; };
Float_t GetPadThr() const { return fPadThr; };
- void SetSum10(const Int_t sum) { fSum10 = sum; };
- void SetSum12(const Int_t sum) { fSum12 = sum; };
+ void SetSum10(Int_t sum) { fSum10 = sum; };
+ void SetSum12(Int_t sum) { fSum12 = sum; };
Int_t GetSum10() const { return fSum10; };
Int_t GetSum12() const { return fSum12; };
Int_t GetFilterType() const { return fFilterType; };
void GetFilterParam(Float_t &r1, Float_t &r2, Float_t &c1, Float_t &c2, Float_t &ped) const { r1 = fR1; r2 = fR2; c1 = fC1; c2 = fC2; ped = fPedestal; };
- void SetADCnoise(const Float_t adcn) { fADCnoise = adcn; };
+ void SetADCnoise(Float_t adcn) { fADCnoise = adcn; };
Float_t GetADCnoise() const { return fADCnoise; };
- void SetDebugLevel(const Int_t deb) { fDebug = deb; };
+ void SetDebugLevel(Int_t deb) { fDebug = deb; };
Int_t GetDebugLevel() const { return fDebug; };
void SetDeltaY(Float_t dy) { fDeltaY = dy; };