![]() |
AliRoot Core
v5-06-15 (45dab64)
|
Store for temporary volumes envelopes. More...
#include <AliMUONGeometryEnvelopeStore.h>
Public Member Functions | |
AliMUONGeometryEnvelopeStore (AliMpExMap *detElements) | |
AliMUONGeometryEnvelopeStore () | |
virtual | ~AliMUONGeometryEnvelopeStore () |
void | AddEnvelope (const TString &name, Int_t id, Bool_t isVirtual, const char *only="ONLY") |
void | AddEnvelope (const TString &name, Int_t id, Bool_t isVirtual, const TGeoTranslation &translation, const char *only="ONLY") |
void | AddEnvelope (const TString &name, Int_t id, Bool_t isVirtual, const TGeoTranslation &translation, const TGeoRotation &rotation, const char *only="ONLY") |
void | AddEnvelope (const TString &name, Int_t id, Bool_t isVirtual, const TGeoCombiTrans &transform, const char *only="ONLY") |
void | AddEnvelope (const TString &name, Int_t id, Int_t copyNo, const char *only="ONLY") |
void | AddEnvelope (const TString &name, Int_t id, Int_t copyNo, const TGeoTranslation &translation, const char *only="ONLY") |
void | AddEnvelope (const TString &name, Int_t id, Int_t copyNo, const TGeoTranslation &translation, const TGeoRotation &rotation, const char *only="ONLY") |
void | AddEnvelope (const TString &name, Int_t id, Int_t copyNo, const TGeoCombiTrans &transform, const char *only="ONLY") |
void | AddEnvelopeConstituent (const TString &name, const TString &envName, Int_t copyNo) |
void | AddEnvelopeConstituent (const TString &name, const TString &envName, Int_t copyNo, const TGeoTranslation &translation) |
void | AddEnvelopeConstituent (const TString &name, const TString &envName, Int_t copyNo, const TGeoTranslation &translation, const TGeoRotation &rotation) |
void | AddEnvelopeConstituent (const TString &name, const TString &envName, Int_t copyNo, const TGeoCombiTrans &transform) |
void | AddEnvelopeConstituentParam (const TString &name, const TString &envName, Int_t copyNo, Int_t npar, Double_t *param) |
void | AddEnvelopeConstituentParam (const TString &name, const TString &envName, Int_t copyNo, const TGeoTranslation &translation, Int_t npar, Double_t *param) |
void | AddEnvelopeConstituentParam (const TString &name, const TString &envName, Int_t copyNo, const TGeoTranslation &translation, const TGeoRotation &rotation, Int_t npar, Double_t *param) |
void | AddEnvelopeConstituentParam (const TString &name, const TString &envName, Int_t copyNo, const TGeoCombiTrans &transform, Int_t npar, Double_t *param) |
void | SetDebug (Bool_t debug) |
void | SetReferenceFrame (const TGeoCombiTrans &referenceFrame) |
virtual Bool_t | GetAlign () const |
Return align option - if true, transformations are read from a file. More... | |
virtual void | SetAlign (Bool_t align) |
Set align option - if true, transformations are read from a file. More... | |
const TObjArray * | GetEnvelopes () const |
Int_t | GetNofDetElements () const |
AliMUONGeometryEnvelope * | FindEnvelope (const TString &name) const |
Protected Member Functions | |
AliMUONGeometryEnvelopeStore (const AliMUONGeometryEnvelopeStore &rhs) | |
Not implemented. More... | |
AliMUONGeometryEnvelopeStore & | operator= (const AliMUONGeometryEnvelopeStore &rhs) |
Not implemented. More... | |
Private Member Functions | |
TGeoHMatrix | ConvertDETransform (const TGeoHMatrix &transform) const |
Bool_t | AlignEnvelope (AliMUONGeometryEnvelope *envelope) const |
Private Attributes | |
TObjArray * | fEnvelopes |
the envelopes names and transformations More... | |
AliMpExMap * | fDetElements |
wrt to the chamber position in mother volume More... | |
TGeoCombiTrans | fReferenceFrame |
the transformation from the builder reference frame to that of the transform More... | |
Bool_t | fDebug |
data files More... | |
Bool_t | fAlign |
option to read transformations from a file More... | |
Store for temporary volumes envelopes.
Class for definititon of the temporary volume envelopes used in geometry construction
Definition at line 32 of file AliMUONGeometryEnvelopeStore.h.
AliMUONGeometryEnvelopeStore::AliMUONGeometryEnvelopeStore | ( | AliMpExMap * | detElements | ) |
Standard constructor
Definition at line 47 of file AliMUONGeometryEnvelopeStore.cxx.
AliMUONGeometryEnvelopeStore::AliMUONGeometryEnvelopeStore | ( | ) |
Default constructor
Definition at line 63 of file AliMUONGeometryEnvelopeStore.cxx.
|
virtual |
Destructor
Definition at line 76 of file AliMUONGeometryEnvelopeStore.cxx.
|
protected |
Not implemented.
void AliMUONGeometryEnvelopeStore::AddEnvelope | ( | const TString & | name, |
Int_t | id, | ||
Bool_t | isVirtual, | ||
const char * | only = "ONLY" |
||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 154 of file AliMUONGeometryEnvelopeStore.cxx.
Referenced by AliMUONTriggerGeometryBuilder::BuildChamberTypeA(), AliMUONTriggerGeometryBuilder::BuildChamberTypeB(), AliMUONTriggerGeometryBuilder::BuildChamberTypeD(), AliMUONTriggerGeometryBuilder::BuildChamberTypeE(), AliMUONTriggerGeometryBuilder::BuildChamberTypeF(), AliMUONTriggerGeometryBuilder::BuildRPCSupportsVertical(), AliMUONSt2GeometryBuilder::CreateGeometry(), AliMUONSt2GeometryBuilderV2::CreateGeometry(), AliMUONSt1GeometryBuilder::CreateGeometry(), AliMUONSlatGeometryBuilder::CreateGeometry(), and AliMUONSt1GeometryBuilderV2::CreateGeometry().
void AliMUONGeometryEnvelopeStore::AddEnvelope | ( | const TString & | name, |
Int_t | id, | ||
Bool_t | isVirtual, | ||
const TGeoTranslation & | translation, | ||
const char * | only = "ONLY" |
||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 174 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelope | ( | const TString & | name, |
Int_t | id, | ||
Bool_t | isVirtual, | ||
const TGeoTranslation & | translation, | ||
const TGeoRotation & | rotation, | ||
const char * | only = "ONLY" |
||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 204 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelope | ( | const TString & | name, |
Int_t | id, | ||
Bool_t | isVirtual, | ||
const TGeoCombiTrans & | transform, | ||
const char * | only = "ONLY" |
||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 251 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelope | ( | const TString & | name, |
Int_t | id, | ||
Int_t | copyNo, | ||
const char * | only = "ONLY" |
||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 284 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelope | ( | const TString & | name, |
Int_t | id, | ||
Int_t | copyNo, | ||
const TGeoTranslation & | translation, | ||
const char * | only = "ONLY" |
||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 308 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelope | ( | const TString & | name, |
Int_t | id, | ||
Int_t | copyNo, | ||
const TGeoTranslation & | translation, | ||
const TGeoRotation & | rotation, | ||
const char * | only = "ONLY" |
||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 338 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelope | ( | const TString & | name, |
Int_t | id, | ||
Int_t | copyNo, | ||
const TGeoCombiTrans & | transform, | ||
const char * | only = "ONLY" |
||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 374 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelopeConstituent | ( | const TString & | name, |
const TString & | envName, | ||
Int_t | copyNo | ||
) |
Add the volume with the specified name and transformation as a constituent of the envelope envName.
Definition at line 407 of file AliMUONGeometryEnvelopeStore.cxx.
Referenced by AliMUONSlatGeometryBuilder::CreateGeometry(), AliMUONSt2GeometryBuilder::CreateGeometry(), and AliMUONSt1GeometryBuilderV2::CreateGeometry().
void AliMUONGeometryEnvelopeStore::AddEnvelopeConstituent | ( | const TString & | name, |
const TString & | envName, | ||
Int_t | copyNo, | ||
const TGeoTranslation & | translation | ||
) |
Add the volume with the specified name and transformation as a constituent of the envelope envName.
Definition at line 430 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelopeConstituent | ( | const TString & | name, |
const TString & | envName, | ||
Int_t | copyNo, | ||
const TGeoTranslation & | translation, | ||
const TGeoRotation & | rotation | ||
) |
Add the volume with the specified name and transformation as a constituent of the envelope envName.
Definition at line 455 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelopeConstituent | ( | const TString & | name, |
const TString & | envName, | ||
Int_t | copyNo, | ||
const TGeoCombiTrans & | transform | ||
) |
Add the volume with the specified name and transformation as a constituent of the envelope envName.
Definition at line 481 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelopeConstituentParam | ( | const TString & | name, |
const TString & | envName, | ||
Int_t | copyNo, | ||
Int_t | npar, | ||
Double_t * | param | ||
) |
Add the volume with the specified name and transformation as a constituent of the envelope envName.
Definition at line 506 of file AliMUONGeometryEnvelopeStore.cxx.
Referenced by AliMUONTriggerGeometryBuilder::BuildChamberTypeA(), AliMUONTriggerGeometryBuilder::BuildChamberTypeB(), AliMUONTriggerGeometryBuilder::BuildChamberTypeD(), AliMUONTriggerGeometryBuilder::BuildChamberTypeE(), AliMUONTriggerGeometryBuilder::BuildChamberTypeF(), and AliMUONTriggerGeometryBuilder::BuildRPCSupportsVertical().
void AliMUONGeometryEnvelopeStore::AddEnvelopeConstituentParam | ( | const TString & | name, |
const TString & | envName, | ||
Int_t | copyNo, | ||
const TGeoTranslation & | translation, | ||
Int_t | npar, | ||
Double_t * | param | ||
) |
Add the volume with the specified name and transformation as a constituent of the envelope envName.
Definition at line 530 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelopeConstituentParam | ( | const TString & | name, |
const TString & | envName, | ||
Int_t | copyNo, | ||
const TGeoTranslation & | translation, | ||
const TGeoRotation & | rotation, | ||
Int_t | npar, | ||
Double_t * | param | ||
) |
Add the volume with the specified name and transformation as a constituent of the envelope envName.
Definition at line 556 of file AliMUONGeometryEnvelopeStore.cxx.
void AliMUONGeometryEnvelopeStore::AddEnvelopeConstituentParam | ( | const TString & | name, |
const TString & | envName, | ||
Int_t | copyNo, | ||
const TGeoCombiTrans & | transform, | ||
Int_t | npar, | ||
Double_t * | param | ||
) |
Add the volume with the specified name and transformation as a constituent of the envelope envName.
Definition at line 583 of file AliMUONGeometryEnvelopeStore.cxx.
|
private |
Find transformation by the detection element Id (if not 0) (= unique ID of enevelope) and set it to the envelope. Return true if transformation is applied, false otherwise.
Definition at line 123 of file AliMUONGeometryEnvelopeStore.cxx.
Referenced by AddEnvelope().
|
private |
Convert transformation into the reference frame
Definition at line 94 of file AliMUONGeometryEnvelopeStore.cxx.
Referenced by AlignEnvelope().
AliMUONGeometryEnvelope * AliMUONGeometryEnvelopeStore::FindEnvelope | ( | const TString & | name | ) | const |
Find the envelope specified by name.
Definition at line 108 of file AliMUONGeometryEnvelopeStore.cxx.
Referenced by AddEnvelopeConstituent(), AddEnvelopeConstituentParam(), and AliMUONVGeometryBuilder::GetModuleId().
|
inlinevirtual |
Return align option - if true, transformations are read from a file.
Definition at line 157 of file AliMUONGeometryEnvelopeStore.h.
|
inline |
Return the array of the envelopes names and transformations wrt to the chamber position in mother volume
Definition at line 166 of file AliMUONGeometryEnvelopeStore.h.
Referenced by AliMUONGeometryBuilder::CreateGeometryWithoutTGeo(), AliMUONGeometryBuilder::CreateGeometryWithTGeo(), AliMUONVGeometryBuilder::RebuildSVMaps(), and AliMUONVGeometryBuilder::UpdateDetElements().
Int_t AliMUONGeometryEnvelopeStore::GetNofDetElements | ( | ) | const |
Return the number od envelopes with detElemId>0.
Definition at line 609 of file AliMUONGeometryEnvelopeStore.cxx.
|
protected |
Not implemented.
|
inlinevirtual |
Set align option - if true, transformations are read from a file.
Definition at line 161 of file AliMUONGeometryEnvelopeStore.h.
Referenced by AliMUONGeometryModule::SetAlign().
|
inline |
Set debug option
Definition at line 153 of file AliMUONGeometryEnvelopeStore.h.
|
inline |
Set the transformation from the builder reference frame to that of the transform data files
Definition at line 172 of file AliMUONGeometryEnvelopeStore.h.
Referenced by AliMUONVGeometryBuilder::SetReferenceFrame().
|
private |
option to read transformations from a file
Definition at line 144 of file AliMUONGeometryEnvelopeStore.h.
Referenced by AddEnvelope(), GetAlign(), and SetAlign().
|
private |
data files
Switch for debugging
Definition at line 143 of file AliMUONGeometryEnvelopeStore.h.
Referenced by AddEnvelope(), AddEnvelopeConstituent(), AddEnvelopeConstituentParam(), and SetDebug().
|
private |
wrt to the chamber position in mother volume
detection elements used for alignement of envelopes
Definition at line 138 of file AliMUONGeometryEnvelopeStore.h.
Referenced by AlignEnvelope().
|
private |
the envelopes names and transformations
Definition at line 136 of file AliMUONGeometryEnvelopeStore.h.
Referenced by AddEnvelope(), FindEnvelope(), GetEnvelopes(), GetNofDetElements(), and ~AliMUONGeometryEnvelopeStore().
|
private |
the transformation from the builder reference frame to that of the transform
Definition at line 140 of file AliMUONGeometryEnvelopeStore.h.
Referenced by ConvertDETransform(), and SetReferenceFrame().