AliRoot Core  ee782a0 (ee782a0)
AliMUONSurveyDetElem Class Reference

Class for survey of detection elements of the muon spectrometer. More...

#include <AliMUONSurveyDetElem.h>

Inheritance diagram for AliMUONSurveyDetElem:

Public Member Functions

 AliMUONSurveyDetElem (Int_t lDetElemId)
 
 AliMUONSurveyDetElem (Int_t lDetElemId, AliMUONSurveyChamber *lSurveyChamber)
 
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)
 
virtual ~AliMUONSurveyDetElem ()
 
virtual void SetLocalTransformation (TGeoCombiTrans *localTrf, Bool_t ownerLocalTrf=kFALSE)
 Set local transformation of geometrical element. More...
 
virtual void PrintLocalTrf ()
 
virtual void PrintAlignTrf ()
 
- 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 ()
 
AliSurveyPointGetStickerTarget (Int_t stIndex)
 
Int_t GetNGButtonTargets ()
 
AliSurveyPointGetGButtonTarget (Int_t btIndex)
 
Int_t GetNLButtonTargets ()
 
AliSurveyPointGetLButtonTarget (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...
 
void FillSTHistograms (TString baseNameC, TH2 *hSTc, TString baseNameA="", TH2 *hSTa=0)
 
Double_t GetAlignResX ()
 
Double_t GetAlignResY ()
 
AliSurveyPointConvertPointUnits (AliSurveyPoint *stPoint, Float_t lFactor=0.1)
 

Private Member Functions

 AliMUONSurveyDetElem (const AliMUONSurveyDetElem &right)
 Not implemented. More...
 
AliMUONSurveyDetElemoperator= (const AliMUONSurveyDetElem &right)
 Not implemented. More...
 

Private Attributes

Int_t fDetElemId
 Detection element id. More...
 
AliMUONSurveyChamberfSurveyChamber
 Pointer to mother survey chamber object. More...
 

Detailed Description

Class for survey of detection elements of the muon spectrometer.

Class for the survey processing of the ALICE DiMuon spectrometer

This object provides the methods specific to the detection elements

Author
Javier Castillo

Definition at line 16 of file AliMUONSurveyDetElem.h.

Constructor & Destructor Documentation

AliMUONSurveyDetElem::AliMUONSurveyDetElem ( Int_t  lDetElemId)

Constructor with detection element id

Definition at line 36 of file AliMUONSurveyDetElem.cxx.

AliMUONSurveyDetElem::AliMUONSurveyDetElem ( Int_t  lDetElemId,
AliMUONSurveyChamber lSurveyChamber 
)

Constructor with mother chamber provided

Definition at line 44 of file AliMUONSurveyDetElem.cxx.

AliMUONSurveyDetElem::~AliMUONSurveyDetElem ( )
virtual

Destructor

Definition at line 52 of file AliMUONSurveyDetElem.cxx.

AliMUONSurveyDetElem::AliMUONSurveyDetElem ( const AliMUONSurveyDetElem right)
private

Not implemented.

Member Function Documentation

Int_t AliMUONSurveyDetElem::AddGButtonTargets ( TString  btBaseName,
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 79 of file AliMUONSurveyDetElem.cxx.

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

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

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

Reimplemented from AliMUONSurveyObj.

Definition at line 74 of file AliMUONSurveyDetElem.cxx.

Int_t AliMUONSurveyDetElem::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 61 of file AliMUONSurveyDetElem.cxx.

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

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

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

Reimplemented from AliMUONSurveyObj.

Definition at line 56 of file AliMUONSurveyDetElem.cxx.

AliMUONSurveyDetElem& AliMUONSurveyDetElem::operator= ( const AliMUONSurveyDetElem right)
private

Not implemented.

void AliMUONSurveyDetElem::PrintAlignTrf ( )
virtual

Print the alignment transformation

Reimplemented from AliMUONSurveyObj.

Definition at line 119 of file AliMUONSurveyDetElem.cxx.

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

void AliMUONSurveyDetElem::PrintLocalTrf ( )
virtual

Print the local transformation

Reimplemented from AliMUONSurveyObj.

Definition at line 113 of file AliMUONSurveyDetElem.cxx.

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

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

Set local transformation of geometrical element.

Set the geometry transformation of this detection element

Reimplemented from AliMUONSurveyObj.

Definition at line 92 of file AliMUONSurveyDetElem.cxx.

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

Member Data Documentation

Int_t AliMUONSurveyDetElem::fDetElemId
private

Detection element id.

Definition at line 42 of file AliMUONSurveyDetElem.h.

Referenced by PrintAlignTrf(), and PrintLocalTrf().

AliMUONSurveyChamber* AliMUONSurveyDetElem::fSurveyChamber
private

Pointer to mother survey chamber object.

Definition at line 43 of file AliMUONSurveyDetElem.h.

Referenced by AddGButtonTargets(), AddStickerTargets(), and SetLocalTransformation().


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