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

Container class for geometry modules. More...

#include <AliMUONGeometry.h>

Inheritance diagram for AliMUONGeometry:

Public Member Functions

 AliMUONGeometry (Bool_t isOwner)
 
 AliMUONGeometry ()
 
virtual ~AliMUONGeometry ()
 
void AddModule (AliMUONGeometryModule *module)
 
Bool_t ReadSVMap (const TString &fileName)
 
Bool_t WriteSVMap (const TString &fileName) const
 
const AliMUONGeometryModuleGetModule (Int_t index, Bool_t warn=true) const
 
const AliMUONGeometryModuleGetModuleByDEId (Int_t detElemId, Bool_t warn=true) const
 
AliMUONGeometryTransformerGetTransformer () const
 Return geometry transformer. More...
 

Protected Member Functions

 AliMUONGeometry (const AliMUONGeometry &right)
 Not implemented. More...
 
AliMUONGeometryoperator= (const AliMUONGeometry &right)
 Not implemented. More...
 

Private Member Functions

TString ComposePath (const TString &volName, Int_t copyNo) const
 
void FillData3 (const TString &sensVolumePath, Int_t detElemId)
 
TString ReadData3 (ifstream &in)
 
void WriteData3 (ofstream &out) const
 

Private Attributes

TObjArrayfModules
 Array of geometry modules. More...
 
AliMUONGeometryTransformerfTransformer
 Geometry transformer. More...
 

Detailed Description

Container class for geometry modules.

Author
Ivana Hrivnacova, IPN Orsay

Definition at line 26 of file AliMUONGeometry.h.

Constructor & Destructor Documentation

AliMUONGeometry::AliMUONGeometry ( Bool_t  isOwner)

Standard constructor

Definition at line 48 of file AliMUONGeometry.cxx.

AliMUONGeometry::AliMUONGeometry ( )

Default constructor

Definition at line 66 of file AliMUONGeometry.cxx.

AliMUONGeometry::~AliMUONGeometry ( )
virtual

Destructor

Definition at line 75 of file AliMUONGeometry.cxx.

AliMUONGeometry::AliMUONGeometry ( const AliMUONGeometry right)
protected

Not implemented.

Member Function Documentation

void AliMUONGeometry::AddModule ( AliMUONGeometryModule module)

Add the geometry module to the array

Definition at line 179 of file AliMUONGeometry.cxx.

Referenced by AliMUONGeometryBuilder::AddBuilder().

TString AliMUONGeometry::ComposePath ( const TString &  volName,
Int_t  copyNo 
) const
private

Compose path from given volName and copyNo

Definition at line 88 of file AliMUONGeometry.cxx.

void AliMUONGeometry::FillData3 ( const TString &  sensVolumePath,
Int_t  detElemId 
)
private

Fill the mapping of the sensitive volume path to the detection element.

Definition at line 101 of file AliMUONGeometry.cxx.

Referenced by ReadData3().

const AliMUONGeometryModule * AliMUONGeometry::GetModule ( Int_t  index,
Bool_t  warn = true 
) const

Return the geometry module specified by index

Definition at line 260 of file AliMUONGeometry.cxx.

Referenced by AliMUONv1::GetGeomModuleId(), GetModuleByDEId(), and AliMUONv1::StepManager().

const AliMUONGeometryModule * AliMUONGeometry::GetModuleByDEId ( Int_t  detElemId,
Bool_t  warn = true 
) const

Return the geometry module specified by detElemId

Definition at line 277 of file AliMUONGeometry.cxx.

AliMUONGeometry& AliMUONGeometry::operator= ( const AliMUONGeometry right)
protected

Not implemented.

TString AliMUONGeometry::ReadData3 ( ifstream &  in)
private

Read SV maps from a file. Return true, if reading finished correctly.

Definition at line 128 of file AliMUONGeometry.cxx.

Referenced by ReadSVMap().

Bool_t AliMUONGeometry::ReadSVMap ( const TString &  fileName)

Read the sensitive volume maps from a file. Return true, if reading finished correctly.

Definition at line 191 of file AliMUONGeometry.cxx.

Referenced by AliMUONGeometryBuilder::InitGeometry().

void AliMUONGeometry::WriteData3 ( ofstream &  out) const
private

Write association of sensitive volumes and detection elements from the sensitive volume map

Definition at line 158 of file AliMUONGeometry.cxx.

Referenced by WriteSVMap().

Bool_t AliMUONGeometry::WriteSVMap ( const TString &  fileName) const

Write sensitive volume map into a file. Return true, if writing finished correctly.

Definition at line 229 of file AliMUONGeometry.cxx.

Referenced by AliMUONGeometryBuilder::WriteSVMaps().

Member Data Documentation

TObjArray* AliMUONGeometry::fModules
private

Array of geometry modules.

Definition at line 64 of file AliMUONGeometry.h.

Referenced by AddModule(), FillData3(), GetModule(), ReadSVMap(), WriteData3(), WriteSVMap(), and ~AliMUONGeometry().

AliMUONGeometryTransformer* AliMUONGeometry::fTransformer
private

Geometry transformer.

Definition at line 65 of file AliMUONGeometry.h.

Referenced by AddModule(), GetTransformer(), and ~AliMUONGeometry().


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