![]() |
AliRoot Core
a565103 (a565103)
|
Geometry envelope helper class. More...
#include <AliMUONGeometryEnvelope.h>
Public Member Functions | |
AliMUONGeometryEnvelope (const TString &name, Int_t id, Bool_t isVirtual, const char *only) | |
AliMUONGeometryEnvelope (const TString &name, Int_t id, Int_t copyNo, const char *only) | |
AliMUONGeometryEnvelope () | |
virtual | ~AliMUONGeometryEnvelope () |
void | AddConstituent (const TString &name, Int_t copyNo) |
void | AddConstituent (const TString &name, Int_t copyNo, const TGeoTranslation &translation) |
void | AddConstituent (const TString &name, Int_t copyNo, const TGeoTranslation &translation, const TGeoRotation &rotation) |
void | AddConstituent (const TString &name, Int_t copyNo, const TGeoCombiTrans &transform) |
void | AddConstituentParam (const TString &name, Int_t copyNo, Int_t npar, Double_t *param) |
void | AddConstituentParam (const TString &name, Int_t copyNo, const TGeoTranslation &translation, Int_t npar, Double_t *param) |
void | AddConstituentParam (const TString &name, Int_t copyNo, const TGeoTranslation &translation, const TGeoRotation &rotation, Int_t npar, Double_t *param) |
void | AddConstituentParam (const TString &name, Int_t copyNo, const TGeoCombiTrans &transform, Int_t npar, Double_t *param) |
void | SetTranslation (const TGeoTranslation &translation) |
void | SetRotation (const TGeoRotation &rotation) |
void | SetTransform (const TGeoCombiTrans &transform) |
Bool_t | IsVirtual () const |
Return true if envelope is virtual. More... | |
Bool_t | IsMANY () const |
Return true if envelope is placed with MANY option. More... | |
Int_t | GetCopyNo () const |
Return copy number. More... | |
const TGeoCombiTrans * | GetTransformation () const |
const TObjArray * | GetConstituents () const |
Protected Member Functions | |
AliMUONGeometryEnvelope (const AliMUONGeometryEnvelope &rhs) | |
Not implemented. More... | |
AliMUONGeometryEnvelope & | operator= (const AliMUONGeometryEnvelope &rhs) |
Not implemented. More... | |
Private Attributes | |
Bool_t | fIsVirtual |
true if envelope is not represented by a real volume More... | |
Bool_t | fIsMANY |
true if envelope is placed with MANY option More... | |
Int_t | fCopyNo |
copy number (only non virtual envelope can have More... | |
TGeoCombiTrans * | fTransformation |
more than one copy) More... | |
TObjArray * | fConstituents |
the constituents names and transformations More... | |
Geometry envelope helper class.
Helper class for definititon of an assembly of volumes.
Definition at line 25 of file AliMUONGeometryEnvelope.h.
AliMUONGeometryEnvelope::AliMUONGeometryEnvelope | ( | const TString & | name, |
Int_t | id, | ||
Bool_t | isVirtual, | ||
const char * | only | ||
) |
Standard constructor
Definition at line 39 of file AliMUONGeometryEnvelope.cxx.
AliMUONGeometryEnvelope::AliMUONGeometryEnvelope | ( | const TString & | name, |
Int_t | id, | ||
Int_t | copyNo, | ||
const char * | only | ||
) |
Standard constructor for a non virtual enevelope with a specified copy number
Definition at line 64 of file AliMUONGeometryEnvelope.cxx.
AliMUONGeometryEnvelope::AliMUONGeometryEnvelope | ( | ) |
Default constructor
Definition at line 90 of file AliMUONGeometryEnvelope.cxx.
|
virtual |
Destructor
Definition at line 102 of file AliMUONGeometryEnvelope.cxx.
|
protected |
Not implemented.
void AliMUONGeometryEnvelope::AddConstituent | ( | const TString & | name, |
Int_t | copyNo | ||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 121 of file AliMUONGeometryEnvelope.cxx.
Referenced by AliMUONGeometryEnvelopeStore::AddEnvelopeConstituent().
void AliMUONGeometryEnvelope::AddConstituent | ( | const TString & | name, |
Int_t | copyNo, | ||
const TGeoTranslation & | translation | ||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 130 of file AliMUONGeometryEnvelope.cxx.
void AliMUONGeometryEnvelope::AddConstituent | ( | const TString & | name, |
Int_t | copyNo, | ||
const TGeoTranslation & | translation, | ||
const TGeoRotation & | rotation | ||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 141 of file AliMUONGeometryEnvelope.cxx.
void AliMUONGeometryEnvelope::AddConstituent | ( | const TString & | name, |
Int_t | copyNo, | ||
const TGeoCombiTrans & | transform | ||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 154 of file AliMUONGeometryEnvelope.cxx.
void AliMUONGeometryEnvelope::AddConstituentParam | ( | const TString & | name, |
Int_t | copyNo, | ||
Int_t | npar, | ||
Double_t * | param | ||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 166 of file AliMUONGeometryEnvelope.cxx.
Referenced by AliMUONGeometryEnvelopeStore::AddEnvelopeConstituentParam().
void AliMUONGeometryEnvelope::AddConstituentParam | ( | const TString & | name, |
Int_t | copyNo, | ||
const TGeoTranslation & | translation, | ||
Int_t | npar, | ||
Double_t * | param | ||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 177 of file AliMUONGeometryEnvelope.cxx.
void AliMUONGeometryEnvelope::AddConstituentParam | ( | const TString & | name, |
Int_t | copyNo, | ||
const TGeoTranslation & | translation, | ||
const TGeoRotation & | rotation, | ||
Int_t | npar, | ||
Double_t * | param | ||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 190 of file AliMUONGeometryEnvelope.cxx.
void AliMUONGeometryEnvelope::AddConstituentParam | ( | const TString & | name, |
Int_t | copyNo, | ||
const TGeoCombiTrans & | transform, | ||
Int_t | npar, | ||
Double_t * | param | ||
) |
Add the volume with the specified name and transformation to the list of envelopes.
Definition at line 204 of file AliMUONGeometryEnvelope.cxx.
|
inline |
Return the array of constituents names and transformations wrt to the envelope position
Definition at line 112 of file AliMUONGeometryEnvelope.h.
Referenced by AliMUONGeometryBuilder::CreateGeometryWithoutTGeo(), AliMUONGeometryBuilder::CreateGeometryWithTGeo(), and AliMUONVGeometryBuilder::RebuildSVMaps().
|
inline |
Return copy number.
Definition at line 102 of file AliMUONGeometryEnvelope.h.
Referenced by AliMUONGeometryBuilder::CreateGeometryWithoutTGeo(), AliMUONGeometryBuilder::CreateGeometryWithTGeo(), AliMUONVGeometryBuilder::RebuildSVMaps(), and AliMUONVGeometryBuilder::UpdateDetElements().
|
inline |
Return the envelope transformation wrt to the mother frame (the chamber position)
Definition at line 107 of file AliMUONGeometryEnvelope.h.
Referenced by AliMUONGeometryBuilder::CreateGeometryWithoutTGeo(), AliMUONGeometryBuilder::CreateGeometryWithTGeo(), and AliMUONVGeometryBuilder::UpdateDetElements().
|
inline |
Return true if envelope is placed with MANY option.
Definition at line 98 of file AliMUONGeometryEnvelope.h.
Referenced by AliMUONGeometryBuilder::CreateGeometryWithoutTGeo(), and AliMUONGeometryBuilder::CreateGeometryWithTGeo().
|
inline |
Return true if envelope is virtual.
Definition at line 94 of file AliMUONGeometryEnvelope.h.
Referenced by AliMUONGeometryBuilder::CreateGeometryWithoutTGeo(), AliMUONGeometryBuilder::CreateGeometryWithTGeo(), and AliMUONVGeometryBuilder::RebuildSVMaps().
|
protected |
Not implemented.
void AliMUONGeometryEnvelope::SetRotation | ( | const TGeoRotation & | rotation | ) |
Set the envelope rotation
Definition at line 227 of file AliMUONGeometryEnvelope.cxx.
Referenced by AliMUONGeometryEnvelopeStore::AddEnvelope().
void AliMUONGeometryEnvelope::SetTransform | ( | const TGeoCombiTrans & | transform | ) |
Set the envelope transformation
Definition at line 238 of file AliMUONGeometryEnvelope.cxx.
Referenced by AliMUONGeometryEnvelopeStore::AddEnvelope(), and AliMUONGeometryEnvelopeStore::AlignEnvelope().
void AliMUONGeometryEnvelope::SetTranslation | ( | const TGeoTranslation & | translation | ) |
Set the envelope position
Definition at line 218 of file AliMUONGeometryEnvelope.cxx.
Referenced by AliMUONGeometryEnvelopeStore::AddEnvelope().
|
private |
the constituents names and transformations
Definition at line 85 of file AliMUONGeometryEnvelope.h.
Referenced by AddConstituent(), AddConstituentParam(), AliMUONGeometryEnvelope(), GetConstituents(), and ~AliMUONGeometryEnvelope().
|
private |
copy number (only non virtual envelope can have
Definition at line 80 of file AliMUONGeometryEnvelope.h.
Referenced by GetCopyNo().
|
private |
true if envelope is placed with MANY option
Definition at line 78 of file AliMUONGeometryEnvelope.h.
Referenced by AliMUONGeometryEnvelope(), and IsMANY().
|
private |
true if envelope is not represented by a real volume
Definition at line 76 of file AliMUONGeometryEnvelope.h.
Referenced by IsVirtual().
|
private |
more than one copy)
the envelope transformation wrt to the mother frame (the chamber position)
Definition at line 83 of file AliMUONGeometryEnvelope.h.
Referenced by AliMUONGeometryEnvelope(), GetTransformation(), SetRotation(), SetTransform(), SetTranslation(), and ~AliMUONGeometryEnvelope().