![]() |
AliRoot Core
edcc906 (edcc906)
|
Container class for geometry modules. More...
#include <AliMUONGeometry.h>
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 AliMUONGeometryModule * | GetModule (Int_t index, Bool_t warn=true) const |
const AliMUONGeometryModule * | GetModuleByDEId (Int_t detElemId, Bool_t warn=true) const |
AliMUONGeometryTransformer * | GetTransformer () const |
Return geometry transformer. More... | |
Protected Member Functions | |
AliMUONGeometry (const AliMUONGeometry &right) | |
Not implemented. More... | |
AliMUONGeometry & | operator= (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 | |
TObjArray * | fModules |
Array of geometry modules. More... | |
AliMUONGeometryTransformer * | fTransformer |
Geometry transformer. More... | |
Container class for geometry modules.
Definition at line 26 of file AliMUONGeometry.h.
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.
|
virtual |
Destructor
Definition at line 75 of file AliMUONGeometry.cxx.
|
protected |
Not implemented.
void AliMUONGeometry::AddModule | ( | AliMUONGeometryModule * | module | ) |
Add the geometry module to the array
Definition at line 179 of file AliMUONGeometry.cxx.
Referenced by AliMUONGeometryBuilder::AddBuilder().
|
private |
Compose path from given volName and copyNo
Definition at line 88 of file AliMUONGeometry.cxx.
|
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.
|
inline |
Return geometry transformer.
Definition at line 71 of file AliMUONGeometry.h.
Referenced by AliMUONGeometryBuilder::CreateGeometryWithoutTGeo(), AliMUONGeometryBuilder::CreateGeometryWithTGeo(), AliMUON::GetGeometryTransformer(), AliMUONGeometryBuilder::GetTransformer(), AliMUONGeometryBuilder::InitGeometry(), and AliMUONGeometryBuilder::UpdateInternalGeometry().
|
protected |
Not implemented.
|
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().
|
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().
|
private |
Array of geometry modules.
Definition at line 64 of file AliMUONGeometry.h.
Referenced by AddModule(), FillData3(), GetModule(), ReadSVMap(), WriteData3(), WriteSVMap(), and ~AliMUONGeometry().
|
private |
Geometry transformer.
Definition at line 65 of file AliMUONGeometry.h.
Referenced by AddModule(), GetTransformer(), and ~AliMUONGeometry().