diff --git a/TPC/TPCbase/AliTPCCalROC.h b/TPC/TPCbase/AliTPCCalROC.h index 08b09594313..651064fc9ea 100644 --- a/TPC/TPCbase/AliTPCCalROC.h +++ b/TPC/TPCbase/AliTPCCalROC.h @@ -10,6 +10,7 @@ #include #include #include "TLinearFitter.h" +#include class TH1F; class TH2F; @@ -35,8 +36,8 @@ class AliTPCCalROC : public TNamed { UInt_t GetNchannelsMedium() const { return (fSector<36)? 0: fkIndexes[64];}; Bool_t IsInRange(UInt_t row, UInt_t pad) { return (rowGetNPads(fSector,row):0;}; - Float_t GetValue(UInt_t row, UInt_t pad) const { return ( (rowGetValue(irow,ip); // get gain for given - pad-row pad Float_t noisePad = noiseROC->GetValue(irow,ip); - //protection for nan - if ( TMath::IsNaN(noisePad) ){ - noisePad=0.; - } - // q*=gain; q+=GetNoise()*noisePad;