26 #include <TGeoMatrix.h> 28 #include <TObjArray.h> 44 fIsVirtual(isVirtual),
52 if (TString(only) == TString(
"MANY")) fIsMANY =
true;
55 fTransformation =
new TGeoCombiTrans(
"");
78 if (TString(only) == TString(
"MANY"))
fIsMANY =
true;
131 const TGeoTranslation& translation)
142 const TGeoTranslation& translation,
143 const TGeoRotation& rotation)
150 name, copyNo, translation, rotation, 0, 0));
155 const TGeoCombiTrans& transform )
162 name, copyNo, transform, 0, 0));
167 Int_t copyNo, Int_t npar, Double_t* param)
178 Int_t copyNo,
const TGeoTranslation& translation,
179 Int_t npar, Double_t* param)
186 name, copyNo, translation, npar, param));
191 Int_t copyNo,
const TGeoTranslation& translation,
192 const TGeoRotation& rotation,
193 Int_t npar, Double_t* param)
200 name, copyNo, translation, rotation, npar, param));
206 const TGeoCombiTrans& transform,
207 Int_t npar, Double_t* param)
214 name, copyNo, transform, npar, param));
223 ->SetTranslation(const_cast<Double_t*>(translation.GetTranslation()));
231 TGeoRotation* rot =
new TGeoRotation();
232 rot->SetMatrix(const_cast<Double_t*>(rotation.GetRotationMatrix()));
243 ->SetTranslation(const_cast<Double_t*>(transform.GetTranslation()));
245 TGeoRotation* rot =
new TGeoRotation();
246 rot->SetMatrix(const_cast<Double_t*>(transform.GetRotationMatrix()));
void AddConstituentParam(const TString &name, Int_t copyNo, Int_t npar, Double_t *param)
virtual ~AliMUONGeometryEnvelope()
TGeoCombiTrans * fTransformation
more than one copy)
void SetTransform(const TGeoCombiTrans &transform)
AliMUONGeometryEnvelope()
Int_t fCopyNo
copy number (only non virtual envelope can have
Geometry envelope helper class.
void AddConstituent(const TString &name, Int_t copyNo)
Bool_t fIsVirtual
true if envelope is not represented by a real volume
Helper class for definititon of an assembly of volumes.
TObjArray * fConstituents
the constituents names and transformations
void SetTranslation(const TGeoTranslation &translation)
Bool_t fIsMANY
true if envelope is placed with MANY option
void SetRotation(const TGeoRotation &rotation)