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

Class for survey of chambers (frames) of the muon spectrometer. More...

#include <AliMUONSurveyChamber.h>

Inheritance diagram for AliMUONSurveyChamber:

Public Member Functions

 AliMUONSurveyChamber (Int_t lChamberId)
 
virtual ~AliMUONSurveyChamber ()
 
virtual Int_t AddStickerTargets (TString stBaseName, Int_t lTargetMax=9)
 To be implemented in a concrete Chamber or DetElem class. More...
 
virtual Int_t AddGButtonTargets (TString btBaseName, Int_t lTargetMax=9)
 To be implemented in a concrete Chamber or DetElem class. More...
 
virtual Int_t AddStickerTargets (TObjArray *pArray, TString stBaseName, Int_t lTargetMax=9)
 
virtual Int_t AddGButtonTargets (TObjArray *pArray, TString btBaseName, Int_t lTargetMax=9)
 
Int_t AddSurveyDetElem (Int_t lDetElemId)
 
Int_t GetNDetElem () const
 Returns the number od detection elements of the chamber. More...
 
AliMUONSurveyDetElemGetDetElem (Int_t lDetElemIndex)
 
AliSurveyObj * GetSurveyObj () const
 Returns the internal AliSurveyObj. More...
 
virtual void SetLocalTransformation (TGeoCombiTrans *localTrf, Bool_t ownerLocalTrf=kFALSE)
 Set local transformation of geometrical element. More...
 
void PrintSurveyReport ()
 
void FillCPSTHistograms (TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa=0)
 
void FillDESTHistograms (TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa=0)
 
Double_t GetMeanDetElemAlignResX ()
 
Double_t GetMeanDetElemAlignResY ()
 
- Public Member Functions inherited from AliMUONSurveyObj
 AliMUONSurveyObj ()
 
virtual ~AliMUONSurveyObj ()
 
virtual Int_t AddLButtonTargets (TObjArray *pArray, TString btBaseName, Int_t lTargetMax=9)
 
void AddStickerTarget (AliSurveyPoint *stPoint)
 
void AddGButtonTarget (AliSurveyPoint *btPoint)
 
void AddLButtonTarget (AliSurveyPoint *btPoint)
 
void AddLButtonTarget (TVector3 *btVector)
 
Int_t GetNStickerTargets ()
 
AliSurveyPoint * GetStickerTarget (Int_t stIndex)
 
Int_t GetNGButtonTargets ()
 
AliSurveyPoint * GetGButtonTarget (Int_t btIndex)
 
Int_t GetNLButtonTargets ()
 
AliSurveyPoint * GetLButtonTarget (Int_t btIndex)
 
void SetBaseTransformation (TGeoCombiTrans *baseTrf, Bool_t ownerBaseTrf=kFALSE)
 Set transformation of geoemtrical element. More...
 
TGeoCombiTrans * GetLocalTrf () const
 Returns the local transformation. More...
 
TGeoCombiTrans * GetBaseTrf () const
 Returns the base (global) transformation. More...
 
TGeoCombiTrans * GetAlignTrf () const
 Returns the alignment transformation. More...
 
void SetUseCM (Bool_t bUseCM=kTRUE)
 Define wether to work in mm (survey units) or cm (alice units) More...
 
Bool_t GetUseCM () const
 Indicates if working in mm (survey units) or cm (alice units) More...
 
void SetPlane (TString pName, Double_t xMin=-2000., Double_t xMax=+2000., Double_t yMin=-2000., Double_t yMax=2000.)
 
void SetPlaneParameters (Double_t p0, Double_t p1, Double_t p2)
 
void DrawSTargets ()
 
Double_t FitPlane ()
 
TF2 * GetPlane () const
 Returns the plane (TF2) representing the object. More...
 
TFitter * GetFitter () const
 Returns the TFitter used for the best local to global transformation determination. More...
 
Int_t SurveyToAlign (TGeoCombiTrans &quadTransf, Double_t *parErr, Double_t psi=0., Double_t tht=0., Double_t epsi=0., Double_t etht=0.)
 
Int_t SurveyToAlign (Double_t psi=0., Double_t tht=0., Double_t epsi=0., Double_t etht=0.)
 
Double_t SurveyChi2 (Double_t *par)
 
Double_t EvalFunction (const TF2 *lFunction, Int_t iP1, Int_t iP2, const Char_t *lCoord)
 
void CalculateTranslation (TF2 *xFunc, TF2 *yFunc, TF2 *zFunc, Int_t iP1, Int_t iP2, Double_t *lCenTemp)
 
Double_t CalculateGlobalDiff (TGeoCombiTrans &lTransf, Int_t nPoints, TArrayD &lDiff)
 
Int_t CalculateBestTransf (Int_t iP1, Int_t iP2, Double_t *lXYZ, Double_t *lPTP)
 
void CalculateMeanTransf (Double_t *lXYZ, Double_t *lPTP)
 
void SetXMin (Double_t xMin)
 Set xMin for functions fitting. More...
 
void SetXMax (Double_t xMax)
 Set xMax for functions fitting. More...
 
void SetYMin (Double_t yMin)
 Set yMin for functions fitting. More...
 
void SetYMax (Double_t yMax)
 Set yMax for functions fitting. More...
 
void SetZMin (Double_t zMin)
 Set zMin for functions fitting. More...
 
void SetZMax (Double_t zMax)
 Set zMax for functions fitting. More...
 
virtual void PrintLocalTrf ()
 
virtual void PrintAlignTrf ()
 
void FillSTHistograms (TString baseNameC, TH2 *hSTc, TString baseNameA="", TH2 *hSTa=0)
 
Double_t GetAlignResX ()
 
Double_t GetAlignResY ()
 
AliSurveyPoint * ConvertPointUnits (AliSurveyPoint *stPoint, Float_t lFactor=0.1)
 

Private Member Functions

 AliMUONSurveyChamber (const AliMUONSurveyChamber &right)
 Not implemented. More...
 
AliMUONSurveyChamberoperator= (const AliMUONSurveyChamber &right)
 Not implemented. More...
 

Private Attributes

Int_t fChamberId
 Chamber Id. More...
 
Int_t fNDetElem
 Number of detection elements. More...
 
AliSurveyObj * fSurveyObj
 Survey object containing the measurment. More...
 
TClonesArray * fSurveyDetElem
 Array of AliMUONSurveyDetElem. More...
 

Detailed Description

Class for survey of chambers (frames) of the muon spectrometer.

Class for the survey processing of the ALICE DiMuon spectrometer

This object provides the methods specific to the chambers (frames)

Author
Javier Castillo

Definition at line 21 of file AliMUONSurveyChamber.h.

Constructor & Destructor Documentation

AliMUONSurveyChamber::AliMUONSurveyChamber ( Int_t  lChamberId)

Constructor with the chamber id

Definition at line 42 of file AliMUONSurveyChamber.cxx.

AliMUONSurveyChamber::~AliMUONSurveyChamber ( )
virtual

Destructor

Definition at line 54 of file AliMUONSurveyChamber.cxx.

AliMUONSurveyChamber::AliMUONSurveyChamber ( const AliMUONSurveyChamber right)
private

Not implemented.

Member Function Documentation

Int_t AliMUONSurveyChamber::AddGButtonTargets ( TString  btBaseName,
Int_t  lTargetMax = 9 
)
virtual

To be implemented in a concrete Chamber or DetElem class.

Add a maximum of lTargetMax global button targets with stBaseName from internal SurveyObj

Implements AliMUONSurveyObj.

Definition at line 100 of file AliMUONSurveyChamber.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), MUONSurveyCh4(), and MUONSurveyCh5().

Int_t AliMUONSurveyChamber::AddGButtonTargets ( TObjArray pArray,
TString  btBaseName,
Int_t  lTargetMax = 9 
)
virtual

Add a maximum of lTargetMax global targets with stBaseName from the pArray of targets

Reimplemented from AliMUONSurveyObj.

Definition at line 95 of file AliMUONSurveyChamber.cxx.

Int_t AliMUONSurveyChamber::AddStickerTargets ( TString  stBaseName,
Int_t  lTargetMax = 9 
)
virtual

To be implemented in a concrete Chamber or DetElem class.

Add a maximum of lTargetMax sticker targets with stBaseName from internal SurveyObj

Implements AliMUONSurveyObj.

Definition at line 86 of file AliMUONSurveyChamber.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), MUONSurveyCh4(), and MUONSurveyCh5().

Int_t AliMUONSurveyChamber::AddStickerTargets ( TObjArray pArray,
TString  stBaseName,
Int_t  lTargetMax = 9 
)
virtual

Add a maximum of lTargetMax sticker targets with stBaseName from the pArray of targets

Reimplemented from AliMUONSurveyObj.

Definition at line 81 of file AliMUONSurveyChamber.cxx.

Int_t AliMUONSurveyChamber::AddSurveyDetElem ( Int_t  lDetElemId)

Add a surveyed detection element to this chamber

Definition at line 60 of file AliMUONSurveyChamber.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), MUONSurveyCh4(), and MUONSurveyCh5().

void AliMUONSurveyChamber::FillCPSTHistograms ( TString  baseNameC,
TH2 *  hCPSTc,
TString  baseNameA = "",
TH2 *  hCPSTa = 0 
)

Fill Chamber Plane Sticker Targest histograms for monitoring

Definition at line 142 of file AliMUONSurveyChamber.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), and MUONSurveyCh5().

void AliMUONSurveyChamber::FillDESTHistograms ( TString  baseNameC,
TH2 *  hCPSTc,
TString  baseNameA = "",
TH2 *  hCPSTa = 0 
)

Fill Detection Element Sticker Targest histograms for monitoring

Definition at line 151 of file AliMUONSurveyChamber.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), MUONSurveyCh4(), and MUONSurveyCh5().

AliMUONSurveyDetElem * AliMUONSurveyChamber::GetDetElem ( Int_t  lDetElemIndex)
Double_t AliMUONSurveyChamber::GetMeanDetElemAlignResX ( )

Return the average uncertainty of the det. elem. translations along x parameter

Definition at line 158 of file AliMUONSurveyChamber.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), MUONSurveyCh4(), and MUONSurveyCh5().

Double_t AliMUONSurveyChamber::GetMeanDetElemAlignResY ( )

Return the average uncertainty of the det. elem. translations along y parameter

Definition at line 171 of file AliMUONSurveyChamber.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), MUONSurveyCh4(), and MUONSurveyCh5().

Int_t AliMUONSurveyChamber::GetNDetElem ( ) const
inline

Returns the number od detection elements of the chamber.

Definition at line 37 of file AliMUONSurveyChamber.h.

Referenced by FillDESTHistograms(), GetMeanDetElemAlignResX(), and GetMeanDetElemAlignResY().

AliSurveyObj* AliMUONSurveyChamber::GetSurveyObj ( ) const
inline
AliMUONSurveyChamber& AliMUONSurveyChamber::operator= ( const AliMUONSurveyChamber right)
private

Not implemented.

void AliMUONSurveyChamber::PrintSurveyReport ( )

Print the survey report information and data

Definition at line 114 of file AliMUONSurveyChamber.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), MUONSurveyCh4(), and MUONSurveyCh5().

void AliMUONSurveyChamber::SetLocalTransformation ( TGeoCombiTrans *  localTrf,
Bool_t  ownerLocalTrf = kFALSE 
)
virtual

Set local transformation of geometrical element.

Reimplemented from AliMUONSurveyObj.

Definition at line 109 of file AliMUONSurveyChamber.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), MUONSurveyCh4(), and MUONSurveyCh5().

Member Data Documentation

Int_t AliMUONSurveyChamber::fChamberId
private

Chamber Id.

Definition at line 58 of file AliMUONSurveyChamber.h.

Int_t AliMUONSurveyChamber::fNDetElem
private

Number of detection elements.

Definition at line 59 of file AliMUONSurveyChamber.h.

Referenced by AddSurveyDetElem(), GetDetElem(), and GetNDetElem().

TClonesArray* AliMUONSurveyChamber::fSurveyDetElem
private
AliSurveyObj* AliMUONSurveyChamber::fSurveyObj
private

Survey object containing the measurment.

Definition at line 61 of file AliMUONSurveyChamber.h.

Referenced by AddGButtonTargets(), AddStickerTargets(), GetSurveyObj(), PrintSurveyReport(), and ~AliMUONSurveyChamber().


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