ClassImp(AliTPCParamCR)
-const static Int_t kMaxRows=600;
-const static Float_t kEdgeSectorSpace = 2.5;
+static const Int_t kMaxRows=600;
+static const Float_t kEdgeSectorSpace = 2.5;
AliTPCParamCR::AliTPCParamCR()
+ :AliTPCParam(),
+ fInnerPRF(0),
+ fOuter1PRF(0),
+ fOuter2PRF(0),
+ fTimeRF(0),
+ fFacSigma(0.)
{
//
//constructor set the default parameters
- fInnerPRF=0;
- fOuter1PRF=0;
- fOuter2PRF=0;
- fTimeRF = 0;
+
fFacSigma = Float_t(2.);
SetDefault();
Update();
}
-
+AliTPCParamCR::AliTPCParamCR(const AliTPCParamCR ¶m)
+ :AliTPCParam(),
+ fInnerPRF(0),
+ fOuter1PRF(0),
+ fOuter2PRF(0),
+ fTimeRF(0),
+ fFacSigma(0.)
+{
+ //
+ // copy constructor - dummy
+ //
+ fFacSigma= param.fFacSigma;
+}
+AliTPCParamCR & AliTPCParamCR::operator =(const AliTPCParamCR & param)
+{
+ //
+ // assignment operator - dummy
+ //
+ fFacSigma= param.fFacSigma;
+ return (*this);
+}
AliTPCParamCR::~AliTPCParamCR()
{
//
AliTPCParam::SetDefault();
}
-Int_t AliTPCParamCR::CalcResponse(Float_t* xyz, Int_t * index, Int_t dummy)
+Int_t AliTPCParamCR::CalcResponse(Float_t* xyz, Int_t * index, Int_t /*dummy*/)
{
//
//calculate bin response as function of the input position -x
{
//transform relative coordinates to absolute
Bool_t rel = ( (option&2)!=0);
- Int_t index[2]={sector,padrow};
+ Int_t index[3]={sector,padrow,0};
if (rel==kTRUE) Transform4to3(xyz,index);//if the position is relative to pad row
Transform2to1(xyz,index);
}
//if option=2 X relative to pad row calculate sector
//if option=3 X relative use input sector
//!!!!!!!!! WE start to calculate rows from row = 0
- Int_t index[2];
+ Int_t index[3]={0,0,0};
Bool_t rel = ( (option&2)!=0);
//option 0 and 2 means that we don't have information about sector