From 82d1ac0a33b0ecb323d09f7cb216b81e7acd279d Mon Sep 17 00:00:00 2001 From: ivana Date: Wed, 7 Dec 2005 08:59:26 +0000 Subject: [PATCH 1/1] In SetAlign() - adding the fileName argument (the transformations can be read from other than default file) --- MUON/AliMUON.cxx | 8 ++++++++ MUON/AliMUON.h | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/MUON/AliMUON.cxx b/MUON/AliMUON.cxx index 0d6139ee369..e68d6ccb679 100644 --- a/MUON/AliMUON.cxx +++ b/MUON/AliMUON.cxx @@ -377,6 +377,14 @@ Float_t AliMUON::GetMaxDestepAlu() const fGeometryBuilder->SetAlign(align); } +//____________________________________________________________________ + void AliMUON::SetAlign(const TString& fileName, Bool_t align) +{ + // Sets option for alignement to geometry builder + + fGeometryBuilder->SetAlign(fileName, align); +} + //____________________________________________________________________ void AliMUON::SetResponseModel(Int_t id, AliMUONResponse *response) { diff --git a/MUON/AliMUON.h b/MUON/AliMUON.h index b202c1959db..21ecd811301 100644 --- a/MUON/AliMUON.h +++ b/MUON/AliMUON.h @@ -97,7 +97,8 @@ class AliMUON : public AliDetector virtual Float_t GetMaxDestepAlu() const; // Set alignement option - virtual void SetAlign(Bool_t align); + virtual void SetAlign(Bool_t align = true); + virtual void SetAlign(const TString& fileName, Bool_t align = true); // Return reference to Chamber #id virtual AliMUONChamber& Chamber(Int_t id) -- 2.39.3