AliRoot Core  3dc7879 (3dc7879)
AliAlignmentTracks Class Reference

#include <AliAlignmentTracks.h>

Inheritance diagram for AliAlignmentTracks:

Public Member Functions

 AliAlignmentTracks ()
 
 AliAlignmentTracks (TChain *esdchain)
 
 AliAlignmentTracks (const char *esdfilename, const char *esdtreename="esdTree")
 
virtual ~AliAlignmentTracks ()
 
void AddESD (TChain *esdchain)
 
void AddESD (const char *esdfilename, const char *esdtreename="esdTree")
 
void SetPointsFilename (const char *pointsfilename="AliTrackPoints.root")
 
void ProcessESD (TSelector *selector)
 
void ProcessESD (Bool_t onlyITS=kFALSE, Int_t minITSpts=0, Bool_t cuts=kTRUE, Float_t minAngleWrtITSModulePlanes=0., Float_t minMom=0.3, Float_t maxMom=1.e9, Float_t minAbsSinPhi=0., Float_t maxAbsSinPhi=1., Float_t minSinTheta=0., Float_t maxSinTheta=1.)
 
void ProcessESDCosmics (Bool_t onlyITS=kFALSE, Int_t minITSpts=0, Float_t maxMatchingAngle=0.17, Bool_t cuts=kTRUE, Float_t minAngleWrtITSModulePlanes=0., Float_t minMom=0.3, Float_t maxMom=1.e9, Float_t minAbsSinPhi=0., Float_t maxAbsSinPhi=1., Float_t minSinTheta=0., Float_t maxSinTheta=1.)
 
void BuildIndex ()
 
Bool_t ReadAlignObjs (const char *alignObjFileName="AlignObjs.root", const char *arrayName="Alignment")
 
void SetTrackFitter (AliTrackFitter *fitter)
 
void SetMinimizer (AliTrackResiduals *minimizer)
 
Bool_t AlignDetector (AliGeomManager::ELayerID firstLayer, AliGeomManager::ELayerID lastLayer, AliGeomManager::ELayerID layerRangeMin=AliGeomManager::kFirstLayer, AliGeomManager::ELayerID layerRangeMax=AliGeomManager::kLastLayer, Int_t iterations=1)
 
Bool_t AlignLayer (AliGeomManager::ELayerID layer, AliGeomManager::ELayerID layerRangeMin=AliGeomManager::kFirstLayer, AliGeomManager::ELayerID layerRangeMax=AliGeomManager::kLastLayer, Int_t iterations=1)
 
Bool_t AlignVolume (UShort_t volId, UShort_t volIdFit, Int_t iterations)
 
Bool_t AlignVolumes (const TArrayI *volids, const TArrayI *volidsfit=0x0, AliGeomManager::ELayerID layerRangeMin=AliGeomManager::kFirstLayer, AliGeomManager::ELayerID layerRangeMax=AliGeomManager::kLastLayer, Int_t iterations=1)
 
AliAlignObjGetAlignObj (UShort_t volid) const
 
void SetUpdate (Bool_t update)
 
void SetCovIsUsed (Bool_t covisused)
 
Bool_t GetUpdate () const
 
void WriteRealignObjArray (TString outfilename, AliGeomManager::ELayerID layerRangeMin, AliGeomManager::ELayerID layerRangeMax)
 
Int_t GetLastIndex (Int_t iLayer, Int_t iModule) const
 
Bool_t Misalign (const char *misalignObjFileName, const char *arrayName)
 

Protected Member Functions

void InitIndex ()
 
void ResetIndex ()
 
void DeleteIndex ()
 
void InitAlignObjs ()
 
void ResetAlignObjs ()
 
void DeleteAlignObjs ()
 
Int_t LoadPoints (const TArrayI *volids, AliTrackPointArray **&points, Int_t &pointsdim)
 
void UnloadPoints (Int_t n, AliTrackPointArray **points)
 
AliTrackFitterCreateFitter ()
 
AliTrackResidualsCreateMinimizer ()
 

Protected Attributes

TChain * fESDChain
 
TString fPointsFilename
 Chain with ESDs. More...
 
TFile * fPointsFile
 
TTree * fPointsTree
 
Int_t ** fLastIndex
 
TArrayI *** fArrayIndex
 Last filled index in volume arrays. More...
 
Bool_t fIsIndexBuilt
 Volume arrays which contains the tree index. More...
 
AliAlignObj *** fAlignObjs
 
AliAlignObj *** fMisalignObjs
 
AliTrackFitterfTrackFitter
 
AliTrackResidualsfMinimizer
 
Bool_t fDoUpdate
 
Bool_t fCovIsUsed
 

Private Member Functions

 AliAlignmentTracks (const AliAlignmentTracks &alignment)
 
AliAlignmentTracksoperator= (const AliAlignmentTracks &alignment)
 

Detailed Description

Definition at line 25 of file AliAlignmentTracks.h.

Constructor & Destructor Documentation

AliAlignmentTracks::AliAlignmentTracks ( )

Definition at line 42 of file AliAlignmentTracks.cxx.

AliAlignmentTracks::AliAlignmentTracks ( TChain *  esdchain)

Definition at line 63 of file AliAlignmentTracks.cxx.

AliAlignmentTracks::AliAlignmentTracks ( const char *  esdfilename,
const char *  esdtreename = "esdTree" 
)

Definition at line 87 of file AliAlignmentTracks.cxx.

AliAlignmentTracks::~AliAlignmentTracks ( )
virtual

Definition at line 113 of file AliAlignmentTracks.cxx.

AliAlignmentTracks::AliAlignmentTracks ( const AliAlignmentTracks alignment)
private

Member Function Documentation

void AliAlignmentTracks::AddESD ( TChain *  esdchain)

Definition at line 128 of file AliAlignmentTracks.cxx.

void AliAlignmentTracks::AddESD ( const char *  esdfilename,
const char *  esdtreename = "esdTree" 
)

Definition at line 138 of file AliAlignmentTracks.cxx.

Bool_t AliAlignmentTracks::AlignDetector ( AliGeomManager::ELayerID  firstLayer,
AliGeomManager::ELayerID  lastLayer,
AliGeomManager::ELayerID  layerRangeMin = AliGeomManager::kFirstLayer,
AliGeomManager::ELayerID  layerRangeMax = AliGeomManager::kLastLayer,
Int_t  iterations = 1 
)

Definition at line 669 of file AliAlignmentTracks.cxx.

Referenced by SetMinimizer().

Bool_t AliAlignmentTracks::AlignLayer ( AliGeomManager::ELayerID  layer,
AliGeomManager::ELayerID  layerRangeMin = AliGeomManager::kFirstLayer,
AliGeomManager::ELayerID  layerRangeMax = AliGeomManager::kLastLayer,
Int_t  iterations = 1 
)

Definition at line 703 of file AliAlignmentTracks.cxx.

Referenced by SetMinimizer().

Bool_t AliAlignmentTracks::AlignVolume ( UShort_t  volId,
UShort_t  volIdFit,
Int_t  iterations 
)

Definition at line 728 of file AliAlignmentTracks.cxx.

Referenced by SetMinimizer().

Bool_t AliAlignmentTracks::AlignVolumes ( const TArrayI *  volids,
const TArrayI *  volidsfit = 0x0,
AliGeomManager::ELayerID  layerRangeMin = AliGeomManager::kFirstLayer,
AliGeomManager::ELayerID  layerRangeMax = AliGeomManager::kLastLayer,
Int_t  iterations = 1 
)

Definition at line 749 of file AliAlignmentTracks.cxx.

Referenced by AlignDetector(), AlignLayer(), AlignVolume(), and SetMinimizer().

void AliAlignmentTracks::BuildIndex ( )

Definition at line 473 of file AliAlignmentTracks.cxx.

Referenced by AlignVolumes(), and SetPointsFilename().

AliTrackFitter * AliAlignmentTracks::CreateFitter ( )
protected

Definition at line 965 of file AliAlignmentTracks.cxx.

Referenced by AlignVolumes(), and GetLastIndex().

AliTrackResiduals * AliAlignmentTracks::CreateMinimizer ( )
protected

Definition at line 977 of file AliAlignmentTracks.cxx.

Referenced by AlignVolumes(), and GetLastIndex().

void AliAlignmentTracks::DeleteAlignObjs ( )
protected

Definition at line 656 of file AliAlignmentTracks.cxx.

Referenced by GetLastIndex(), and ~AliAlignmentTracks().

void AliAlignmentTracks::DeleteIndex ( )
protected

Definition at line 576 of file AliAlignmentTracks.cxx.

Referenced by GetLastIndex(), and ~AliAlignmentTracks().

AliAlignObj* AliAlignmentTracks::GetAlignObj ( UShort_t  volid) const
inline

Definition at line 76 of file AliAlignmentTracks.h.

Int_t AliAlignmentTracks::GetLastIndex ( Int_t  iLayer,
Int_t  iModule 
) const
inline

Definition at line 85 of file AliAlignmentTracks.h.

Bool_t AliAlignmentTracks::GetUpdate ( ) const
inline

Definition at line 83 of file AliAlignmentTracks.h.

void AliAlignmentTracks::InitAlignObjs ( )
protected

Definition at line 631 of file AliAlignmentTracks.cxx.

Referenced by AliAlignmentTracks(), and GetLastIndex().

void AliAlignmentTracks::InitIndex ( )
protected

Definition at line 544 of file AliAlignmentTracks.cxx.

Referenced by AliAlignmentTracks(), and GetLastIndex().

Int_t AliAlignmentTracks::LoadPoints ( const TArrayI *  volids,
AliTrackPointArray **&  points,
Int_t &  pointsdim 
)
protected

Definition at line 816 of file AliAlignmentTracks.cxx.

Referenced by AlignVolumes(), and GetLastIndex().

Bool_t AliAlignmentTracks::Misalign ( const char *  misalignObjFileName,
const char *  arrayName 
)

Definition at line 989 of file AliAlignmentTracks.cxx.

Referenced by GetLastIndex().

AliAlignmentTracks& AliAlignmentTracks::operator= ( const AliAlignmentTracks alignment)
private
void AliAlignmentTracks::ProcessESD ( TSelector *  selector)

Definition at line 467 of file AliAlignmentTracks.cxx.

Referenced by SetPointsFilename().

void AliAlignmentTracks::ProcessESD ( Bool_t  onlyITS = kFALSE,
Int_t  minITSpts = 0,
Bool_t  cuts = kTRUE,
Float_t  minAngleWrtITSModulePlanes = 0.,
Float_t  minMom = 0.3,
Float_t  maxMom = 1.e9,
Float_t  minAbsSinPhi = 0.,
Float_t  maxAbsSinPhi = 1.,
Float_t  minSinTheta = 0.,
Float_t  maxSinTheta = 1. 
)

Definition at line 153 of file AliAlignmentTracks.cxx.

void AliAlignmentTracks::ProcessESDCosmics ( Bool_t  onlyITS = kFALSE,
Int_t  minITSpts = 0,
Float_t  maxMatchingAngle = 0.17,
Bool_t  cuts = kTRUE,
Float_t  minAngleWrtITSModulePlanes = 0.,
Float_t  minMom = 0.3,
Float_t  maxMom = 1.e9,
Float_t  minAbsSinPhi = 0.,
Float_t  maxAbsSinPhi = 1.,
Float_t  minSinTheta = 0.,
Float_t  maxSinTheta = 1. 
)

Definition at line 270 of file AliAlignmentTracks.cxx.

Referenced by SetPointsFilename().

Bool_t AliAlignmentTracks::ReadAlignObjs ( const char *  alignObjFileName = "AlignObjs.root",
const char *  arrayName = "Alignment" 
)

Definition at line 595 of file AliAlignmentTracks.cxx.

Referenced by SetPointsFilename().

void AliAlignmentTracks::ResetAlignObjs ( )
protected

Definition at line 646 of file AliAlignmentTracks.cxx.

Referenced by GetLastIndex().

void AliAlignmentTracks::ResetIndex ( )
protected

Definition at line 561 of file AliAlignmentTracks.cxx.

Referenced by GetLastIndex().

void AliAlignmentTracks::SetCovIsUsed ( Bool_t  covisused)
inline

Definition at line 82 of file AliAlignmentTracks.h.

void AliAlignmentTracks::SetMinimizer ( AliTrackResiduals minimizer)
inline

Definition at line 59 of file AliAlignmentTracks.h.

void AliAlignmentTracks::SetPointsFilename ( const char *  pointsfilename = "AliTrackPoints.root")
inline

Definition at line 37 of file AliAlignmentTracks.h.

void AliAlignmentTracks::SetTrackFitter ( AliTrackFitter fitter)
inline

Definition at line 58 of file AliAlignmentTracks.h.

void AliAlignmentTracks::SetUpdate ( Bool_t  update)
inline

Definition at line 81 of file AliAlignmentTracks.h.

void AliAlignmentTracks::UnloadPoints ( Int_t  n,
AliTrackPointArray **  points 
)
protected

Definition at line 955 of file AliAlignmentTracks.cxx.

Referenced by AlignVolumes(), and GetLastIndex().

void AliAlignmentTracks::WriteRealignObjArray ( TString  outfilename,
AliGeomManager::ELayerID  layerRangeMin,
AliGeomManager::ELayerID  layerRangeMax 
)

Definition at line 1042 of file AliAlignmentTracks.cxx.

Referenced by GetUpdate().

Member Data Documentation

AliAlignObj*** AliAlignmentTracks::fAlignObjs
protected
TArrayI*** AliAlignmentTracks::fArrayIndex
protected

Last filled index in volume arrays.

Definition at line 110 of file AliAlignmentTracks.h.

Referenced by BuildIndex(), DeleteIndex(), InitIndex(), and LoadPoints().

Bool_t AliAlignmentTracks::fCovIsUsed
protected

Definition at line 117 of file AliAlignmentTracks.h.

Referenced by LoadPoints(), and SetCovIsUsed().

Bool_t AliAlignmentTracks::fDoUpdate
protected

Definition at line 116 of file AliAlignmentTracks.h.

Referenced by AlignVolumes(), GetUpdate(), and SetUpdate().

TChain* AliAlignmentTracks::fESDChain
protected
Bool_t AliAlignmentTracks::fIsIndexBuilt
protected

Volume arrays which contains the tree index.

Definition at line 111 of file AliAlignmentTracks.h.

Referenced by BuildIndex(), and ResetIndex().

Int_t** AliAlignmentTracks::fLastIndex
protected
AliTrackResiduals* AliAlignmentTracks::fMinimizer
protected

Definition at line 115 of file AliAlignmentTracks.h.

Referenced by CreateMinimizer(), SetMinimizer(), and ~AliAlignmentTracks().

AliAlignObj*** AliAlignmentTracks::fMisalignObjs
protected

Definition at line 113 of file AliAlignmentTracks.h.

Referenced by LoadPoints(), and Misalign().

TFile* AliAlignmentTracks::fPointsFile
protected

Definition at line 107 of file AliAlignmentTracks.h.

Referenced by BuildIndex(), and ~AliAlignmentTracks().

TString AliAlignmentTracks::fPointsFilename
protected

Chain with ESDs.

Definition at line 106 of file AliAlignmentTracks.h.

Referenced by BuildIndex(), ProcessESD(), ProcessESDCosmics(), and SetPointsFilename().

TTree* AliAlignmentTracks::fPointsTree
protected

Definition at line 108 of file AliAlignmentTracks.h.

Referenced by BuildIndex(), and LoadPoints().

AliTrackFitter* AliAlignmentTracks::fTrackFitter
protected

Definition at line 114 of file AliAlignmentTracks.h.

Referenced by CreateFitter(), SetTrackFitter(), and ~AliAlignmentTracks().


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