AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONGeometryDetElement Class Reference

Class for storing detection element transformations. More...

#include <AliMUONGeometryDetElement.h>

Inheritance diagram for AliMUONGeometryDetElement:

Public Member Functions

 AliMUONGeometryDetElement (Int_t detElemId)
 
 AliMUONGeometryDetElement (Int_t detElemId, const TString &volumePath)
 
 AliMUONGeometryDetElement (TRootIOCtor *)
 
virtual ~AliMUONGeometryDetElement ()
 
void Global2Local (Float_t xg, Float_t yg, Float_t zg, Float_t &xl, Float_t &yl, Float_t &zl) const
 
void Global2Local (Double_t xg, Double_t yg, Double_t zg, Double_t &xl, Double_t &yl, Double_t &zl) const
 
void Local2Global (Float_t xl, Float_t yl, Float_t zl, Float_t &xg, Float_t &yg, Float_t &zg) const
 
void Local2Global (Double_t xl, Double_t yl, Double_t zl, Double_t &xg, Double_t &yg, Double_t &zg) const
 
void PrintLocalTransform () const
 
void PrintGlobalTransform () const
 
void SetLocalTransformation (const TGeoHMatrix &transform, Bool_t warn=true)
 
void SetGlobalTransformation (const TGeoHMatrix &transform, Bool_t warn=true)
 
void SetVolumePath (const TString &volumePath)
 Set the full path of the aligned volume or envelope in geometry. More...
 
Int_t GetId () const
 Return detection element ID. More...
 
TString GetDEName () const
 Return detection element ID. More...
 
TString GetVolumePath () const
 Return the full path of the aligned volume or envelope in geometry. More...
 
TString GetVolumeName () const
 
Int_t GetVolumeCopyNo () const
 
const TGeoHMatrix * GetLocalTransformation () const
 Return the detection element transformation wrt module. More...
 
const TGeoHMatrix * GetGlobalTransformation () const
 Return the detection element transformation wrt world. More...
 

Static Public Member Functions

static const TString & GetDENamePrefix ()
 
static TString GetDEName (Int_t detElemId)
 

Protected Member Functions

 AliMUONGeometryDetElement ()
 Not implemented. More...
 
 AliMUONGeometryDetElement (const AliMUONGeometryDetElement &rhs)
 Not implemented. More...
 
AliMUONGeometryDetElementoperator= (const AliMUONGeometryDetElement &rhs)
 Not implemented. More...
 

Private Member Functions

void PrintTransform (const TGeoHMatrix *transform) const
 

Private Attributes

TString fDEName
 detection element name More...
 
TString fVolumePath
 the full path of aligned volume or envelope in geometry More...
 
TGeoHMatrix * fLocalTransformation
 the transformation wrt module More...
 
TGeoHMatrix * fGlobalTransformation
 the transformation wrt world More...
 

Detailed Description

Class for storing detection element transformations.

Author
Ivana Hrivnacova, IPN Orsay

Definition at line 20 of file AliMUONGeometryDetElement.h.

Constructor & Destructor Documentation

AliMUONGeometryDetElement::AliMUONGeometryDetElement ( Int_t  detElemId)

Standard constructor

Definition at line 64 of file AliMUONGeometryDetElement.cxx.

AliMUONGeometryDetElement::AliMUONGeometryDetElement ( Int_t  detElemId,
const TString &  volumePath 
)

Standard constructor

Definition at line 77 of file AliMUONGeometryDetElement.cxx.

AliMUONGeometryDetElement::AliMUONGeometryDetElement ( TRootIOCtor *  )

Root IO constructor

Definition at line 92 of file AliMUONGeometryDetElement.cxx.

AliMUONGeometryDetElement::~AliMUONGeometryDetElement ( )
virtual

Destructor

Definition at line 103 of file AliMUONGeometryDetElement.cxx.

AliMUONGeometryDetElement::AliMUONGeometryDetElement ( )
protected

Not implemented.

AliMUONGeometryDetElement::AliMUONGeometryDetElement ( const AliMUONGeometryDetElement rhs)
protected

Not implemented.

Member Function Documentation

TString AliMUONGeometryDetElement::GetDEName ( Int_t  detElemId)
static

Return the module name for given moduleId

Definition at line 54 of file AliMUONGeometryDetElement.cxx.

TString AliMUONGeometryDetElement::GetDEName ( ) const
inline

Return detection element ID.

Definition at line 96 of file AliMUONGeometryDetElement.h.

Referenced by AliMUONGeometryTransformer::GetDESymName().

const TString & AliMUONGeometryDetElement::GetDENamePrefix ( )
static
const TGeoHMatrix * AliMUONGeometryDetElement::GetGlobalTransformation ( ) const
inline

Return the detection element transformation wrt world.

Definition at line 110 of file AliMUONGeometryDetElement.h.

Referenced by AliMUONAlignment::FillDetElemData(), and AliMUONContourHandler::GenerateTransformations().

Int_t AliMUONGeometryDetElement::GetId ( ) const
inline
const TGeoHMatrix * AliMUONGeometryDetElement::GetLocalTransformation ( ) const
inline
Int_t AliMUONGeometryDetElement::GetVolumeCopyNo ( ) const

Extract volume copyNo from the path

Definition at line 324 of file AliMUONGeometryDetElement.cxx.

TString AliMUONGeometryDetElement::GetVolumeName ( ) const

Extract volume name from the path

Definition at line 312 of file AliMUONGeometryDetElement.cxx.

TString AliMUONGeometryDetElement::GetVolumePath ( ) const
inline

Return the full path of the aligned volume or envelope in geometry.

Definition at line 100 of file AliMUONGeometryDetElement.h.

Referenced by AliMUONGeometryTransformer::AddAlignableVolumes(), and AliMUONVGeometryBuilder::RebuildSVMaps().

void AliMUONGeometryDetElement::Global2Local ( Float_t  xg,
Float_t  yg,
Float_t  zg,
Float_t &  xl,
Float_t &  yl,
Float_t &  zl 
) const

Transform point from the global reference frame (ALIC) to the local reference frame of this detection element.

Definition at line 166 of file AliMUONGeometryDetElement.cxx.

Referenced by AliMUONGeometryModuleTransformer::Global2Local().

void AliMUONGeometryDetElement::Global2Local ( Double_t  xg,
Double_t  yg,
Double_t  zg,
Double_t &  xl,
Double_t &  yl,
Double_t &  zl 
) const

Transform point from the global reference frame (ALIC) to the local reference frame of this detection element

Definition at line 186 of file AliMUONGeometryDetElement.cxx.

void AliMUONGeometryDetElement::Local2Global ( Float_t  xl,
Float_t  yl,
Float_t  zl,
Float_t &  xg,
Float_t &  yg,
Float_t &  zg 
) const

Transform point from the local reference frame of this detection element to the global reference frame (ALIC).

Definition at line 212 of file AliMUONGeometryDetElement.cxx.

Referenced by AliMUONGeometryModuleTransformer::Local2Global().

void AliMUONGeometryDetElement::Local2Global ( Double_t  xl,
Double_t  yl,
Double_t  zl,
Double_t &  xg,
Double_t &  yg,
Double_t &  zg 
) const

Transform point from the local reference frame of this detection element to the global reference frame (ALIC).

Definition at line 232 of file AliMUONGeometryDetElement.cxx.

AliMUONGeometryDetElement& AliMUONGeometryDetElement::operator= ( const AliMUONGeometryDetElement rhs)
protected

Not implemented.

void AliMUONGeometryDetElement::PrintGlobalTransform ( ) const

Print detection element global transformation (the transformation wrt global frame)

Definition at line 303 of file AliMUONGeometryDetElement.cxx.

void AliMUONGeometryDetElement::PrintLocalTransform ( ) const

Print detection element relative transformation (the transformation wrt module frame)

Definition at line 294 of file AliMUONGeometryDetElement.cxx.

void AliMUONGeometryDetElement::PrintTransform ( const TGeoHMatrix *  transform) const
private

Print the detection element transformation

Definition at line 116 of file AliMUONGeometryDetElement.cxx.

Referenced by PrintGlobalTransform(), and PrintLocalTransform().

void AliMUONGeometryDetElement::SetGlobalTransformation ( const TGeoHMatrix &  transform,
Bool_t  warn = true 
)
void AliMUONGeometryDetElement::SetLocalTransformation ( const TGeoHMatrix &  transform,
Bool_t  warn = true 
)

Set local transformation; give warning if the global transformation is already defined.

Definition at line 258 of file AliMUONGeometryDetElement.cxx.

Referenced by AliMUONGeometryTransformer::FillDetElemTransform(), AliMUONGeometryMisAligner::MisAlign(), AliMUONSurveyUtil::ReAlign(), ReAlign(), and AliMUONVGeometryBuilder::UpdateDetElements().

void AliMUONGeometryDetElement::SetVolumePath ( const TString &  volumePath)
inline

Set the full path of the aligned volume or envelope in geometry.

Definition at line 88 of file AliMUONGeometryDetElement.h.

Referenced by AliMUONVGeometryBuilder::UpdateDetElements().

Member Data Documentation

TString AliMUONGeometryDetElement::fDEName
private

detection element name

Definition at line 76 of file AliMUONGeometryDetElement.h.

Referenced by GetDEName().

TGeoHMatrix* AliMUONGeometryDetElement::fGlobalTransformation
private
TGeoHMatrix* AliMUONGeometryDetElement::fLocalTransformation
private

the transformation wrt module

Definition at line 79 of file AliMUONGeometryDetElement.h.

Referenced by GetLocalTransformation(), PrintLocalTransform(), SetLocalTransformation(), and ~AliMUONGeometryDetElement().

TString AliMUONGeometryDetElement::fVolumePath
private

the full path of aligned volume or envelope in geometry

Definition at line 77 of file AliMUONGeometryDetElement.h.

Referenced by GetVolumeCopyNo(), GetVolumeName(), GetVolumePath(), PrintTransform(), and SetVolumePath().


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