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

Store for temporary volumes envelopes. More...

#include <AliMUONGeometryEnvelopeStore.h>

Inheritance diagram for AliMUONGeometryEnvelopeStore:

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 TObjArrayGetEnvelopes () const
 
Int_t GetNofDetElements () const
 
AliMUONGeometryEnvelopeFindEnvelope (const TString &name) const
 

Protected Member Functions

 AliMUONGeometryEnvelopeStore (const AliMUONGeometryEnvelopeStore &rhs)
 Not implemented. More...
 
AliMUONGeometryEnvelopeStoreoperator= (const AliMUONGeometryEnvelopeStore &rhs)
 Not implemented. More...
 

Private Member Functions

TGeoHMatrix ConvertDETransform (const TGeoHMatrix &transform) const
 
Bool_t AlignEnvelope (AliMUONGeometryEnvelope *envelope) const
 

Private Attributes

TObjArrayfEnvelopes
 the envelopes names and transformations More...
 
AliMpExMapfDetElements
 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...
 

Detailed Description

Store for temporary volumes envelopes.

Class for definititon of the temporary volume envelopes used in geometry construction

Author
Ivana Hrivnacova, IPN Orsay

Definition at line 32 of file AliMUONGeometryEnvelopeStore.h.

Constructor & Destructor Documentation

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.

AliMUONGeometryEnvelopeStore::~AliMUONGeometryEnvelopeStore ( )
virtual

Destructor

Definition at line 76 of file AliMUONGeometryEnvelopeStore.cxx.

AliMUONGeometryEnvelopeStore::AliMUONGeometryEnvelopeStore ( const AliMUONGeometryEnvelopeStore rhs)
protected

Not implemented.

Member Function Documentation

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 
)
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.

Bool_t AliMUONGeometryEnvelopeStore::AlignEnvelope ( AliMUONGeometryEnvelope envelope) const
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().

TGeoHMatrix AliMUONGeometryEnvelopeStore::ConvertDETransform ( const TGeoHMatrix &  transform) const
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().

Bool_t AliMUONGeometryEnvelopeStore::GetAlign ( ) const
inlinevirtual

Return align option - if true, transformations are read from a file.

Definition at line 157 of file AliMUONGeometryEnvelopeStore.h.

const TObjArray * AliMUONGeometryEnvelopeStore::GetEnvelopes ( ) const
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.

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

Not implemented.

void AliMUONGeometryEnvelopeStore::SetAlign ( Bool_t  align)
inlinevirtual

Set align option - if true, transformations are read from a file.

Definition at line 161 of file AliMUONGeometryEnvelopeStore.h.

Referenced by AliMUONGeometryModule::SetAlign().

void AliMUONGeometryEnvelopeStore::SetDebug ( Bool_t  debug)
inline

Set debug option

Deprecated:
  • use AliLog instead

Definition at line 153 of file AliMUONGeometryEnvelopeStore.h.

void AliMUONGeometryEnvelopeStore::SetReferenceFrame ( const TGeoCombiTrans &  referenceFrame)
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().

Member Data Documentation

Bool_t AliMUONGeometryEnvelopeStore::fAlign
private

option to read transformations from a file

Definition at line 144 of file AliMUONGeometryEnvelopeStore.h.

Referenced by AddEnvelope(), GetAlign(), and SetAlign().

Bool_t AliMUONGeometryEnvelopeStore::fDebug
private

data files

Switch for debugging

Deprecated:
  • use AliLog instead

Definition at line 143 of file AliMUONGeometryEnvelopeStore.h.

Referenced by AddEnvelope(), AddEnvelopeConstituent(), AddEnvelopeConstituentParam(), and SetDebug().

AliMpExMap* AliMUONGeometryEnvelopeStore::fDetElements
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().

TObjArray* AliMUONGeometryEnvelopeStore::fEnvelopes
private

the envelopes names and transformations

Definition at line 136 of file AliMUONGeometryEnvelopeStore.h.

Referenced by AddEnvelope(), FindEnvelope(), GetEnvelopes(), GetNofDetElements(), and ~AliMUONGeometryEnvelopeStore().

TGeoCombiTrans AliMUONGeometryEnvelopeStore::fReferenceFrame
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().


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