13 #ifndef ALI_MUONV_GEOMETRY_BUILDER_H
14 #define ALI_MUONV_GEOMETRY_BUILDER_H
19 #include <TObjArray.h>
20 #include <TGeoMatrix.h>
22 class TGeoTranslation;
98 const TGeoTranslation& translation);
100 const TGeoTranslation& translation,
101 const TGeoRotation& rotation);
104 void SetVolume(Int_t moduleId,
const TString& volumeName,
105 Bool_t isVirtual =
false);
118 TString
ComposePath(
const TString& volName, Int_t copyNo)
const;
119 void MapSV(
const TString& path0,
120 const TString& volName, Int_t detElemId)
const;
142 #endif //ALI_MUONV_GEOMETRY_BUILDER_H
virtual void CreateGeometry()=0
Abstract base class for geometry construction per module(s)
virtual void CreateMaterials()
TGeoHMatrix ConvertTransform(const TGeoHMatrix &transform) const
void SetMotherVolume(Int_t moduleId, const TString &volumeName)
void UpdateDetElements(Bool_t create) const
Int_t GetModuleId(const TString &envName) const
virtual ~AliMUONVGeometryBuilder()
void SetTransformation(Int_t moduleId, const TGeoTranslation &translation, const TGeoRotation &rotation)
AliMUONStringIntMap * GetSVMap(Int_t moduleId) const
TGeoCombiTrans fReferenceFrame
the transformation from the builder reference frame to that of the transform
AliMUONVGeometryBuilder()
virtual void SetTransformations()=0
Substitutes map <string, int> which ALICE does not allow to use.
AliMUONGeometryModule * Geometry(Int_t i) const
Return the i th geometry module.
void SetTranslation(Int_t moduleId, const TGeoTranslation &translation)
TString ComposePath(const TString &volName, Int_t copyNo) const
AliMUONGeometryModule * GetGeometry(Int_t moduleId) const
AliMUONVGeometryBuilder & operator=(const AliMUONVGeometryBuilder &rhs)
Not implemented.
Store for temporary volumes envelopes.
virtual void SetVolumes()=0
and eventually the mother volume name should be defined
TGeoHMatrix ConvertDETransform(const TGeoHMatrix &transform) const
void MapSV(const TString &path0, const TString &volName, Int_t detElemId) const
AliMUONGeometryEnvelopeStore * GetEnvelopes(Int_t moduleId) const
TObjArray * fGeometryModules
the modules geometries that will be built by this builder
void SetReferenceFrame(const TGeoCombiTrans &referenceFrame)
void SetVolume(Int_t moduleId, const TString &volumeName, Bool_t isVirtual=false)
virtual bool ApplyGlobalTransformation()
Geometry parameters for detector module.
Int_t NofGeometries() const
Return the number of geometry modules.
virtual void SetSensitiveVolumes()=0
void RebuildSVMaps(Bool_t withEnvelopes=true) const