ROOT logo
AliRoot » TPC » BASE » AliTPCPointCorrection

class AliTPCPointCorrection: public TNamed

Function Members (Methods)

public:
AliTPCPointCorrection()
AliTPCPointCorrection(const Text_t* name, const Text_t* title)
virtual~AliTPCPointCorrection()
voidTObject::AbstractMethod(const char* method) const
voidAddCorrectionSector(TObjArray& sideAPar, TObjArray& sideCPar, TObjArray& sideACov, TObjArray& sideCCov, Bool_t reset)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
Double_tCorrectionOutR0(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)
Double_tCorrectionOutZ0(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Double_tGetCorrection(Int_t coord, Int_t sector, Double_t lx, Double_t ly, Double_t lz)
Double_tGetCorrectionSector(Int_t coord, Int_t sector, Double_t lx, Double_t ly, Double_t lz, Int_t quadrant = -1)
virtual Option_t*TObject::GetDrawOption() const
Double_tGetDrOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)
static Long_tTObject::GetDtorOnly()
Double_tGetDzOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)
Double_tGetEdgeQ0(Int_t sector, Int_t padrow, Float_t y)
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TVectorD*GetParamOutR(Int_t sector)
TVectorD*GetParamOutZ(Int_t sector)
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
static AliTPCPointCorrection*Instance()
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
Double_tRPhiCOGCorrection(Int_t sector, Int_t padrow, Float_t pad, Float_t cy, Float_t y, Float_t z, Float_t ky, Float_t qMax, Float_t threhsold)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetInstance(AliTPCPointCorrection* param)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
static Double_tSGetCorrection(Int_t coord, Int_t sector, Double_t lx, Double_t ly, Double_t lz)
static Double_tSGetCorrectionSector(Int_t coord, Int_t sector, Double_t lx, Double_t ly, Double_t lz, Int_t quadrant = -1)
static Double_tSGetDrOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)
static Double_tSGetDzOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)
static Double_tSGetEdgeQ0(Int_t sector, Int_t padrow, Float_t y)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
Double_tSRPhiCOGCorrection(Int_t sector, Int_t padrow, Float_t pad, Float_t cy, Float_t y, Float_t z, Float_t ky, Float_t qMax, Float_t threhsold)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
TObjArrayfArraySectorIntCovararray of sector alignment covariances
TObjArrayfArraySectorIntParamarray of sector alignment parameters
TObjArrayfErrorsOutRParameters for radial distortion - outer field cage
TObjArrayfErrorsOutZParameters for z distortion - outer field cage
Int_tfParamOutRVersionversion of the parameterization
Int_tfParamOutZVersionversion of the parameterization
TObjArrayfParamsOutRParameters for radial distortion - outer field cage
TObjArrayfParamsOutZParameters for z distortion - outer field cage
TMatrixD*fSectorCovarKalman covariance
TMatrixD*fSectorParamKalman parameter
Double_tfXIOOROC-IROC boundary
Double_tfXmiddlecenter of the TPC sector local X
Double_tfXquadrantx quadrant
protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
static AliTPCPointCorrection*fgInstance! Instance of this class (singleton implementation)

Class Charts

Inheritance Chart:
TNamed
AliTPCPointCorrection

Function documentation

AliTPCPointCorrection()

 Kalman filter for global alignment


 Default constructor

AliTPCPointCorrection(const Text_t* name, const Text_t* title)



 Kalman filter for global alignment


 Non default constructor

~AliTPCPointCorrection()


AliTPCPointCorrection* Instance()
 Singleton implementation
 Returns an instance of this class, it is created if neccessary

Double_t GetDrOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)
  return radial correction

Double_t SGetDrOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)
 return radial correction - static function

Double_t GetDzOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)


Double_t SGetDzOut(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)


Double_t CorrectionOutR0(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)
 return dR correction - for correction version 0
 Parameters:
 isGlobal   - is the x in global frame
 type       - kTRUE - use sectors - kFALSE - only Side param
 cx, cy,cz  - cluster position
 sector     - sector number
Double_t RPhiCOGCorrection(Int_t sector, Int_t padrow, Float_t pad, Float_t cy, Float_t y, Float_t z, Float_t ky, Float_t qMax, Float_t threhsold)
 Calculates COG corection in RPHI direction
 cluster and track position  y is supposed to be corrected before for other effects
 (e.g ExB and alignemnt)
 Rphi distortion dependeds on the distance to the edge-pad, distance to the wire edge and
 relative distance to the center of the pad. Therefore the y position is trnsfromed to the
 pad coordiante frame (correction offset (ExB alignemnt) substracted).

 Input parameters:

 sector - sector number - 0-71  - cl.GetDetector()
 padrow - padrow number -0-63 -IROC 0-95 OROC - cl->GetRow()
 pad    - mean pad number  - cl->GetPad()
 cy     - cluster y        - cl->GetY()
  y     - track -or cluster y
  qMax  - cluster max charge - cl-.GetMax()
  threshold - clusterer threshold

Double_t CorrectionOutZ0(Bool_t isGlobal, Bool_t type, Double_t cx, Double_t cy, Double_t cz, Int_t sector)
 return dR correction - for correction version 0
 Parameters:
 isGlobal   - is the x in global frame
 type       - kTRUE - use sectors - kFALSE - only Side param
 cx, cy,cz  - cluster position
 sector     - sector number
Double_t GetEdgeQ0(Int_t sector, Int_t padrow, Float_t y)
 TF1 fexp("fexp","1-exp(-[0]*(x-[1]))",0,20)
          | param [0] | param [1]
     IROC | 4.71413   | 1.39558
     OROC1| 2.11437   | 1.52643
     OROC2| 2.15082   | 1.53537

Double_t SRPhiCOGCorrection(Int_t sector, Int_t padrow, Float_t pad, Float_t cy, Float_t y, Float_t z, Float_t ky, Float_t qMax, Float_t threhsold)
Double_t SGetEdgeQ0(Int_t sector, Int_t padrow, Float_t y)

void AddCorrectionSector(TObjArray& sideAPar, TObjArray& sideCPar, TObjArray& sideACov, TObjArray& sideCCov, Bool_t reset)


Double_t GetCorrectionSector(Int_t coord, Int_t sector, Double_t lx, Double_t ly, Double_t lz, Int_t quadrant = -1)
 Get position correction for given sector

Double_t SGetCorrectionSector(Int_t coord, Int_t sector, Double_t lx, Double_t ly, Double_t lz, Int_t quadrant = -1)


Double_t GetCorrection(Int_t coord, Int_t sector, Double_t lx, Double_t ly, Double_t lz)
 Get position correction for given sector

Double_t SGetCorrection(Int_t coord, Int_t sector, Double_t lx, Double_t ly, Double_t lz)


AliTPCPointCorrection()
TVectorD * GetParamOutR(Int_t sector)
{return (TVectorD*)fParamsOutR.At(sector);}
TVectorD * GetParamOutZ(Int_t sector)
{return (TVectorD*)fParamsOutZ.At(sector);}
void SetInstance(AliTPCPointCorrection* param)
{fgInstance = param;}
AliTPCPointCorrection& operator=(const AliTPCPointCorrection& )