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

Geometry parameters for detector module. More...

#include <AliMUONGeometryModule.h>

Inheritance diagram for AliMUONGeometryModule:

Public Member Functions

 AliMUONGeometryModule (Int_t moduleId)
 
 AliMUONGeometryModule ()
 
virtual ~AliMUONGeometryModule ()
 
void SetTransformation (const TGeoCombiTrans &transform)
 
void SetVolumePath (const TString &volumePath)
 
void SetIsVirtual (Bool_t isVirtual)
 Set virtuality (true if module is not represented by a real volume) More...
 
void SetSensitiveVolume (Int_t volId)
 
void SetSensitiveVolume (const TString &name)
 
void SetAlign (Bool_t align)
 
Bool_t IsVirtual () const
 Return true if module is not represented by a real volume. More...
 
Int_t GetModuleId () const
 Return module ID. More...
 
TString GetVolumePath () const
 Return the full path of aligned module volume or envelope in geometry. More...
 
AliMUONGeometryDetElementFindBySensitiveVolume (const TString &volumePath) const
 
Bool_t IsSensitiveVolume (Int_t volId) const
 
Bool_t IsSensitiveVolume (const TString &volName) const
 
AliMUONGeometryEnvelopeStoreGetEnvelopeStore () const
 Return envelopes associated with this module. More...
 
AliMUONStringIntMapGetSVMap () const
 Return sensitive volume map. More...
 
AliMUONGeometryModuleTransformerGetTransformer () const
 Return transformer. More...
 

Protected Member Functions

 AliMUONGeometryModule (const AliMUONGeometryModule &rhs)
 Not implemented. More...
 
AliMUONGeometryModuleoperator= (const AliMUONGeometryModule &rhs)
 Not implemented. More...
 

Private Member Functions

Int_t GetSVIndex (Int_t svVolId) const
 

Private Attributes

Bool_t fIsVirtual
 true if module is not represented by a real volume More...
 
Int_t fNofSVs
 number of sensitive volumes More...
 
TArrayI * fSVVolumeIds
 sensitive volumes IDs More...
 
AliMUONGeometryEnvelopeStorefEnvelopes
 envelopes More...
 
AliMUONStringIntMapfSVMap
 sensitive volumes map More...
 
AliMUONGeometryModuleTransformerfTransformer
 geometry transformations More...
 

Detailed Description

Geometry parameters for detector module.

Class for definition of the detector module parameters (the transformations of detection elements, mapping between sensitive volumes and detection elements).

Author
Ivana Hrivnacova, IPN Orsay

Definition at line 36 of file AliMUONGeometryModule.h.

Constructor & Destructor Documentation

AliMUONGeometryModule::AliMUONGeometryModule ( Int_t  moduleId)

Standard constructor

Definition at line 48 of file AliMUONGeometryModule.cxx.

AliMUONGeometryModule::AliMUONGeometryModule ( )

Default constructor

Definition at line 75 of file AliMUONGeometryModule.cxx.

AliMUONGeometryModule::~AliMUONGeometryModule ( )
virtual

Destructor

Definition at line 88 of file AliMUONGeometryModule.cxx.

AliMUONGeometryModule::AliMUONGeometryModule ( const AliMUONGeometryModule rhs)
protected

Not implemented.

Member Function Documentation

AliMUONGeometryDetElement * AliMUONGeometryModule::FindBySensitiveVolume ( const TString &  volumePath) const

Find detection element which the sensitive volume specified by name belongs to

Definition at line 166 of file AliMUONGeometryModule.cxx.

Referenced by AliMUONv1::StepManager().

Int_t AliMUONGeometryModule::GetSVIndex ( Int_t  svVolId) const
private

Return the index of the volume specified by volId if it is present in the list of sensitive volumes (or -1 if not present).

Definition at line 103 of file AliMUONGeometryModule.cxx.

AliMUONStringIntMap * AliMUONGeometryModule::GetSVMap ( ) const
inline
TString AliMUONGeometryModule::GetVolumePath ( ) const
inline

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

Definition at line 106 of file AliMUONGeometryModule.h.

Referenced by AliMUONVGeometryBuilder::SetMotherVolume(), AliMUONVGeometryBuilder::SetVolume(), and AliMUONVGeometryBuilder::UpdateDetElements().

Bool_t AliMUONGeometryModule::IsSensitiveVolume ( Int_t  volId) const

Check if the volume specified by volId is present in the list of sensitive volumes.

Definition at line 179 of file AliMUONGeometryModule.cxx.

Referenced by AliMUONv1::GetGeomModuleId(), IsSensitiveVolume(), and AliMUONVGeometryBuilder::MapSV().

Bool_t AliMUONGeometryModule::IsSensitiveVolume ( const TString &  volName) const

Check if the volume specified by volName is present in the list of sensitive volumes.

Definition at line 191 of file AliMUONGeometryModule.cxx.

Bool_t AliMUONGeometryModule::IsVirtual ( ) const
inline

Return true if module is not represented by a real volume.

Definition at line 98 of file AliMUONGeometryModule.h.

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

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

Not implemented.

void AliMUONGeometryModule::SetAlign ( Bool_t  align)

Set alignement option to envelope store.

Definition at line 157 of file AliMUONGeometryModule.cxx.

Referenced by AliMUONGeometryBuilder::SetAlignToBuilder().

void AliMUONGeometryModule::SetIsVirtual ( Bool_t  isVirtual)
inline

Set virtuality (true if module is not represented by a real volume)

Definition at line 94 of file AliMUONGeometryModule.h.

Referenced by AliMUONVGeometryBuilder::SetVolume().

void AliMUONGeometryModule::SetSensitiveVolume ( const TString &  name)

Add the volume specified by volName to the list of sensitive volumes

Definition at line 148 of file AliMUONGeometryModule.cxx.

void AliMUONGeometryModule::SetTransformation ( const TGeoCombiTrans &  transform)

Set the module position wrt world.

Definition at line 120 of file AliMUONGeometryModule.cxx.

Referenced by AliMUONVGeometryBuilder::SetTransformation(), and AliMUONVGeometryBuilder::SetTranslation().

void AliMUONGeometryModule::SetVolumePath ( const TString &  volumePath)

Set the volume path to transformer

Definition at line 128 of file AliMUONGeometryModule.cxx.

Referenced by AliMUONVGeometryBuilder::SetMotherVolume(), and AliMUONVGeometryBuilder::SetVolume().

Member Data Documentation

AliMUONGeometryEnvelopeStore* AliMUONGeometryModule::fEnvelopes
private

envelopes

Definition at line 84 of file AliMUONGeometryModule.h.

Referenced by GetEnvelopeStore(), SetAlign(), and ~AliMUONGeometryModule().

Bool_t AliMUONGeometryModule::fIsVirtual
private

true if module is not represented by a real volume

Definition at line 79 of file AliMUONGeometryModule.h.

Referenced by IsVirtual(), and SetIsVirtual().

Int_t AliMUONGeometryModule::fNofSVs
private

number of sensitive volumes

Definition at line 81 of file AliMUONGeometryModule.h.

Referenced by GetSVIndex(), IsSensitiveVolume(), and SetSensitiveVolume().

AliMUONStringIntMap* AliMUONGeometryModule::fSVMap
private

sensitive volumes map

Definition at line 85 of file AliMUONGeometryModule.h.

Referenced by FindBySensitiveVolume(), GetSVMap(), and ~AliMUONGeometryModule().

TArrayI* AliMUONGeometryModule::fSVVolumeIds
private

sensitive volumes IDs

Definition at line 82 of file AliMUONGeometryModule.h.

Referenced by GetSVIndex(), IsSensitiveVolume(), SetSensitiveVolume(), and ~AliMUONGeometryModule().

AliMUONGeometryModuleTransformer* AliMUONGeometryModule::fTransformer
private

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