AliRoot Core  edcc906 (edcc906)
AliMUONGeometryEnvelope Class Reference

Geometry envelope helper class. More...

#include <AliMUONGeometryEnvelope.h>

Inheritance diagram for AliMUONGeometryEnvelope:

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 TObjArrayGetConstituents () const
 

Protected Member Functions

 AliMUONGeometryEnvelope (const AliMUONGeometryEnvelope &rhs)
 Not implemented. More...
 
AliMUONGeometryEnvelopeoperator= (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...
 
TObjArrayfConstituents
 the constituents names and transformations More...
 

Detailed Description

Geometry envelope helper class.

Helper class for definititon of an assembly of volumes.

Author
Ivana Hrivnacova, IPN Orsay

Definition at line 25 of file AliMUONGeometryEnvelope.h.

Constructor & Destructor Documentation

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.

AliMUONGeometryEnvelope::~AliMUONGeometryEnvelope ( )
virtual

Destructor

Definition at line 102 of file AliMUONGeometryEnvelope.cxx.

AliMUONGeometryEnvelope::AliMUONGeometryEnvelope ( const AliMUONGeometryEnvelope rhs)
protected

Not implemented.

Member Function Documentation

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.

const TObjArray * AliMUONGeometryEnvelope::GetConstituents ( ) const
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().

const TGeoCombiTrans * AliMUONGeometryEnvelope::GetTransformation ( ) const
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().

Bool_t AliMUONGeometryEnvelope::IsMANY ( ) const
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().

Bool_t AliMUONGeometryEnvelope::IsVirtual ( ) const
inline
AliMUONGeometryEnvelope& AliMUONGeometryEnvelope::operator= ( const AliMUONGeometryEnvelope rhs)
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().

Member Data Documentation

TObjArray* AliMUONGeometryEnvelope::fConstituents
private

the constituents names and transformations

Definition at line 85 of file AliMUONGeometryEnvelope.h.

Referenced by AddConstituent(), AddConstituentParam(), AliMUONGeometryEnvelope(), GetConstituents(), and ~AliMUONGeometryEnvelope().

Int_t AliMUONGeometryEnvelope::fCopyNo
private

copy number (only non virtual envelope can have

Definition at line 80 of file AliMUONGeometryEnvelope.h.

Referenced by GetCopyNo().

Bool_t AliMUONGeometryEnvelope::fIsMANY
private

true if envelope is placed with MANY option

Definition at line 78 of file AliMUONGeometryEnvelope.h.

Referenced by AliMUONGeometryEnvelope(), and IsMANY().

Bool_t AliMUONGeometryEnvelope::fIsVirtual
private

true if envelope is not represented by a real volume

Definition at line 76 of file AliMUONGeometryEnvelope.h.

Referenced by IsVirtual().

TGeoCombiTrans* AliMUONGeometryEnvelope::fTransformation
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().


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