#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;
// wrt to the chamber position in mother volume
AliMUONGeometryStore* fDetElements; // detection elements
// used for alignement of enevelopes
+ TGeoCombiTrans fReferenceFrame; // 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
inline const TObjArray* AliMUONGeometryEnvelopeStore::GetEnvelopes() const
{ return fEnvelopes; }
+inline void
+AliMUONGeometryEnvelopeStore::SetReferenceFrame(const TGeoCombiTrans& referenceFrame)
+{ fReferenceFrame = referenceFrame; }
+
#endif //ALI_MUON_CHAMBER_ENVELOPE_STORE_H