* See cxx source for full Copyright notice */
// $Id$
-//
-// Class AliMUONGeometryEnvelopeStore
-// ----------------------------------
-// Class for definititon of the temporary volume envelopes
-// used in geometry construction
-//
-// Author: Ivana Hrivnacova, IPN Orsay
+
+/// \ingroup geometry
+/// \class AliMUONGeometryEnvelopeStore
+/// \brief Store for temporary volumes envelopes
+///
+/// Class for definititon of the temporary volume envelopes
+/// used in geometry construction
+///
+/// Author: Ivana Hrivnacova, IPN Orsay
#ifndef ALI_MUON_GEOMETRY_ENVELOPE_STORE_H
#define ALI_MUON_GEOMETRY_ENVELOPE_STORE_H
#include <TObject.h>
-#include <TString.h>
+#include <TGeoMatrix.h>
class TGeoTranslation;
class TGeoRotation;
class TGeoCombiTrans;
class TObjArray;
class TArrayI;
+class TString;
class AliMUONChamber;
class AliMUONGeometryEnvelope;
Int_t npar, Double_t* param);
void SetDebug(Bool_t debug);
+ void SetReferenceFrame(const TGeoCombiTrans& referenceFrame);
// Alignement
virtual Bool_t GetAlign() const;
private:
// methods
+ TGeoHMatrix ConvertDETransform(const TGeoHMatrix& transform) const;
AliMUONGeometryEnvelope* FindEnvelope(const TString& name) const;
Bool_t AlignEnvelope(AliMUONGeometryEnvelope* envelope) const;
// data members
- TObjArray* fEnvelopes; // the envelopes names and transformations
- // wrt to the chamber position in mother volume
- AliMUONGeometryStore* fDetElements; // detection elements
- // used for alignement of enevelopes
- Bool_t fDebug; // Switch for debugging
- Bool_t fAlign; // option to read transformations from a file
+ TObjArray* fEnvelopes; ///< \brief the envelopes names and transformations
+ /// wrt to the chamber position in mother volume
+ AliMUONGeometryStore* fDetElements; ///< \brief detection elements
+ /// used for alignement of enevelopes
+ TGeoCombiTrans fReferenceFrame; ///< \brief the transformation from the builder
+ /// reference frame to that of the transform
+ /// data files
+ Bool_t fDebug; ///< Switch for debugging
+ Bool_t fAlign; ///< option to read transformations from a file
ClassDef(AliMUONGeometryEnvelopeStore,2) // Geometry envelope store
};
inline const TObjArray* AliMUONGeometryEnvelopeStore::GetEnvelopes() const
{ return fEnvelopes; }
+inline void
+AliMUONGeometryEnvelopeStore::SetReferenceFrame(const TGeoCombiTrans& referenceFrame)
+{ fReferenceFrame = referenceFrame; }
+
#endif //ALI_MUON_CHAMBER_ENVELOPE_STORE_H