AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONGeometryModuleTransformer Class Reference

Geometry transformer for a detector module. More...

#include <AliMUONGeometryModuleTransformer.h>

Inheritance diagram for AliMUONGeometryModuleTransformer:

Public Member Functions

 AliMUONGeometryModuleTransformer (Int_t moduleId)
 
 AliMUONGeometryModuleTransformer (TRootIOCtor *)
 
virtual ~AliMUONGeometryModuleTransformer ()
 
void Global2Local (Int_t detElemId, Float_t xg, Float_t yg, Float_t zg, Float_t &xl, Float_t &yl, Float_t &zl) const
 
void Global2Local (Int_t detElemId, Double_t xg, Double_t yg, Double_t zg, Double_t &xl, Double_t &yl, Double_t &zl) const
 
void Local2Global (Int_t detElemId, Float_t xl, Float_t yl, Float_t zl, Float_t &xg, Float_t &yg, Float_t &zg) const
 
void Local2Global (Int_t detElemId, Double_t xl, Double_t yl, Double_t zl, Double_t &xg, Double_t &yg, Double_t &zg) const
 
void SetTransformation (const TGeoHMatrix &transform)
 
void SetVolumePath (const TString &volumePath)
 Set the full path of aligned module volume or envelope in geometry. More...
 
Int_t GetModuleId () const
 Return module ID. More...
 
TString GetModuleName () const
 Return module name. More...
 
TString GetVolumePath () const
 Return the full path of aligned module volume or envelope in geometry. More...
 
TString GetVolumeName () const
 
TString GetMotherVolumeName () const
 
const TGeoHMatrix * GetTransformation () const
 Return the module transformation wrt to the top volume (world) More...
 
AliMpExMapGetDetElementStore () const
 Return detection elements associated with this module. More...
 
AliMUONGeometryDetElementGetDetElement (Int_t detElemId, Bool_t warn=true) const
 

Static Public Member Functions

static const TString & GetModuleNamePrefix ()
 
static TString GetModuleName (Int_t moduleId)
 

Protected Member Functions

 AliMUONGeometryModuleTransformer ()
 Not implemented. More...
 
 AliMUONGeometryModuleTransformer (const AliMUONGeometryModuleTransformer &rhs)
 Not implemented. More...
 
AliMUONGeometryModuleTransformeroperator= (const AliMUONGeometryModuleTransformer &rhs)
 Not implemented. More...
 

Private Attributes

Int_t fModuleId
 the module Id More...
 
TString fModuleName
 the module name More...
 
TString fVolumePath
 the full path of aligned module volume or envelope in geometry More...
 
TGeoHMatrix * fTransformation
 the module transformation wrt to top volume (world) More...
 
AliMpExMapfDetElements
 detection elements More...
 

Detailed Description

Geometry transformer for a detector module.

Class for definition of the transformation for a detector module and its detection elements

Author
Ivana Hrivnacova, IPN Orsay

Definition at line 32 of file AliMUONGeometryModuleTransformer.h.

Constructor & Destructor Documentation

AliMUONGeometryModuleTransformer::AliMUONGeometryModuleTransformer ( Int_t  moduleId)

Standard constructor

Definition at line 70 of file AliMUONGeometryModuleTransformer.cxx.

AliMUONGeometryModuleTransformer::AliMUONGeometryModuleTransformer ( TRootIOCtor *  )

Root IO constructor

Definition at line 89 of file AliMUONGeometryModuleTransformer.cxx.

AliMUONGeometryModuleTransformer::~AliMUONGeometryModuleTransformer ( )
virtual

Destructor

Definition at line 102 of file AliMUONGeometryModuleTransformer.cxx.

AliMUONGeometryModuleTransformer::AliMUONGeometryModuleTransformer ( )
protected

Not implemented.

AliMUONGeometryModuleTransformer::AliMUONGeometryModuleTransformer ( const AliMUONGeometryModuleTransformer rhs)
protected

Not implemented.

Member Function Documentation

AliMUONGeometryDetElement * AliMUONGeometryModuleTransformer::GetDetElement ( Int_t  detElemId,
Bool_t  warn = true 
) const
TString AliMUONGeometryModuleTransformer::GetModuleName ( Int_t  moduleId)
static

Return the module name for given moduleId

Definition at line 56 of file AliMUONGeometryModuleTransformer.cxx.

TString AliMUONGeometryModuleTransformer::GetModuleName ( ) const
inline

Return module name.

Definition at line 110 of file AliMUONGeometryModuleTransformer.h.

Referenced by AliMUONGeometryTransformer::GetModuleSymName().

const TString & AliMUONGeometryModuleTransformer::GetModuleNamePrefix ( )
static
TString AliMUONGeometryModuleTransformer::GetMotherVolumeName ( ) const

Extract mother volume name from the path

Definition at line 202 of file AliMUONGeometryModuleTransformer.cxx.

Referenced by AliMUONGeometryBuilder::CreateGeometryWithoutTGeo(), and AliMUONGeometryBuilder::CreateGeometryWithTGeo().

TString AliMUONGeometryModuleTransformer::GetVolumeName ( ) const
TString AliMUONGeometryModuleTransformer::GetVolumePath ( ) const
inline

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

Definition at line 115 of file AliMUONGeometryModuleTransformer.h.

Referenced by AliMUONGeometryTransformer::AddAlignableVolumes(), and AliMUONGeometryModule::GetVolumePath().

void AliMUONGeometryModuleTransformer::Global2Local ( Int_t  detElemId,
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 the detection element specified by detElemId.

Definition at line 115 of file AliMUONGeometryModuleTransformer.cxx.

Referenced by AliMUONGeometryTransformer::Global2Local().

void AliMUONGeometryModuleTransformer::Global2Local ( Int_t  detElemId,
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 the detection element specified by detElemId.

Definition at line 132 of file AliMUONGeometryModuleTransformer.cxx.

void AliMUONGeometryModuleTransformer::Local2Global ( Int_t  detElemId,
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 the detection element specified by detElemId to the global reference frame (ALIC).

Definition at line 149 of file AliMUONGeometryModuleTransformer.cxx.

Referenced by AliMUONGeometryTransformer::Local2Global().

void AliMUONGeometryModuleTransformer::Local2Global ( Int_t  detElemId,
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 the detection element specified by detElemId to the global reference frame (ALIC).

Definition at line 165 of file AliMUONGeometryModuleTransformer.cxx.

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

Not implemented.

void AliMUONGeometryModuleTransformer::SetTransformation ( const TGeoHMatrix &  transform)
void AliMUONGeometryModuleTransformer::SetVolumePath ( const TString &  volumePath)
inline

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

Definition at line 100 of file AliMUONGeometryModuleTransformer.h.

Referenced by AliMUONGeometryModule::SetVolumePath().

Member Data Documentation

AliMpExMap* AliMUONGeometryModuleTransformer::fDetElements
private
Int_t AliMUONGeometryModuleTransformer::fModuleId
private

the module Id

Definition at line 85 of file AliMUONGeometryModuleTransformer.h.

Referenced by GetDetElement(), and GetModuleId().

TString AliMUONGeometryModuleTransformer::fModuleName
private

the module name

Definition at line 86 of file AliMUONGeometryModuleTransformer.h.

Referenced by GetModuleName().

TGeoHMatrix* AliMUONGeometryModuleTransformer::fTransformation
private

the module transformation wrt to top volume (world)

Definition at line 89 of file AliMUONGeometryModuleTransformer.h.

Referenced by AliMUONGeometryModuleTransformer(), GetTransformation(), SetTransformation(), and ~AliMUONGeometryModuleTransformer().

TString AliMUONGeometryModuleTransformer::fVolumePath
private

the full path of aligned module volume or envelope in geometry

Definition at line 87 of file AliMUONGeometryModuleTransformer.h.

Referenced by GetMotherVolumeName(), GetVolumeName(), GetVolumePath(), and SetVolumePath().


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