![]() |
AliRoot Core
3dc7879 (3dc7879)
|
#include <AliAlignmentTracks.h>
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) |
AliAlignObj * | GetAlignObj (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) |
AliTrackFitter * | CreateFitter () |
AliTrackResiduals * | CreateMinimizer () |
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 |
AliTrackFitter * | fTrackFitter |
AliTrackResiduals * | fMinimizer |
Bool_t | fDoUpdate |
Bool_t | fCovIsUsed |
Private Member Functions | |
AliAlignmentTracks (const AliAlignmentTracks &alignment) | |
AliAlignmentTracks & | operator= (const AliAlignmentTracks &alignment) |
Definition at line 25 of file AliAlignmentTracks.h.
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.
|
virtual |
Definition at line 113 of file AliAlignmentTracks.cxx.
|
private |
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().
|
protected |
Definition at line 965 of file AliAlignmentTracks.cxx.
Referenced by AlignVolumes(), and GetLastIndex().
|
protected |
Definition at line 977 of file AliAlignmentTracks.cxx.
Referenced by AlignVolumes(), and GetLastIndex().
|
protected |
Definition at line 656 of file AliAlignmentTracks.cxx.
Referenced by GetLastIndex(), and ~AliAlignmentTracks().
|
protected |
Definition at line 576 of file AliAlignmentTracks.cxx.
Referenced by GetLastIndex(), and ~AliAlignmentTracks().
|
inline |
Definition at line 76 of file AliAlignmentTracks.h.
|
inline |
Definition at line 85 of file AliAlignmentTracks.h.
|
inline |
Definition at line 83 of file AliAlignmentTracks.h.
|
protected |
Definition at line 631 of file AliAlignmentTracks.cxx.
Referenced by AliAlignmentTracks(), and GetLastIndex().
|
protected |
Definition at line 544 of file AliAlignmentTracks.cxx.
Referenced by AliAlignmentTracks(), and GetLastIndex().
|
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().
|
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().
|
protected |
Definition at line 646 of file AliAlignmentTracks.cxx.
Referenced by GetLastIndex().
|
protected |
Definition at line 561 of file AliAlignmentTracks.cxx.
Referenced by GetLastIndex().
|
inline |
Definition at line 82 of file AliAlignmentTracks.h.
|
inline |
Definition at line 59 of file AliAlignmentTracks.h.
|
inline |
Definition at line 37 of file AliAlignmentTracks.h.
|
inline |
Definition at line 58 of file AliAlignmentTracks.h.
|
inline |
Definition at line 81 of file AliAlignmentTracks.h.
|
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().
|
protected |
Definition at line 112 of file AliAlignmentTracks.h.
Referenced by AlignVolumes(), DeleteAlignObjs(), GetAlignObj(), InitAlignObjs(), LoadPoints(), ReadAlignObjs(), ResetAlignObjs(), and WriteRealignObjArray().
|
protected |
Last filled index in volume arrays.
Definition at line 110 of file AliAlignmentTracks.h.
Referenced by BuildIndex(), DeleteIndex(), InitIndex(), and LoadPoints().
|
protected |
Definition at line 117 of file AliAlignmentTracks.h.
Referenced by LoadPoints(), and SetCovIsUsed().
|
protected |
Definition at line 116 of file AliAlignmentTracks.h.
Referenced by AlignVolumes(), GetUpdate(), and SetUpdate().
|
protected |
Definition at line 105 of file AliAlignmentTracks.h.
Referenced by AddESD(), AliAlignmentTracks(), ProcessESD(), ProcessESDCosmics(), and ~AliAlignmentTracks().
|
protected |
Volume arrays which contains the tree index.
Definition at line 111 of file AliAlignmentTracks.h.
Referenced by BuildIndex(), and ResetIndex().
|
protected |
Definition at line 109 of file AliAlignmentTracks.h.
Referenced by BuildIndex(), DeleteIndex(), GetLastIndex(), InitIndex(), LoadPoints(), and ResetIndex().
|
protected |
Definition at line 115 of file AliAlignmentTracks.h.
Referenced by CreateMinimizer(), SetMinimizer(), and ~AliAlignmentTracks().
|
protected |
Definition at line 113 of file AliAlignmentTracks.h.
Referenced by LoadPoints(), and Misalign().
|
protected |
Definition at line 107 of file AliAlignmentTracks.h.
Referenced by BuildIndex(), and ~AliAlignmentTracks().
|
protected |
Chain with ESDs.
Definition at line 106 of file AliAlignmentTracks.h.
Referenced by BuildIndex(), ProcessESD(), ProcessESDCosmics(), and SetPointsFilename().
|
protected |
Definition at line 108 of file AliAlignmentTracks.h.
Referenced by BuildIndex(), and LoadPoints().
|
protected |
Definition at line 114 of file AliAlignmentTracks.h.
Referenced by CreateFitter(), SetTrackFitter(), and ~AliAlignmentTracks().