AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliTPCChebDist Class Reference

#include <AliTPCChebDist.h>

Inheritance diagram for AliTPCChebDist:

Public Member Functions

 AliTPCChebDist ()
 
 AliTPCChebDist (const char *name, const char *title, int nps=1, int nzs=1, float zmaxAbs=250)
 
virtual ~AliTPCChebDist ()
 
Float_t GetXMin () const
 
Float_t GetXMax () const
 
void Eval (int sector, float x, float y2x, float z, float *distortion) const
 
void Eval (int sector, float xtz[3], float *distortion) const
 
virtual Bool_t IsCorrection () const
 
virtual Bool_t IsDistorttion () const
 
- Public Member Functions inherited from AliTPCChebCorr
 AliTPCChebCorr ()
 
 AliTPCChebCorr (const char *name, const char *title, int nps=1, int nzs=1, float zmaxAbs=250, float deadZone=1.5, const float *xi=0)
 
virtual ~AliTPCChebCorr ()
 
Int_t GetFieldType () const
 
void SetFieldType (Char_t t=kFieldAny)
 
void Parameterize (stFun_t fun, int dimOut, const int np[2], const float *prec=0)
 
void Parameterize (stFun_t fun, int dimOut, const int np[][2], const float *prec=0)
 
void SetBinning (int nps=1, int nzs=1, float zmxAbs=250)
 
Bool_t GetUseFloatPrec () const
 
Bool_t GetUseShortPrec () const
 
Bool_t SetUseFloatPrec (Bool_t v)
 
Bool_t GetUseZ2R () const
 
void SetUseZ2R (Bool_t v=kTRUE)
 
Bool_t GetTimeDependent () const
 
void SetTimeDependent (Bool_t v=kTRUE)
 
Bool_t IsFirst () const
 
void SetFirst (Bool_t v=kTRUE)
 
Bool_t IsLast () const
 
void SetLast (Bool_t v=kTRUE)
 
Float_t GetZMin () const
 
Float_t GetZMax () const
 
Int_t GetNStacksZ () const
 
Int_t GetNStacksSector () const
 
Int_t GetNRows () const
 
Float_t GetDeadZone () const
 
const AliCheb2DStack * GetParam (int id) const
 
const AliCheb2DStack * GetParam (int sector, float y2x, float z) const
 
time_t GetTimeStampStart () const
 
time_t GetTimeStampEnd () const
 
time_t GetTimeStampCenter () const
 
void SetTimeStampStart (time_t t=0)
 
void SetTimeStampEnd (time_t t=0xffffffff)
 
void Print (const Option_t *opt="") const
 
void Eval (int sector, int row, float y2x, float z, float *corr) const
 
void Eval (int sector, int row, float tz[2], float *corr) const
 
Float_t Eval (int sector, int row, float y2x, float z, int dimOut) const
 
Float_t Eval (int sector, int row, float tz[2], int dimOut) const
 
void Init ()
 
Int_t GetDimOut () const
 
TH1 * GetTracksRate () const
 
void SetTracksRate (TH1 *hrate)
 
Double_t GetLuminosityCOG (TGraph *lumi, time_t tmin=-1, time_t tmax=-1) const
 
Int_t GetRun () const
 
void SetRun (int run)
 
virtual Bool_t IsDistortion () const
 

Protected Member Functions

Int_t X2Slice (float x) const
 
Float_t Slice2X (int ix) const
 
- Protected Member Functions inherited from AliTPCChebCorr
int GetParID (int iz, int isect, int istack) const
 
 AliTPCChebCorr (const AliTPCChebCorr &src)
 
AliTPCChebCorroperator= (const AliTPCChebCorr &rhs)
 

Protected Attributes

Float_t fXMin
 
Float_t fXMax
 
Float_t fDX
 
Float_t fDXInv
 
- Protected Attributes inherited from AliTPCChebCorr
Bool_t fOnFlyInitDone
 
Char_t fFieldType
 flag that on-the-fly init was done More...
 
Int_t fRun
 
Int_t fNRows
 
Int_t fNStacksSect
 
Int_t fNStacksZSect
 
Int_t fNStacksZ
 
Int_t fNStacks
 
Float_t fZMaxAbs
 
time_t fTimeStampStart
 
time_t fTimeStampEnd
 
Float_t fZScaleI
 
Float_t fY2XScaleI
 
Float_t fDeadZone
 
Float_t * fRowXI
 
AliCheb2DStack ** fParams
 
TH1 * fTracksRate
 

Static Protected Attributes

static Float_t fgRMinTPC
 
static Float_t fgRMaxTPC
 
static Int_t fgNSlices = AliTPCChebCorr::kNRows+10
 
- Static Protected Attributes inherited from AliTPCChebCorr
static const float fgkY2XHSpan = TMath::Tan(TMath::Pi()/18)
 
static const float fgkPadRowX []
 
static const char * fgkFieldTypeName []
 

Private Member Functions

 AliTPCChebDist (const AliTPCChebDist &src)
 
AliTPCChebDistoperator= (const AliTPCChebDist &rhs)
 

Additional Inherited Members

- Public Types inherited from AliTPCChebCorr
enum  { kFieldAny, kFieldPos, kFieldNeg, kFieldZero }
 
enum  {
  kNSectors =18, kNSectorsIROC =2*kNSectors, kNRows =159, kNRowsIROC =63,
  kMaxIROCSector =kNSectorsIROC-1
}
 
enum  {
  kParamDone =BIT(14), kUseParF =BIT(15), kUseZ2R =BIT(16), kTimeDependent =BIT(17),
  kFirst =BIT(18), kLast =BIT(19)
}
 
- Static Public Member Functions inherited from AliTPCChebCorr
static float GetMaxY2X ()
 
static const float * GetPadRowX ()
 

Detailed Description

Definition at line 20 of file AliTPCChebDist.h.

Constructor & Destructor Documentation

AliTPCChebDist::AliTPCChebDist ( )

Definition at line 29 of file AliTPCChebDist.cxx.

AliTPCChebDist::AliTPCChebDist ( const char *  name,
const char *  title,
int  nps = 1,
int  nzs = 1,
float  zmaxAbs = 250 
)

Definition at line 40 of file AliTPCChebDist.cxx.

virtual AliTPCChebDist::~AliTPCChebDist ( )
inlinevirtual

Definition at line 28 of file AliTPCChebDist.h.

AliTPCChebDist::AliTPCChebDist ( const AliTPCChebDist src)
private

Member Function Documentation

void AliTPCChebDist::Eval ( int  sector,
float  x,
float  y2x,
float  z,
float *  distortion 
) const

Definition at line 56 of file AliTPCChebDist.cxx.

Referenced by Eval().

void AliTPCChebDist::Eval ( int  sector,
float  xtz[3],
float *  distortion 
) const
inline

Definition at line 78 of file AliTPCChebDist.h.

Float_t AliTPCChebDist::GetXMax ( ) const
inline

Definition at line 31 of file AliTPCChebDist.h.

Float_t AliTPCChebDist::GetXMin ( ) const
inline

Definition at line 30 of file AliTPCChebDist.h.

virtual Bool_t AliTPCChebDist::IsCorrection ( ) const
inlinevirtual

Reimplemented from AliTPCChebCorr.

Definition at line 36 of file AliTPCChebDist.h.

virtual Bool_t AliTPCChebDist::IsDistorttion ( ) const
inlinevirtual

Definition at line 37 of file AliTPCChebDist.h.

AliTPCChebDist& AliTPCChebDist::operator= ( const AliTPCChebDist rhs)
private
Float_t AliTPCChebDist::Slice2X ( int  ix) const
inlineprotected

Definition at line 61 of file AliTPCChebDist.h.

Referenced by Eval().

Int_t AliTPCChebDist::X2Slice ( float  x) const
inlineprotected

Definition at line 68 of file AliTPCChebDist.h.

Referenced by Eval().

Member Data Documentation

Float_t AliTPCChebDist::fDX
protected

Definition at line 47 of file AliTPCChebDist.h.

Referenced by AliTPCChebDist(), and Slice2X().

Float_t AliTPCChebDist::fDXInv
protected

Definition at line 48 of file AliTPCChebDist.h.

Referenced by AliTPCChebDist(), Eval(), and X2Slice().

Int_t AliTPCChebDist::fgNSlices = AliTPCChebCorr::kNRows+10
staticprotected

Definition at line 52 of file AliTPCChebDist.h.

Referenced by AliTPCChebDist().

Float_t AliTPCChebDist::fgRMaxTPC
staticprotected

Definition at line 51 of file AliTPCChebDist.h.

Float_t AliTPCChebDist::fgRMinTPC
staticprotected

Definition at line 50 of file AliTPCChebDist.h.

Float_t AliTPCChebDist::fXMax
protected

Definition at line 46 of file AliTPCChebDist.h.

Referenced by AliTPCChebDist(), and GetXMax().

Float_t AliTPCChebDist::fXMin
protected

Definition at line 45 of file AliTPCChebDist.h.

Referenced by AliTPCChebDist(), GetXMin(), Slice2X(), and X2Slice().


The documentation for this class was generated from the following files: