From 9bf406e12c193b564cb7ed7f73afd56b31e49e43 Mon Sep 17 00:00:00 2001 From: ivana Date: Mon, 23 Oct 2006 09:48:14 +0000 Subject: [PATCH] Putting back the second argument (title) in the standard constructor - to follow AliRoot standards --- MUON/AliMUON.cxx | 4 ++-- MUON/AliMUON.h | 2 +- MUON/AliMUONv1.cxx | 4 ++-- MUON/AliMUONv1.h | 2 +- MUON/Config.C | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/MUON/AliMUON.cxx b/MUON/AliMUON.cxx index 7ea68225915..fdc41428a60 100644 --- a/MUON/AliMUON.cxx +++ b/MUON/AliMUON.cxx @@ -128,8 +128,8 @@ AliMUON::AliMUON() } //__________________________________________________________________ -AliMUON::AliMUON(const char *name) - : AliDetector(name,name), +AliMUON::AliMUON(const char *name, const char* title) + : AliDetector(name, title), fNCh(AliMUONConstants::NCh()), fNTrackingCh(AliMUONConstants::NTrackingCh()), fMUONData(0), diff --git a/MUON/AliMUON.h b/MUON/AliMUON.h index 315174948ce..f46d628ea3c 100644 --- a/MUON/AliMUON.h +++ b/MUON/AliMUON.h @@ -42,7 +42,7 @@ class AliMUON : public AliDetector { public: AliMUON(); - AliMUON(const char* name); + AliMUON(const char* name, const char* title); virtual ~AliMUON(); // Geometry diff --git a/MUON/AliMUONv1.cxx b/MUON/AliMUONv1.cxx index 331548310c2..26dfebbaf17 100644 --- a/MUON/AliMUONv1.cxx +++ b/MUON/AliMUONv1.cxx @@ -75,8 +75,8 @@ AliMUONv1::AliMUONv1() } //___________________________________________ -AliMUONv1::AliMUONv1(const char *name) -: AliMUON(name), +AliMUONv1::AliMUONv1(const char *name, const char* title) +: AliMUON(name, title), fAngleEffect(kTRUE), fStepMaxInActiveGas(0.6), fStepSum(0x0), diff --git a/MUON/AliMUONv1.h b/MUON/AliMUONv1.h index 80e7c52b316..2aa8c941d55 100644 --- a/MUON/AliMUONv1.h +++ b/MUON/AliMUONv1.h @@ -24,7 +24,7 @@ class AliMUONv1 : public AliMUON { public: AliMUONv1(); - AliMUONv1(const char *name); + AliMUONv1(const char *name, const char* title = "default"); virtual ~AliMUONv1(); virtual void CreateGeometry(); virtual void CreateMaterials(); diff --git a/MUON/Config.C b/MUON/Config.C index 0bce2d730ff..0cd621eb44b 100644 --- a/MUON/Config.C +++ b/MUON/Config.C @@ -151,7 +151,7 @@ void Config(char directory[100]="", char option[6]="param") //=================== MUON Subsystem =========================== cout << ">>> Config.C: Creating AliMUONv1 ..."<