3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////
9 // Manager class for TPC parameters //
10 ////////////////////////////////////////////////
11 #include "AliTPCPRF2D.h"
12 #include "AliTPCRF1D.h"
13 #include "AliTPCParam.h"
15 class AliTPCParamCR : public AliTPCParam {
18 virtual ~AliTPCParamCR();
19 Int_t CalcResponse(Float_t* x, Int_t * index);
20 //calculate bin response as function of the input position -x
21 //return number of valid response bin
23 void XYZtoCRXYZ(Float_t *xyz,
24 Int_t §or, Int_t &padrow, Int_t option=3) const;
25 //transform global position to the position relative to the sector padrow
26 //if option=0 X calculate absolute calculate sector
27 //if option=1 X absolute use input sector
28 //if option=2 X relative to pad row calculate sector
29 //if option=3 X relative use input sector
31 void CRXYZtoXYZ(Float_t *xyz,
32 const Int_t §or, const Int_t & padrow, Int_t option=3) const;
33 //transform relative position to the gloabal position
34 Bool_t Update(); //recalculate and check geometric parameters
35 void SetDefault(); //set default parameters
36 void SetInnerPRF(AliTPCPRF2D * prf) {fInnerPRF = prf;}
37 void SetOuterPRF(AliTPCPRF2D * prf) {fOuterPRF = prf;}
38 void SetTimeRF(AliTPCRF1D * timerf) {fTimeRF = timerf;}
40 AliTPCPRF2D * GetInnerPRF() const {return fInnerPRF;}
41 AliTPCPRF2D * GetOuterPRF() const {return fOuterPRF;}
42 AliTPCRF1D * GetTimeRF() const {return fTimeRF;}
44 AliTPCPRF2D * fInnerPRF; //pad response function object for inner sector
45 AliTPCPRF2D * fOuterPRF; //pad response function object for inner sector
46 AliTPCRF1D * fTimeRF; //time response function object
47 Float_t fFacSigma; //factor-how many sigma of response I accept
48 ClassDef(AliTPCParamCR,1) //parameter object for set:TPC