]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing inheritances from TAttLine, TAttMarker and AliRndm in AliModule. The copy...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Nov 2006 17:11:17 +0000 (17:11 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Nov 2006 17:11:17 +0000 (17:11 +0000)
89 files changed:
CRT/AliCRT.cxx
CRT/AliCRT.h
CRT/AliCRTv0.cxx
CRT/AliCRTv0.h
CRT/AliCRTv1.cxx
CRT/AliCRTv1.h
EMCAL/AliEMCAL.cxx
EMCAL/AliEMCAL.h
EMCAL/AliEMCALDigitizer.cxx
EMCAL/AliEMCALWsuCosmicRaySetUp.cxx
EMCAL/AliEMCALv0.cxx
EMCAL/AliEMCALv0.h
EMCAL/AliEMCALv1.cxx
EMCAL/AliEMCALv1.h
EMCAL/AliEMCALv2.cxx
EMCAL/AliEMCALv2.h
FMD/AliFMD.cxx
FMD/AliFMD.h
FMD/AliFMDDigitizer.cxx
ITS/AliITS.cxx
ITS/AliITS.h
ITS/AliITSsimulationSDD.cxx
ITS/AliITSsimulationSSD.cxx
ITS/AliITSv11.cxx
ITS/AliITSv11.h
ITS/AliITSvBeamTestITS04.cxx
ITS/AliITSvBeamTestITS04.h
ITS/AliITSvPPRasymmFMD.cxx
ITS/AliITSvPPRasymmFMD.h
ITS/AliITSvPPRcoarseasymm.cxx
ITS/AliITSvPPRcoarseasymm.h
ITS/AliITSvSDD03.cxx
ITS/AliITSvSDD03.h
ITS/AliITSvSPD02.cxx
ITS/AliITSvSPD02.h
ITS/AliITSvSSD03.cxx
ITS/AliITSvSSD03.h
ITS/AliITSvtest.cxx
ITS/AliITSvtest.h
MUON/AliMUON.cxx
MUON/AliMUONClusterFinderAZ.cxx
PHOS/AliPHOS.cxx
PHOS/AliPHOS.h
PHOS/AliPHOSv0.cxx
PHOS/AliPHOSv0.h
PHOS/AliPHOSv1.cxx
PHOS/AliPHOSv1.h
PHOS/AliPHOSv2.cxx
PHOS/AliPHOSv2.h
PHOS/AliPHOSvFast.cxx
PHOS/AliPHOSvFast.h
PHOS/AliPHOSvImpacts.cxx
PHOS/AliPHOSvImpacts.h
PMD/AliPMDDigitizer.cxx
RICH/AliRICH.h
START/AliSTART.cxx
START/AliSTART.h
STEER/AliDetector.cxx
STEER/AliDetector.h
STEER/AliModule.cxx
STEER/AliModule.h
STRUCT/AliABSO.cxx
STRUCT/AliABSOv0.cxx
STRUCT/AliBODY.cxx
STRUCT/AliDIPO.cxx
STRUCT/AliDIPOv2.cxx
STRUCT/AliFRAME.cxx
STRUCT/AliHALL.cxx
STRUCT/AliMAG.cxx
STRUCT/AliPIPE.cxx
STRUCT/AliSHIL.cxx
STRUCT/AliSHILv0.cxx
STRUCT/AliSHILv2.cxx
STRUCT/AliSHILv3.cxx
STRUCT/AliSHILvF.cxx
TOF/AliTOF.cxx
TOF/AliTOFDigitizer.cxx
TOF/AliTOFSDigitizer.cxx
TOF/AliTOFT0.cxx
TPC/AliTPC.cxx
TPC/AliTPC.h
TPC/AliTPCFast.cxx
TPC/AliTPCtrackerParam.cxx
TRD/AliTRD.cxx
TRD/AliTRD.h
TRD/AliTRDv1.cxx
TRD/AliTRDv1.h
VZERO/AliVZERO.cxx
VZERO/AliVZERODigitizer.cxx

index 87a430d8e243b18e8d7a066cac777b9e65372a8c..d423f12b6077f23c5c3cf41795d8fa08bf4e4c7a 100644 (file)
@@ -73,17 +73,6 @@ AliCRT::AliCRT(const char *name, const char *title)
   //gAlice->GetMCApp()->AddHitList(fHits);
 }
 
-//_____________________________________________________________________________
-AliCRT::AliCRT(const AliCRT& crt)
-  : AliDetector(crt),
-    fModule(crt.fModule)
-{
-  //
-  // Copy constructor
-  //
-  crt.Copy(*this);
-}
-
 //_____________________________________________________________________________
 AliCRT::~AliCRT()
 {
@@ -93,16 +82,6 @@ AliCRT::~AliCRT()
   if ( fModule ) { delete fModule; fModule = 0; }
 }
 
-//_____________________________________________________________________________
-AliCRT& AliCRT::operator=(const AliCRT& crt)
-{
-  //
-  // Asingment operator.
-  //
-  crt.Copy(*this);
-  return *this;
-}
-
 //_____________________________________________________________________________
 void AliCRT::CreateMaterials()
 {
index ab12aafb6599da22eb22dc670dcb2eda28e89407..e02e5a1da65121b07ceaf0f4e177800938602472 100644 (file)
@@ -17,10 +17,8 @@ class AliCRT : public AliDetector {
 public:
   AliCRT();
   AliCRT(const char* name, const char* title);
-  AliCRT(const AliCRT& crt);
   virtual ~AliCRT();
 
-  AliCRT& operator=(const AliCRT& crt);
   virtual void CreateMaterials();
 
   virtual Int_t IsVersion() const { return -1; }
@@ -35,6 +33,9 @@ public:
 protected:
   AliCRTModule* fModule;
 private:
+  AliCRT(const AliCRT& crt);
+  AliCRT& operator=(const AliCRT& crt);
+
   ClassDef(AliCRT, 1) // Cosmic Ray Trigger (ACORDE) base class
 };
 #endif // ALICRT_H
index 8408b10daa113112899da264cc239aac039a2626..b97173cc804c4d6441c3b6db30e258834dc0c3ee 100644 (file)
@@ -81,19 +81,9 @@ AliCRTv0::AliCRTv0(const char *name, const char *title)
     <img src="picts/AliCRTv0.gif">
   */
   //End_Html
-  SetMarkerColor(kRed);
-  SetMarkerStyle(kRed);
-  SetMarkerSize(0.4);
-}
-
-//_____________________________________________________________________________
-AliCRTv0::AliCRTv0(const AliCRTv0& crt)
-  : AliCRT(crt)
-{
-  //
-  // Copy constructor
-  //
-  crt.Copy(*this);
+  //PH  SetMarkerColor(kRed);
+  //PH  SetMarkerStyle(kRed);
+  //PH  SetMarkerSize(0.4);
 }
 
 //_____________________________________________________________________________
@@ -104,16 +94,6 @@ AliCRTv0::~AliCRTv0()
   //
 }
 
-//_____________________________________________________________________________
-AliCRTv0& AliCRTv0::operator=(const AliCRTv0& crt)
-{
-  //
-  // Asingment operator.
-  //
-  crt.Copy(*this);
-  return *this;
-}
-
 //_____________________________________________________________________________
 void AliCRTv0::BuildGeometry()
 {
index fd65ae986539effbe5cdba6b706260263467dace..517093009d437c8e911df52bd3181ec68f55b846 100644 (file)
@@ -14,11 +14,8 @@ class AliCRTv0 : public AliCRT {
 public:
   AliCRTv0();
   AliCRTv0(const char *name, const char *title);
-  AliCRTv0(const AliCRTv0& crt);
   virtual ~AliCRTv0();
 
-  AliCRTv0& operator=(const AliCRTv0& crt);
-
   virtual void CreateGeometry();
   virtual void BuildGeometry();
   virtual void DrawDetector() const;
@@ -28,6 +25,9 @@ protected:
   virtual void CreateShafts() {}
 
 private: 
+  AliCRTv0(const AliCRTv0& crt);
+  AliCRTv0& operator=(const AliCRTv0& crt);
+
   ClassDef(AliCRTv0,1) // Cosmic Ray Trigger (ACORDE).
 };
 #endif // ALICRTV0_H
index 390483b8f1bc82afea330ac8b5de2fbbe56ad9a6..7be488b2f6010f12b0645a6b77260cec7e0187de 100644 (file)
@@ -91,19 +91,9 @@ AliCRTv1::AliCRTv1(const char *name, const char *title)
   fHits =  new TClonesArray("AliCRThit",400);
   gAlice->GetMCApp()->AddHitList(fHits);
 
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
-}
-
-//_____________________________________________________________________________
-AliCRTv1::AliCRTv1(const AliCRTv1& crt)
-  : AliCRT(crt)
-{
-  //
-  // Copy ctor.
-  //
-  crt.Copy(*this);
+  //PH  SetMarkerColor(7);
+  //PH  SetMarkerStyle(2);
+  //PH  SetMarkerSize(0.4);
 }
 
 //_____________________________________________________________________________
@@ -114,16 +104,6 @@ AliCRTv1::~AliCRTv1()
   //
 }
 
-//_____________________________________________________________________________
-AliCRTv1& AliCRTv1::operator=(const AliCRTv1& crt)
-{
-  //
-  // Asingment operator
-  //
-  crt.Copy(*this);
-  return *this;
-}
-
 //_____________________________________________________________________________
 void AliCRTv1::CreateMaterials()
 {
index 5ed7aa229faa6fe5d1d91402d6b1654ec055b38e..2bbc9f13eb2a9223e9b5788c65dad9a3cc376f2a 100644 (file)
@@ -14,11 +14,8 @@ class AliCRTv1 : public AliCRT {
 public:
   AliCRTv1();
   AliCRTv1(const char *name, const char *title);
-  AliCRTv1(const AliCRTv1& crt);
   virtual ~AliCRTv1();
 
-  AliCRTv1& operator=(const AliCRTv1& crt);
-
   virtual TString Version() { return TString("v1"); }
   virtual Int_t IsVersion() const { return 1; }
 
@@ -39,6 +36,9 @@ protected:
   virtual void CreateShafts();
 
 private: 
+  AliCRTv1(const AliCRTv1& crt);
+  AliCRTv1& operator=(const AliCRTv1& crt);
+
   ClassDef(AliCRTv1, 1)  //Class for CRT, version 1, Shafts outside of AliHALL
 };
 
index bc39aa4cf98f858a9cb4413e1f1354ea283699b3..f4d2d1d1035d167d9870f95f1b2398f3bfab26c0 100644 (file)
@@ -95,22 +95,6 @@ AliEMCAL::AliEMCAL(const char* name, const char* title)
 
 }
 
-//____________________________________________________________________________
-AliEMCAL::AliEMCAL(const AliEMCAL& emcal) 
-  : AliDetector(emcal),
-    fBirkC0(emcal.fBirkC0),
-    fBirkC1(emcal.fBirkC1),
-    fBirkC2(emcal.fBirkC2),
-    fHighCharge(emcal.fHighCharge),
-    fHighGain(emcal.fHighGain),
-    fHighLowGainFactor(emcal.fHighLowGainFactor),
-    fLowGainOffset(emcal.fLowGainOffset)
-{
-  //copy ctor
-  //  Init();
-
-}
-
 //____________________________________________________________________________
 AliEMCAL::~AliEMCAL()
 {
@@ -131,18 +115,6 @@ void AliEMCAL::Init(void)
   fLowGainOffset     = 1 ;            // offset added to the module id to distinguish high and low gain data
 }
 
-//____________________________________________________________________________
-void AliEMCAL::Copy(AliEMCAL & emcal) const
-{
-  //copy
-
-  TObject::Copy(emcal) ; 
-  emcal.fHighCharge        = fHighCharge ;
-  emcal.fHighGain          = fHighGain ; 
-  emcal.fHighLowGainFactor = fHighLowGainFactor ;  
-  emcal.fLowGainOffset     = fLowGainOffset;   
-}
-
 //____________________________________________________________________________
 AliDigitizer* AliEMCAL::CreateDigitizer(AliRunDigitizer* manager) const
 {
index 34d87d654302a36878f9527bd3babc1762d7bcc5..900cb54f39648c1c86eae10c1dbe10a0e8ccde10 100644 (file)
@@ -33,15 +33,11 @@ class AliEMCAL : public AliDetector {
   
   AliEMCAL(); 
   AliEMCAL(const char* name, const char* title="");
-  AliEMCAL(const AliEMCAL& emcal);
 
   virtual ~AliEMCAL() ; 
   virtual void   AddHit(Int_t, Int_t*, Float_t *) {
     Fatal("AddHit(Int_t, Int_t*, Float_t *", "not to be used: use AddHit( Int_t shunt, Int_t primary, Int_t track,Int_t id, Float_t *hits )") ;  
   }
-  virtual void  Copy(TObject & emcal) const 
-    { Copy(dynamic_cast<AliEMCAL&>(emcal)); }
-  virtual void  Copy(AliEMCAL & emcal) const; 
   virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
   virtual void  CreateMaterials() ;   
   //  virtual void  
@@ -79,8 +75,6 @@ class AliEMCAL : public AliDetector {
   //  
   virtual AliLoader* MakeLoader(const char* topfoldername);
   virtual const TString Version() const {return TString(" ") ; }   
-  AliEMCAL & operator = (const AliEMCAL & /*rvalue*/)  {
-    Fatal("operator =", "not implemented") ;  return *this ; }
 
 protected:
   
@@ -106,6 +100,10 @@ protected:
   static Int_t fgThreshold;             // threshold
   static Int_t fgChannelsPerDDL;        // number of channels per DDL
 
+ private:
+  AliEMCAL(const AliEMCAL& emcal);
+  AliEMCAL & operator = (const AliEMCAL & /*rvalue*/);
+
   ClassDef(AliEMCAL,9) // Electromagnetic calorimeter (base class)
     
     } ;
index 46b774b9af0dc0880355f818b53bf3478ab4bae5..85207b838d3e71fab799ef53c02911b90f3105fc 100644 (file)
 //_________________________________________________________________________________
 
 // --- ROOT system ---
-#include "TROOT.h"
-#include "TTree.h"
-#include "TSystem.h"
-#include "TBenchmark.h"
-#include "TList.h"
-#include "TH1.h"
-#include "TBrowser.h"
-#include "TObjectTable.h"
+#include <TROOT.h>
+#include <TTree.h>
+#include <TSystem.h>
+#include <TBenchmark.h>
+#include <TList.h>
+#include <TH1.h>
+#include <TBrowser.h>
+#include <TObjectTable.h>
+#include <TRandom.h>
 
 // --- AliRoot header files ---
 #include "AliLog.h"
index 47df67e3435130cc8f8c9db8b06f51238c94b8d1..5137c626e18d126b552efb758545e3a6b5fb40a9 100644 (file)
@@ -60,9 +60,9 @@ AliEMCALWsuCosmicRaySetUp::AliEMCALWsuCosmicRaySetUp(const char *name, const cha
   //
   // Standard constructor of the  Wsu Cosmic Ray SetUp external volume
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
+  //PH  SetMarkerColor(7);
+  //PH  SetMarkerStyle(2);
+  //PH  SetMarkerSize(0.4);
 }
  
 //_____________________________________________________________________________
index 6e662a1e3160d861b147052fe425c357d9a5eebc..366d63bba5902e8e33ea1cdb85f445a5cf575d9c 100644 (file)
@@ -94,22 +94,6 @@ AliEMCALv0::AliEMCALv0(const char *name, const char *title)
   fShishKebabModules = geom->GetShishKebabTrd1Modules(); 
 }
 
-//______________________________________________________________________
-AliEMCALv0::AliEMCALv0(const AliEMCALv0 & emcal)
-  : AliEMCAL(emcal),
-    fShishKebabModules(emcal.fShishKebabModules),
-    fEnvelop1(emcal.fEnvelop1),
-    fIdRotm(emcal.fIdRotm),
-    fIdTmedArr(emcal.fIdTmedArr),
-    fSampleWidth(emcal.fSampleWidth),
-    fSmodPar0(emcal.fSmodPar0),
-    fSmodPar1(emcal.fSmodPar1),
-    fSmodPar2(emcal.fSmodPar2)
-{
-  //copy ctor
-  for(Int_t i = 0; i < 5; i++) fParEMOD[i] = emcal.fParEMOD[i];
-
-}
 //______________________________________________________________________
 void AliEMCALv0::BuildGeometry()
 {
index d96e73f30ae70bc36b5c92fafa98a2304f4032db..d5ceae4d0520a6e6c7b52f547793d462c5a8306c 100644 (file)
@@ -33,14 +33,6 @@ class AliEMCALv0 : public AliEMCAL {
   AliEMCALv0(const char *name, const char *title="") ;
   virtual ~AliEMCALv0(){} 
 
-  AliEMCALv0(const AliEMCALv0 & emcal);
-
-  AliEMCALv0 & operator = (const AliEMCALv0  & /*rvalue*/) {
-    // assignement operator requested by coding convention but not needed
-    Fatal("operator =", "not implemented");
-    return *this; 
-  }
   using AliEMCAL::AddHit;
 
   virtual void  AddAlignableVolumes() const;
@@ -89,6 +81,9 @@ class AliEMCALv0 : public AliEMCAL {
   Double_t fSmodPar2;          //! z size of super module  
   Double_t fParEMOD[5];        //! parameters of EMCAL module (TRD1,2)
 
+  AliEMCALv0(const AliEMCALv0 & emcal);
+  AliEMCALv0 & operator = (const AliEMCALv0  & /*rvalue*/);
   ClassDef(AliEMCALv0,3) // Implementation of EMCAL manager class for midrapidity barrel layout between 80 and 180(190) degrees 
     
     };
index 3523a2d97196c4f28805bea5ff3e93309f95c71c..02aa79562fcdd64a197810ba831c589860149955 100644 (file)
@@ -73,17 +73,6 @@ AliEMCALv1::AliEMCALv1(const char *name, const char *title)
     fIshunt     =  2; // All hits are associated with particles entering the calorimeter
 }
 
-//______________________________________________________________________
-AliEMCALv1::AliEMCALv1(const AliEMCALv1 & emcal)
-  : AliEMCALv0(emcal),
-    fCurPrimary(emcal.fCurPrimary),
-    fCurParent(emcal.fCurParent),
-    fCurTrack(emcal.fCurTrack),
-    fTimeCut(emcal.fTimeCut)
-{
-  //copy ctor
-}
-
 //______________________________________________________________________
 AliEMCALv1::~AliEMCALv1(){
     // dtor
index fa61a60bd2e248fa7bced670c07fcb5ef63efd65..a0c5bd20633543e5166b44228fd08a743ca56504 100644 (file)
@@ -28,14 +28,6 @@ public:
   AliEMCALv1(const char *name, const char *title="") ;
   virtual ~AliEMCALv1(void) ;
 
-  AliEMCALv1(const AliEMCALv1 & emcal);
-
-  AliEMCALv1 & operator = (const AliEMCALv1  & /*rvalue*/) {
-    // assignement operator requested by coding convention but not needed
-    Fatal("operator =", "not implemented");
-    return *this; 
-  }
-
   using AliEMCALv0::AddHit;
   virtual void  AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
                        Int_t id, Float_t *hits, Float_t *p);
@@ -54,6 +46,10 @@ protected:
   Int_t fCurTrack;    // Current track
   Float_t fTimeCut;   // Cut to remove the background from the ALICE system
 
+ private:
+  AliEMCALv1(const AliEMCALv1 & emcal);
+  AliEMCALv1 & operator = (const AliEMCALv1  & /*rvalue*/);
+
   ClassDef(AliEMCALv1,9) // Implementation of EMCAL manager class to produce hits in a Central Calorimeter 
     
 };
index abd500b09e07741e217aa4e10a063a218a415d8d..40c09ce51690763ce7c6bce878f1be14762966c6 100644 (file)
@@ -85,17 +85,6 @@ AliEMCALv2::AliEMCALv2(const char *name, const char *title)
     }
 }
 
-//______________________________________________________________________
-AliEMCALv2::AliEMCALv2(const AliEMCALv2 & emcal)
-  : AliEMCALv1(emcal),
-    fGeometry(emcal.fGeometry),
-    fHDe(emcal.fHDe),
-    fHNhits(emcal.fHNhits)
-{
-  //copy ctor
-
-}
-
 //______________________________________________________________________
 AliEMCALv2::~AliEMCALv2(){
     // dtor
index 9467b62840649135024c0f4e5096f8d0355175e5..0f4ebe9689070bc76d41a13aa6b9c90564a11597 100644 (file)
@@ -33,14 +33,6 @@ public:
   AliEMCALv2(const char *name, const char *title="") ;
   virtual ~AliEMCALv2(void) ;
 
-  AliEMCALv2(const AliEMCALv2 & emcal);
-
-  AliEMCALv2 & operator = (const AliEMCALv2  & /*rvalue*/) {
-    // assignement operator requested by coding convention but not needed
-    Fatal("operator =", "not implemented");
-    return *this; 
-  }
   using AliEMCALv1::AddHit;
   virtual void  AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
                        Int_t id, Float_t *hits, Float_t *p);
@@ -68,6 +60,10 @@ public:
   TH1F*             fHDe;      //!
   TH1F*             fHNhits;      //!
 
+ private:
+  AliEMCALv2(const AliEMCALv2 & emcal);
+  AliEMCALv2 & operator = (const AliEMCALv2  & /*rvalue*/);
   ClassDef(AliEMCALv2,1)    //Implementation of EMCAL manager class to produce hits in a Shish-Kebab
     
 };
index bc455a1118b9a19190a8f65974490c52147afff1..38d8e118a26172c15a8343ff5d25ade8eb5d4bf0 100644 (file)
@@ -142,19 +142,6 @@ AliFMD::AliFMD()
   fBad         = new TClonesArray("AliFMDHit");
 }
 
-//____________________________________________________________________
-AliFMD::AliFMD(const AliFMD& other)
-  : AliDetector(other),
-    fSDigits(other.fSDigits), 
-    fNsdigits(other.fNsdigits),
-    fDetailed(other.fDetailed),
-    fUseOld(other.fUseOld),
-    fUseAssembly(other.fUseAssembly),
-    fBad(other.fBad)
-{
-  // Copy constructor 
-}
-
 //____________________________________________________________________
 AliFMD::AliFMD(const char *name, const char *title)
   : AliDetector (name, title),
@@ -181,8 +168,8 @@ AliFMD::AliFMD(const char *name, const char *title)
   
   // CHC: What is this?
   fIshunt = 0;
-  SetMarkerColor(kRed);
-  SetLineColor(kYellow);
+  //PH  SetMarkerColor(kRed);
+  //PH  SetLineColor(kYellow);
 }
 
 //____________________________________________________________________
@@ -211,18 +198,6 @@ AliFMD::~AliFMD ()
   }
 }
 
-//____________________________________________________________________
-AliFMD&
-AliFMD::operator=(const AliFMD& other)
-{
-  // Assignment operator
-  AliDetector::operator=(other);
-  fSDigits             = other.fSDigits; 
-  fNsdigits            = other.fNsdigits;
-  fDetailed            = other.fDetailed;
-  fBad                  = other.fBad;
-  return *this;
-}
 
 //====================================================================
 //
@@ -510,7 +485,7 @@ AliFMD::BuildGeometry()
       }
       shape->DefineSection(0, -siThick / 2, 1, 0, 0);
       shape->DefineSection(1, +siThick / 2, 1, 0, 0);
-      shape->SetLineColor(GetLineColor());
+      shape->SetLineColor(kYellow); //PH kYellow is the default line color in FMD
       
       TObjArray* rots = new TObjArray(nmod);
       for (Int_t j = 0; j < nmod; j++) {
@@ -585,7 +560,7 @@ AliFMD::BuildGeometry()
        TNode* mnod = new TNode(name.Data(), title.Data(), rshape, 
                                0, 0, rz - siThick / 2 
                                + TMath::Sign(offz,z), rot);
-       mnod->SetLineColor(GetLineColor());
+       mnod->SetLineColor(kYellow); //PH kYellow is the default line color in FMD
        fNodes->Add(mnod);
       } // for (Int_t k = 0 ; ...)
     } // for (Int_t j = 0 ; ...)
@@ -635,7 +610,7 @@ AliFMD::LoadPoints(Int_t /* track */)
     // than 1 keV - a MIP is 100 eV. 
     if (edep > absQ * absQ && poverm > 1) bad = kTRUE;
 
-    AliFMDPoints* p1 = new AliFMDPoints(hit, GetMarkerColor());
+    AliFMDPoints* p1 = new AliFMDPoints(hit, kRed); //PH kRed is the default marker color in FMD
     // AliPoints* p1 = new AliPoints();
     // p1->SetMarkerColor(GetMarkerColor());
     // p1->SetMarkerSize(GetMarkerSize());
index 8774809af3d823883a13f35ec0703f7256d0119e..db18d7e8e013741a0bd51b536fcffdb45de34651 100644 (file)
@@ -288,15 +288,8 @@ public:
       @param name  Name of object.
       @param title Title of object. */
   AliFMD(const char *name, const char *title);
-  /** Copy constructor 
-      @param other Object to copy from */
-  AliFMD(const AliFMD& other);
   /** Destructor */
   virtual ~AliFMD(); 
-  /** Assignment operator 
-      @param other Object to assign from
-      @return Reference to this object  */
-  AliFMD& operator=(const AliFMD& other);
   /** Wheter to make a detailed geometry
       @param use If true, make detailed geometry  */
   void UseDetailed(Bool_t use=kTRUE) { fDetailed = use; }
@@ -541,7 +534,16 @@ protected:
   };  
 
   TObjArray*         fBad;                  //! debugging - bad hits 
-  
+
+private:  
+  /** Copy constructor 
+      @param other Object to copy from */
+  AliFMD(const AliFMD& other);
+  /** Assignment operator 
+      @param other Object to assign from
+      @return Reference to this object  */
+  AliFMD& operator=(const AliFMD& other);
+
   ClassDef(AliFMD,11)     // Base class FMD entry point
 };
 
index ab26a1eb6077d93459a2ff90c486752e8d61c5f1..7bd52f95e9efcc3311a86f73ffc05188e93332c4 100644 (file)
 //
 
 #include <TTree.h>             // ROOT_TTree
-//#include <TRandom.h>         // ROOT_TRandom
+#include <TRandom.h>           // ROOT_TRandom
 #include <AliLog.h>            // ALILOG_H
 #include "AliFMDDigitizer.h"   // ALIFMDDIGITIZER_H
 #include "AliFMD.h"            // ALIFMD_H
index 3cf3f6f5cbaa51bf7f48b4e4eb9ec0c471bc796b..d4c2cd97e103344fcae6b8ebcaa14dd599d96d92 100644 (file)
@@ -117,7 +117,7 @@ fITSmodules(0)
   // is also called.
   
 //    SetDetectors(); // default to fOpt="All". This variable not written out.
-    SetMarkerColor(kRed);
+//PH    SetMarkerColor(kRed);
 }
 //______________________________________________________________________
 AliITS::AliITS(const char *name, const char *title):AliDetector(name,title),
@@ -147,7 +147,7 @@ fITSmodules(0)
     
   fDetTypeSim   = new AliITSDetTypeSim();
   
-  SetMarkerColor(kRed);
+  //PH  SetMarkerColor(kRed);
   if(!fLoader) MakeLoader(AliConfig::GetDefaultEventFolderName());
   fDetTypeSim->SetLoader((AliITSLoader*)fLoader);
 
@@ -185,46 +185,6 @@ AliITS::~AliITS(){
     }
 }
 //______________________________________________________________________
-AliITS::AliITS(const AliITS &source) : AliDetector(source),
-fDetTypeSim(0),
-fEuclidOut(0),
-fOpt("All"),
-fIdN(0),
-fIdSens(0),
-fIdName(0),
-fITSmodules(0)
-{
-    // Copy constructor. This is a function which is not allowed to be
-    // done to the ITS. It exits with an error.
-    // Inputs:
-    //      AliITS &source  An AliITS class.
-    // Outputs:
-    //      none.
-    // Return:
-    //      none.
-
-    if(this==&source) return;
-    Error("Copy constructor",
-          "You are not allowed to make a copy of the AliITS");
-    exit(1);
-}
-//______________________________________________________________________
-AliITS& AliITS::operator=(const AliITS &source){
-    // Assignment operator. This is a function which is not allowed to be
-    // done to the ITS. It exits with an error.
-    // Inputs:
-    //      AliITS &source  An AliITS class.
-    // Outputs:
-    //      none.
-    // Return:
-    //      none.
-
-    if(this==&source) return *this;
-    Error("operator=","You are not allowed to make a copy of the AliITS");
-    exit(1);
-    return *this; //fake return
-}
-//______________________________________________________________________
 AliDigitizer* AliITS::CreateDigitizer(AliRunDigitizer* manager)const{
     // Creates the AliITSDigitizer in a standard way for use via AliModule.
     // This function can not be included in the .h file because of problems
index 2833ae32c45d33ead53f129352222f5654de2cf6..44e3bc9a8eeed011844c4e93fd17adb7eaa1206f 100644 (file)
@@ -38,8 +38,6 @@ class AliITS : public AliDetector {
     AliITS();  // Default creator.
     AliITS(const char *name, const char *title); // standard Creator
     virtual ~AliITS(); // destructor
-    AliITS(const AliITS &source); // copy constructor. Not to be used!
-    AliITS& operator=(const AliITS &source); // = operator. Not to be used!
     virtual Int_t IsVersion() const {return 1;}
     virtual Int_t DistancetoPrimitive(Int_t , Int_t )  {return 999;}
 
@@ -159,6 +157,10 @@ class AliITS : public AliDetector {
     Int_t        *fIdSens;     //[fIdN] layer identifier
     TString      *fIdName;     //[fIdN] layer identifier
     TObjArray    *fITSmodules; //! Pointer to ITS modules
+
+ private:
+    AliITS(const AliITS &source); // copy constructor. Not to be used!
+    AliITS& operator=(const AliITS &source); // = operator. Not to be used!
     ClassDef(AliITS,6) // Base class for ITS
 
 };
index c777389d4b5edb7fc7bb55d0cc51d9fa2780f818..7d254674dc3a12290f0d77dea97696e17e01273e 100644 (file)
@@ -24,6 +24,7 @@
 #include <TF1.h>
 #include <TH1.h>
 #include <TFile.h>
+#include <TRandom.h>
 
 #include "AliITS.h"
 #include "AliITSMapA2.h"
index f6a6ee6aa6bef66c808c75ccd8111db60bac1119..52f3ff590a221bb990a46bc216175449ee436542 100644 (file)
@@ -19,6 +19,8 @@
 #include <stdlib.h>
 #include <Riostream.h>
 #include <TObjArray.h>
+#include <TRandom.h>
+
 #include "AliITSmodule.h"
 #include "AliITSMapA2.h"
 #include "AliITSpList.h"
index 02d3630f4a859e0df1ddb234155f29d2df4e1e7b..238e8f2afa9d6154555a1fb4a623f900415cfad1 100644 (file)
@@ -167,43 +167,6 @@ AliITSv11::AliITSv11(Int_t debugITS,Int_t debugSPD,Int_t debugSDD,
 }
 
 
-//______________________________________________________________________
-AliITSv11::AliITSv11(const AliITSv11 &source) :
-  AliITS(source),
-  fGeomDetOut(kFALSE), // Don't write .det file
-  fGeomDetIn(kTRUE),   // Read .det file
-  fByThick(kTRUE),
-  fMajorVersion(0),
-  fMinorVersion(0),
-  fSDDgeom(0)
-{
-    //     Copy Constructor for ITS version 11. This function is not to be
-    // used. If any other instance of this function, other than "this" is
-    // passed, an error message is returned.
-    // Inputs:
-    //   const AliITSv11 &source This class
-
-    if(&source == this) return;
-    Warning("Copy Constructor","Not allowed to copy AliITSv11");
-    return;
-}
-
-
-//______________________________________________________________________
-AliITSv11& AliITSv11::operator=(const AliITSv11 
-                                                 &source){
-    //     Assignment operator for the ITS version 11. This function is not 
-    // to be used. If any other instance of this function, other than "this" 
-    // is passed, an error message is returned.
-    // Inputs:
-    //   const AliITSv11 &source This class
-
-    if(&source == this) return *this;
-    Warning("= operator","Not allowed to copy AliITSv11");
-    return *this;
-}
-
-
 //______________________________________________________________________
 AliITSv11::~AliITSv11() {
   delete fSDDgeom;
index e67b8faa1e73a25fb43187050dd821ada73a0d69..4444b2012a711ba434426fba932792d878928203 100644 (file)
@@ -16,8 +16,6 @@ class AliITSv11 : public AliITS {
     AliITSv11(const char *name, const char *title);
     AliITSv11(Int_t debugITS, Int_t debugSPD = 0, Int_t debugSDD = 0,
             Int_t debugSSD = 0, Int_t debugSUP = 0);
-    AliITSv11(const AliITSv11 &source);            // copy constructor
-    AliITSv11& operator=(const AliITSv11 &source); // assignment operator
     virtual       ~AliITSv11() ;
     virtual void   BuildGeometry();
     virtual void   CreateGeometry();
@@ -69,6 +67,8 @@ class AliITSv11 : public AliITS {
 
 
  private:
+    AliITSv11(const AliITSv11 &source);            // copy constructor
+    AliITSv11& operator=(const AliITSv11 &source); // assignment operator
     void InitAliITSgeom();
 
     Bool_t   fGeomDetOut;       // Flag to write .det file out
index ca3233c3dc1bc14b53036df6b8d74b0d91990731..a5db650d04d214d87792b4ce0cd6c0dac744b88e 100644 (file)
@@ -157,27 +157,6 @@ fGeomDetIn(kFALSE)
     for(Int_t a=0;a<60;a++) fWrite[a] = '\0';    
 }
 
-//______________________________________________________________________
-AliITSvBeamTestITS04::AliITSvBeamTestITS04(const AliITSvBeamTestITS04 &source) :  AliITS(source),
-fITSmotherVolume(source.fITSmotherVolume),
-fNspd(source.fNspd),
-fNsdd(source.fNsdd),
-fNssd(source.fNssd),
-fGeomDetOut(source.fGeomDetOut),
-fGeomDetIn(source.fGeomDetIn){
-  //Copy constructor 
-
-}
-//______________________________________________________________________
-AliITSvBeamTestITS04& AliITSvBeamTestITS04::operator=(const AliITSvBeamTestITS04 &source){
-
-
-    // This class is not to be copied. Function only dummy.
-    if(&source == this) return *this;
-    Warning("= operator","Not allowed to copy AliITSvSDD03");
-    return *this;
-}
-
 //__________________________________________________________________
 AliITSvBeamTestITS04::~AliITSvBeamTestITS04()
 {
index 1166a113371f1d2601f16db998e19dced94bf284..7944ebf6e83dd82e81d9dc15311b3ac7325c6ce5 100644 (file)
@@ -17,8 +17,6 @@ class AliITSvBeamTestITS04 : public AliITS {
 
   AliITSvBeamTestITS04();
   AliITSvBeamTestITS04(const char* name,const char *title);
-  AliITSvBeamTestITS04(const AliITSvBeamTestITS04 &source); // Copy constructor
-  AliITSvBeamTestITS04& operator=(const AliITSvBeamTestITS04 &source); // = operator
   virtual ~AliITSvBeamTestITS04();
 
   virtual void SetNumberOfSPD(Int_t nSPD) {fNspd=nSPD;}
@@ -100,6 +98,10 @@ class AliITSvBeamTestITS04 : public AliITS {
    char   fWrite[60];        //! file name to write .det file 
    char   fRead[60];         // file name to read .det file (JC)
    
+ private:
+   AliITSvBeamTestITS04(const AliITSvBeamTestITS04 &source); // Copy constructor
+   AliITSvBeamTestITS04& operator=(const AliITSvBeamTestITS04 &source); // = operator
+
    ClassDef(AliITSvBeamTestITS04,2) 
 
  };
index cc767cb8310665f1333b5acb0ee23a6dace8f627..98f606e3bd9d4f112044f251224e21a0eda44a3a 100644 (file)
@@ -145,52 +145,6 @@ AliITSvPPRasymmFMD::AliITSvPPRasymmFMD(const char *name, const char *title)
     strncpy(fRead,"$ALICE_ROOT/ITS/ITSgeometry_vPPRasymmFMD.det",60);
 }
 //______________________________________________________________________
-AliITSvPPRasymmFMD::AliITSvPPRasymmFMD(const AliITSvPPRasymmFMD &source) :
- AliITS(source),
- fGeomDetOut(kFALSE),
- fGeomDetIn(kFALSE),
- fByThick(kTRUE),
- fMajorVersion(IsVersion()),
- fMinorVersion(2),
- fDet1(0),
- fDet2(0),
- fChip1(0),
- fChip2(0),
- fRails(0),
- fFluid(0),
- fIDMother(0) {
-    //     Copy Constructor for ITS version 10. This function is not to be
-    // used. If any other instance of this function, other than "this" is
-    // passed, an error message is returned.
-    // Inputs:
-    //   const AliITSvPPRasymmFMD &source This class
-    // Outputs:
-    //   none.
-    // Return:
-    //   an error message
-
-    if(&source == this) return;
-    Warning("Copy Constructor","Not allowed to copy AliITSvPPRasymmFMD");
-    return;
-}
-//______________________________________________________________________
-AliITSvPPRasymmFMD& AliITSvPPRasymmFMD::operator=(const AliITSvPPRasymmFMD 
-                                                 &source){
-    //    Assignment operator for the ITS version 10. This function is not 
-    // to be used. If any other instance of this function, other than "this" 
-    // is passed, an error message is returned.
-    // Inputs:
-    //   const AliITSvPPRasymmFMD &source This class
-    // Outputs:
-    //   none.
-    // Return:
-    //   an error message
-
-    if(&source == this) return *this;
-    Warning("= operator","Not allowed to copy AliITSvPPRasymmFMD");
-    return *this;
-}
-//______________________________________________________________________
 AliITSvPPRasymmFMD::~AliITSvPPRasymmFMD() {
     //    Standard destructor for the ITS version 10.
     // Inputs:
index 5ef347274a98161108a94cd1c2b55caa451c35d1..ad95bb68b56e28bdf9079ee7080963ecda797ec2 100644 (file)
@@ -16,8 +16,6 @@ class AliITSvPPRasymmFMD : public AliITS {
  public:
     AliITSvPPRasymmFMD();
     AliITSvPPRasymmFMD(const char *name, const char *title);
-    AliITSvPPRasymmFMD(const AliITSvPPRasymmFMD &source); // copy constructor
-    AliITSvPPRasymmFMD& operator=(const AliITSvPPRasymmFMD &source); // assignment operator
     virtual       ~AliITSvPPRasymmFMD() ;
     virtual void   BuildGeometry();
     virtual void   CreateGeometry();
@@ -99,6 +97,8 @@ class AliITSvPPRasymmFMD : public AliITS {
         return fFluid;}
 
  private:
+    AliITSvPPRasymmFMD(const AliITSvPPRasymmFMD &source); // copy constructor
+    AliITSvPPRasymmFMD& operator=(const AliITSvPPRasymmFMD &source); // assignment operator
     void InitAliITSgeom();
 
     // TString fEuclidGeomtery,fEuclidMaterial defined in AliModule.
index d857d8b761a8f9464b34baa12e9807728d81bf4a..b67f38f371a065e5179557997a2d0046eb40cff8 100644 (file)
@@ -85,26 +85,6 @@ fSuppMat(0) {
     fIdSens    = new Int_t[fIdN];
     for (Int_t i=0;i<fIdN;i++) fIdSens[i]=0;
 }
-//____________________________________________________________________________
-AliITSvPPRcoarseasymm::AliITSvPPRcoarseasymm(const AliITSvPPRcoarseasymm &s) :
- AliITS(s),
-fMajorVersion(s.fMajorVersion),
-fMinorVersion(s.fMinorVersion),
-fRails(s.fRails),
-fSuppMat(s.fSuppMat){
-////////////////////////////////////////////////////////////////////////
-//     Copy Constructor for ITS version 6.
-////////////////////////////////////////////////////////////////////////
-}
-//_____________________________________________________________________________
-AliITSvPPRcoarseasymm& AliITSvPPRcoarseasymm::operator=(const AliITSvPPRcoarseasymm &source){
-////////////////////////////////////////////////////////////////////////
-//    Assignment operator for the ITS version 6.
-////////////////////////////////////////////////////////////////////////
-  if(&source == this) return *this;
-    Warning("= operator","Not allowed to copy AliITSvPPRcoarseasymm");
-  return *this;
-}
 //_____________________________________________________________________________
 AliITSvPPRcoarseasymm::~AliITSvPPRcoarseasymm() {
 ////////////////////////////////////////////////////////////////////////
index 00a3e34d9b1bc697445a7dbf5c65fd4835124de0..6bff0fc72f15092619d684b900abc4cfbf4e6b43 100644 (file)
@@ -16,8 +16,6 @@ class AliITSvPPRcoarseasymm : public AliITS {
  public:
     AliITSvPPRcoarseasymm();
     AliITSvPPRcoarseasymm(const char *name, const char *title);
-    AliITSvPPRcoarseasymm(const AliITSvPPRcoarseasymm &source); // copy constructor
-    AliITSvPPRcoarseasymm& operator=(const AliITSvPPRcoarseasymm &source); // assignment operator
     virtual       ~AliITSvPPRcoarseasymm() ;
     virtual void   BuildGeometry();
     virtual void   CreateGeometry();
@@ -46,6 +44,9 @@ class AliITSvPPRcoarseasymm : public AliITS {
 
 
  private:
+    AliITSvPPRcoarseasymm(const AliITSvPPRcoarseasymm &source); // copy constructor
+    AliITSvPPRcoarseasymm& operator=(const AliITSvPPRcoarseasymm &source); // assignment operator
+
     Int_t  fMajorVersion;     // Major version number == IsVersion
     Int_t  fMinorVersion;     // Minor version number
     Int_t  fRails;            // flag to switch rails on (=1) and off (=0)
index eb7183ba07b5934a408c8053b6b52b294e747a9c..550f00e687abbb1e64790373f051055700ae6605 100644 (file)
@@ -139,38 +139,6 @@ fYear(2003){
     strncpy(fWrite,fEuclidGeomDet,60);
 }
 //______________________________________________________________________
-AliITSvSDD03::AliITSvSDD03(const AliITSvSDD03 &source) :  AliITS(source){
-    ////////////////////////////////////////////////////////////////////////
-    //     Copy Constructor for ITS SDD test beam 2002 version 1.
-    // This class is not to be copied. Function only dummy.
-    // Inputs:
-    //    const AliITSvSDD03 &source   The class to be copied
-    // Outputs:
-    //    none.
-    // Return:
-    //    A warning message.
-    ////////////////////////////////////////////////////////////////////////
-    if(&source == this) return;
-    Warning("Copy Constructor","Not allowed to copy AliITSvSDD03");
-    return;
-}
-//______________________________________________________________________
-AliITSvSDD03& AliITSvSDD03::operator=(const AliITSvSDD03 &source){
-    ////////////////////////////////////////////////////////////////////////
-    //    Assignment operator for the ITS SDD test beam 2002 version 1.
-    // This class is not to be copied. Function only dummy.
-    // Inputs:
-    //    const AliITSvSDD03 &source   The class to be copied
-    // Outputs:
-    //    none.
-    // Return:
-    //    A Warning message
-    ////////////////////////////////////////////////////////////////////////
-    if(&source == this) return *this;
-    Warning("= operator","Not allowed to copy AliITSvSDD03");
-    return *this;
-}
-//______________________________________________________________________
 AliITSvSDD03::~AliITSvSDD03() {
     ////////////////////////////////////////////////////////////////////////
     //    Standard destructor for the ITS SDD test beam 2002 version 1.
index 799f8bbe7299646f048409a43e5e35078bad27f0..e545e842265259ef8cbe32b402b62e6339f66652 100644 (file)
@@ -23,8 +23,6 @@ class AliITSvSDD03 : public AliITS{
  public:
     AliITSvSDD03(); // default constructor
     AliITSvSDD03(const char *title,Int_t year); // standard constructor
-    AliITSvSDD03(const AliITSvSDD03 &source); // Copy constructor
-    AliITSvSDD03& operator=(const AliITSvSDD03 &source); // = operator
     virtual ~AliITSvSDD03(); // destructor
     virtual void   BuildGeometry();
     virtual void   CreateGeometry();
@@ -72,6 +70,8 @@ class AliITSvSDD03 : public AliITS{
                                  Int_t &lad,Int_t &det) const;
          //
  private:  
+    AliITSvSDD03(const AliITSvSDD03 &source); // Copy constructor
+    AliITSvSDD03& operator=(const AliITSvSDD03 &source); // = operator
     void InitAliITSgeom();
     Bool_t fGeomDetOut;       // Flag to write .det file out
     Bool_t fGeomDetIn;        // Flag to read .det file or directly from Geat.
index 0d3fc61ffb6b576566fbc9eb91bf73e67fc18991..7945dd5c43c7237825ff6ddce72f0ef2c7719a66 100644 (file)
@@ -123,38 +123,6 @@ fChip2(300.0){
     strncpy(fWrite,fEuclidGeomDet,60);
 }
 //______________________________________________________________________
-AliITSvSPD02::AliITSvSPD02(const AliITSvSPD02 &source) : AliITS(source){
-    ////////////////////////////////////////////////////////////////////////
-    //     Copy Constructor for ITS SPD test beam 2002 version 1.
-    // This class is not to be copied. Function only dummy.
-    // Inputs:
-    //    const AliITSvSPD02 &source   The class to be copied
-    // Outputs:
-    //    none.
-    // Return:
-    //    A warning message.
-    ////////////////////////////////////////////////////////////////////////
-    if(&source == this) return;
-    Warning("Copy Constructor","Not allowed to copy AliITSvSPD02");
-    return;
-}
-//______________________________________________________________________
-AliITSvSPD02& AliITSvSPD02::operator=(const AliITSvSPD02 &source){
-    ////////////////////////////////////////////////////////////////////////
-    //    Assignment operator for the ITS SPD test beam 2002 version 1.
-    // This class is not to be copied. Function only dummy.
-    // Inputs:
-    //    const AliITSvSPD02 &source   The class to be copied
-    // Outputs:
-    //    none.
-    // Return:
-    //    A Warning message
-    ////////////////////////////////////////////////////////////////////////
-    if(&source == this) return *this;
-    Warning("= operator","Not allowed to copy AliITSvSPD02");
-    return *this;
-}
-//______________________________________________________________________
 AliITSvSPD02::~AliITSvSPD02() {
     ////////////////////////////////////////////////////////////////////////
     //    Standard destructor for the ITS SPD test beam 2002 version 1.
index 1cf59f3113eed35221e37bc00973e1a561720b1c..3a451091d1d981810c62100fb32201e433e5e47f 100644 (file)
@@ -22,8 +22,6 @@ class AliITSvSPD02 : public AliITS{
  public:
     AliITSvSPD02(); // default constructor
     AliITSvSPD02(const char *title,Int_t geomnum=2002); // standard constructor
-    AliITSvSPD02(const AliITSvSPD02 &source); // Copy constructor
-    AliITSvSPD02& operator=(const AliITSvSPD02 &source); // = operator
     virtual ~AliITSvSPD02(); // destructor
     virtual void   BuildGeometry();
     virtual void   CreateGeometry();
@@ -69,6 +67,8 @@ class AliITSvSPD02 : public AliITS{
     void CreateMaterials2002();
 
  private:  
+    AliITSvSPD02(const AliITSvSPD02 &source); // Copy constructor
+    AliITSvSPD02& operator=(const AliITSvSPD02 &source); // = operator
     void InitAliITSgeom();
     Bool_t fGeomDetOut;       // Flag to write .det file out
     Bool_t fGeomDetIn;        // Flag to read .det file or directly from Geat.
index edf0ef3246435e5a2a46708d1a467647d7fe934e..7646707380fb6d42bde23cb34b7e534407c65ae3 100644 (file)
@@ -114,38 +114,6 @@ AliITSvSSD03::AliITSvSSD03(const char *title,Int_t gn) : AliITS("ITS", title){
     strncpy(fWrite,fEuclidGeomDet,60);
 }
 //______________________________________________________________________
-AliITSvSSD03::AliITSvSSD03(const AliITSvSSD03 &source) : AliITS(source){
-    ////////////////////////////////////////////////////////////////////////
-    //     Copy Constructor for ITS SSD test beam 2003 version 1.
-    // This class is not to be copied. Function only dummy.
-    // Inputs:
-    //    const AliITSvSSD03 &source   The class to be copied
-    // Outputs:
-    //    none.
-    // Return:
-    //    A warning message.
-    ////////////////////////////////////////////////////////////////////////
-    if(&source == this) return;
-    Warning("Copy Constructor","Not allowed to copy AliITSvSSD03");
-    return;
-}
-//______________________________________________________________________
-AliITSvSSD03& AliITSvSSD03::operator=(const AliITSvSSD03 &source){
-    ////////////////////////////////////////////////////////////////////////
-    //    Assignment operator for the ITS SSD test beam 2003 version 1.
-    // This class is not to be copied. Function only dummy.
-    // Inputs:
-    //    const AliITSvSSD03 &source   The class to be copied
-    // Outputs:
-    //    none.
-    // Return:
-    //    A Warning message
-    ////////////////////////////////////////////////////////////////////////
-    if(&source == this) return *this;
-    Warning("= operator","Not allowed to copy AliITSvSSD03");
-    return *this;
-}
-//______________________________________________________________________
 AliITSvSSD03::~AliITSvSSD03() {
     ////////////////////////////////////////////////////////////////////////
     //    Standard destructor for the ITS SSD test beam 2003 version 1.
index 18c680a9621be1d7bf4ed641a816c0ee4d605e16..7503229d321e53fa94429172c1377ac6b56f6fca 100644 (file)
@@ -13,8 +13,6 @@ class AliITSvSSD03 : public AliITS{
  public:
     AliITSvSSD03(); // default constructor
     AliITSvSSD03(const char *title,Int_t geomnum=2003); // standard constructor
-    AliITSvSSD03(const AliITSvSSD03 &source); // Copy constructor
-    AliITSvSSD03& operator=(const AliITSvSSD03 &source); // = operator
     virtual ~AliITSvSSD03(); // destructor
     virtual void   BuildGeometry();
     virtual void   CreateGeometry();
@@ -60,6 +58,8 @@ class AliITSvSSD03 : public AliITS{
     void CreateMaterials2003();
 
  private:  
+    AliITSvSSD03(const AliITSvSSD03 &source); // Copy constructor
+    AliITSvSSD03& operator=(const AliITSvSSD03 &source); // = operator
     void InitAliITSgeom();
     Bool_t fGeomDetOut;       // Flag to write .det file out
     Bool_t fGeomDetIn;        // Flag to read .det file or directly from Geat.
index ca8ef14804c831b26be8e33bf4ea70d92daf008d..b14098dd5446321f7051d5a1bd6526800c976e47 100644 (file)
@@ -64,24 +64,6 @@ AliITSvtest::AliITSvtest() {
     for(i=0;i<60;i++) fWrite[i] = '\0';
     for(i=0;i<60;i++) fEuclidGeomDet[i] = '\0';
 }
-//____________________________________________________________________________
-AliITSvtest::AliITSvtest(const AliITSvtest &source) : AliITS(source){
-////////////////////////////////////////////////////////////////////////
-//     Copy Constructor for ITS test version.
-////////////////////////////////////////////////////////////////////////
-    if(&source == this) return;
-    Warning("Copy Constructor","Not allowed to copy AliITSvtest");
-    return;
-}
-//_____________________________________________________________________________
-AliITSvtest& AliITSvtest::operator=(const AliITSvtest &source){
-////////////////////////////////////////////////////////////////////////
-//    Assignment operator for the ITS version 1.
-////////////////////////////////////////////////////////////////////////
-       if(&source == this) return *this;
-       Warning("= operator","Not allowed to copy AliITSvtest");
-       return *this;
-}
 //_____________________________________________________________________________
 AliITSvtest::~AliITSvtest() {
     // Standard destructor for the ITS
index 30c6172090dbe8ea23941cb0d6cd6a775b0cfa00..5f122c0a1911ab33ffb1b14dafee245d7ffb3396 100644 (file)
@@ -19,8 +19,6 @@ public:
      AliITSvtest();
      AliITSvtest(const char *fileeuc,const char *filetme,
                 const char *name, const char *title);
-     AliITSvtest(const AliITSvtest &source); // copy constructor
-     AliITSvtest& operator=(const AliITSvtest &source); // assignment operator
      virtual       ~AliITSvtest() ;
      virtual void  CreateGeometry();
      virtual void  CreateMaterials();
@@ -60,6 +58,8 @@ public:
        return fMinorVersion;}
 
  private:
+    AliITSvtest(const AliITSvtest &source); // copy constructor
+    AliITSvtest& operator=(const AliITSvtest &source); // assignment operator
     void InitAliITSgeom();
 
     // TString fEuclidGeomtery,fEuclidMaterial defined in AliModule.
index fdc41428a60531d868ffe05a65a0e71d88372c3e..e40232118eef7060134b0dc8de466957fabfdcf4 100644 (file)
@@ -159,7 +159,7 @@ AliMUON::AliMUON(const char *name, const char* title)
   AliDebug(1,Form("ctor this=%p",this));
   fIshunt =  0;
 
-  SetMarkerColor(kRed);//
+  //PH SetMarkerColor(kRed);//
     
   // Geometry builder
   fGeometryBuilder = new AliMUONGeometryBuilder(this);
index 1bb202f50f869cd8686eef35abaa1e036eb584aa..956d58c0191e3b7b8e00a0ae088e9e0eb9d7ea92 100644 (file)
@@ -26,6 +26,7 @@
 #include <TH2.h>
 #include <TMinuit.h>
 #include <TMatrixD.h>
+#include <TRandom.h>
 
 #include "AliMUONClusterFinderAZ.h"
 #include "AliMUONClusterDrawAZ.h"
index 18585f79e1e96ce7e95961d96031dab4782576f4..b29eb13e2cf5a3d54dcbb13a6911bc34e6cfce76 100644 (file)
@@ -16,6 +16,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.102  2006/10/27 17:14:27  kharlov
+ * Introduce AliDebug and AliLog (B.Polichtchouk)
+ *
  * Revision 1.101  2006/10/13 06:47:29  kharlov
  * Simulation of RAW data applies real mapping (B.Polichtchouk)
  *
@@ -128,13 +131,6 @@ AliPHOS::~AliPHOS()
 {  
 }
 
-//____________________________________________________________________________
-void AliPHOS::Copy(TObject &obj)const
-{
-  // copy method to be used by the cpy ctor
-  TObject::Copy(obj);
-}
-
 //____________________________________________________________________________
 AliDigitizer* AliPHOS::CreateDigitizer(AliRunDigitizer* manager) const
 {
index 8c65abeb8a813ae9cf4ebc071ffc430850f65d2b..aa394d8eeb47d3d1427762735352fcf51bf08a7d 100644 (file)
@@ -7,6 +7,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.68  2006/08/11 12:36:25  cvetan
+ * Update of the PHOS code needed in order to read and reconstruct the beam test raw data (i.e. without an existing galice.root)
+ *
  * Revision 1.67  2006/04/07 08:42:00  hristov
  * Follow AliAlignObj framework and remove AliPHOSAlignData (Yu.Kharlov)
  *
@@ -56,10 +59,6 @@ public:
 
   AliPHOS() ;
   AliPHOS(const char* name, const char* title="") ;  
-  AliPHOS(AliPHOS & phos) : AliDetector(phos) {
-    //Copy(*this) ; 
-    phos.Copy(*this);
-  }
   virtual ~AliPHOS() ; 
   virtual void   AddHit(Int_t, Int_t*, Float_t *) {
     // do not use this definition but the one below
@@ -68,7 +67,6 @@ public:
   }
   virtual void   AddHit( Int_t shunt, Int_t primary, Int_t track, 
                         Int_t id, Float_t *hits ) = 0 ;   
-  virtual void Copy(TObject &phos)const; 
   virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
   virtual void  CreateMaterials() ;            
   virtual void  Digits2Raw();
@@ -101,8 +99,6 @@ public:
   virtual AliLoader* MakeLoader(const char* topfoldername);
   virtual void    SetTreeAddress();   
   virtual const TString Version() const {return TString(" ") ; } 
-  AliPHOS & operator = (const AliPHOS & /*rvalue*/)  {
-    Fatal("operator =", "not implemented") ; return *this ; }
 
 
 protected:
@@ -119,7 +115,11 @@ protected:
   static Double_t fgTimeMax ;           // maximum sampled time of the raw RO signal                             
   static Double_t fgTimePeak ;          // peaking time of the raw RO signal                                    
   static Double_t fgTimeTrigger ;       // time of the trigger for the RO signal 
-                                        
+
+ private:                                        
+  AliPHOS(AliPHOS & phos);
+  AliPHOS & operator = (const AliPHOS & /*rvalue*/);
+
   ClassDef(AliPHOS,6) // Photon Spectrometer Detector (base class)
 } ;
 
index 51663c622df0d970eb32474df7dcde480c9e21dd..f92eb586d2134963efd94c94547981bbd48c14c9 100644 (file)
@@ -17,6 +17,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.82  2006/09/27 19:55:57  kharlov
+ * Alignment object with symbolic volume names are introduced
+ *
  * Revision 1.81  2006/03/04 20:25:56  kharlov
  * Set geom parameters from CDB
  *
@@ -73,13 +76,6 @@ AliPHOSv0::AliPHOSv0(const char *name, const char *title):
   GetGeometry() ; 
 }
 
-//____________________________________________________________________________
-void AliPHOSv0::Copy(TObject & phos) const
-{
-  TObject::Copy(phos) ; 
-  AliPHOS::Copy(phos) ; 
-}
-
 //____________________________________________________________________________
 void AliPHOSv0::BuildGeometry()
 {
index 0a8df6bb6b80c446defcadaa91462992f727c185..f29d59e941da832f2aa9cfa48cfbe4344a229d55 100644 (file)
@@ -8,6 +8,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.44  2006/09/27 19:55:57  kharlov
+ * Alignment object with symbolic volume names are introduced
+ *
  * Revision 1.43  2005/05/28 14:19:05  schutz
  * Compilation warnings fixed by T.P.
  *
@@ -33,13 +36,9 @@ class AliPHOSv0 : public AliPHOS {
 
   AliPHOSv0() {}
   AliPHOSv0(const char *name, const char *title="") ;
-  AliPHOSv0(AliPHOSv0 & phos) : AliPHOS(phos) {
-    phos.Copy(*this) ; 
-  } 
   virtual ~AliPHOSv0(void){
     // dtor
   } 
-  virtual void Copy(TObject &phos) const; 
 
 //    virtual void   AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) {
   //this function is not a final-overrider for AliPHOS::AddHit, to
@@ -73,14 +72,10 @@ class AliPHOSv0 : public AliPHOS {
     return TString("v0") ; 
   }
   
-  AliPHOSv0 & operator = (const AliPHOSv0 & /*rvalue*/)  {
-    // assignement operator requested by coding convention but not needed
-    Fatal("operator =", "not implemented") ;
-    return *this ; 
-  }
-  
- protected:
   
+ private:
+  AliPHOSv0(AliPHOSv0 & phos);
+  AliPHOSv0 & operator = (const AliPHOSv0 & /*rvalue*/);
 
   ClassDef(AliPHOSv0,1)  // Implementation of PHOS manager class for layout EMC+PPSD
     
index 6d221a3920bcbf51a3c14f427731542d1003a632..ee5047f31b292fb3ce5baf6fdead4588624abf0f 100644 (file)
@@ -18,6 +18,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.105  2006/09/13 07:31:01  kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
  * Revision 1.104  2005/05/28 14:19:05  schutz
  * Compilation warnings fixed by T.P.
  *
@@ -119,22 +122,6 @@ AliPHOSv1::AliPHOSv1(const char *name, const char *title):
   fAPDFactor              = (fRecalibrationFactor/100.) * fAPDGain ;   
 }
 
-AliPHOSv1::AliPHOSv1(AliPHOSv1 & phos) :
-  AliPHOSv0(phos),
-  fLightYieldMean(0.),
-  fIntrinsicPINEfficiency(0.),
-  fLightYieldAttenuation(0.),
-  fRecalibrationFactor(0.),
-  fElectronsPerGeV(0.),
-  fAPDGain(0.),
-  fLightFactor(0.),
-  fAPDFactor(0.)
-{
-  //Copy ctor. Can be wrong.
-  phos.Copy(*this) ; 
-}
-
-
 //____________________________________________________________________________
 AliPHOSv1::~AliPHOSv1()
 {
@@ -146,22 +133,6 @@ AliPHOSv1::~AliPHOSv1()
  }
 }
 
-//____________________________________________________________________________
-void AliPHOSv1::Copy(TObject & base)const
-{
-  TObject::Copy(base) ; 
-  AliPHOSv0::Copy(base) ;
-  AliPHOSv1 &phos = static_cast<AliPHOSv1 &>(base); 
-  phos.fLightYieldMean         = fLightYieldMean ; 
-  phos.fIntrinsicPINEfficiency = fIntrinsicPINEfficiency ; 
-  phos.fLightYieldAttenuation  = fLightYieldAttenuation ; 
-  phos.fRecalibrationFactor    = fRecalibrationFactor ; 
-  phos.fElectronsPerGeV        = fElectronsPerGeV ; 
-  phos.fAPDGain                = fAPDGain ; 
-  phos.fLightFactor            = fLightFactor ; 
-  phos.fAPDFactor              = fAPDFactor ; 
-}
-
 //____________________________________________________________________________
 void AliPHOSv1::AddHit(Int_t shunt, Int_t primary, Int_t Id, Float_t * hits)
 {
index 2187d28c917c36c7737e16f5210345f75d3f3232..3d5c6af030d4625d3c632ebc7c10a002fe0226a0 100644 (file)
@@ -8,6 +8,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.40  2006/09/13 07:31:01  kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
  * Revision 1.39  2005/05/28 14:19:05  schutz
  * Compilation warnings fixed by T.P.
  *
@@ -33,11 +36,8 @@ public:
 
   AliPHOSv1(void) ;
   AliPHOSv1(const char *name, const char *title="") ;
-  AliPHOSv1(AliPHOSv1 & phos);
   virtual ~AliPHOSv1(void) ;
 
-  virtual void   Copy(TObject &phos) const; 
-
   using AliPHOSv0::AddHit;
   virtual void   AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits) ; 
   virtual void   FinishEvent() ;
@@ -50,12 +50,6 @@ public:
   virtual void   StepManager(void) ;                              
   virtual const TString Version(void)const { return TString("v1") ;  }
 
-  AliPHOSv1 & operator = (const AliPHOSv1 & /*rvalue*/)  {
-    // assignement operator requested by coding convention but not needed
-    Fatal("operator =", "not implemented") ;
-    return *this ; 
-  }
-
   void       CPVDigitize (TLorentzVector p, Float_t *xy, TClonesArray *digits) ;
   Float_t    CPVPadResponseFunction(Float_t qhit, Float_t zg, Float_t xg) ;
   Double_t   CPVCumulPadResponse(Double_t x, Double_t y) ;
@@ -91,6 +85,10 @@ protected:
   Float_t fLightFactor ;            //! a calculated factor
   Float_t fAPDFactor ;              //! a calculated factor
 
+ private:
+  AliPHOSv1(AliPHOSv1 & phos);
+  AliPHOSv1 & operator = (const AliPHOSv1 & /*rvalue*/);
+
   ClassDef(AliPHOSv1,2)  // Implementation of PHOS manager class for layout EMC+PPSD
 
 };
index 84dbb11754c029d8536e4fc94d7e7535444fe037..14141056bf3070532a318aedd0c1eeab08176079 100644 (file)
@@ -17,6 +17,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.24  2005/05/28 14:19:05  schutz
+ * Compilation warnings fixed by T.P.
+ *
  */
 
 //_________________________________________________________________________
@@ -62,13 +65,6 @@ AliPHOSv2::~AliPHOSv2()
   // dtor
 }
 
-//____________________________________________________________________________
-void AliPHOSv2::Copy(TObject & phos)const
-{
-  TObject::Copy(phos) ; 
-  AliPHOSv1::Copy(phos) ;   
-}
-
 //____________________________________________________________________________
 void AliPHOSv2::AddHit(Int_t shunt, Int_t primary, Int_t Id, Float_t * hits)
 {
index 12b97bafd68f1fcd7af1a8f7fc05b22bbdb0d38b..abda045f4096188fedc1b1d444f6dab2e6f9be4a 100644 (file)
@@ -8,6 +8,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.19  2005/07/01 20:01:36  kharlov
+ * Warning fix on AddHit in gcc 3.4.2
+ *
  * Revision 1.18  2005/05/28 14:19:05  schutz
  * Compilation warnings fixed by T.P.
  *
@@ -31,12 +34,8 @@ public:
 
   AliPHOSv2(void) ;
   AliPHOSv2(const char *name, const char *title="") ;
-  AliPHOSv2(AliPHOSv2 & phos) : AliPHOSv1(phos){
-    phos.Copy(*this) ; 
-  }
   virtual ~AliPHOSv2(void) ;
 
-  virtual void    Copy(TObject &phos) const; 
   using AliPHOSv1::AddHit;
   virtual void    AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits); 
   virtual Int_t   IsVersion(void) const { 
@@ -48,7 +47,9 @@ public:
     return TString("v2") ; 
   }
 
-protected:
+private:
+
+  AliPHOSv2(AliPHOSv2 & phos);
 
   ClassDef(AliPHOSv2,1)  // Class AliPHOSv0 which allows to write ond disk al the information of the hits. 
 
index 08c078b0ee192405e4b4a5bcad6841cef454ff8a..53b0c2332e87997b91f0e22fc957d663fe9f0fbc 100644 (file)
@@ -18,6 +18,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.30  2006/09/13 07:31:01  kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
  * Revision 1.29  2005/05/28 14:19:05  schutz
  * Compilation warnings fixed by T.P.
  *
@@ -96,29 +99,6 @@ AliPHOSvFast::AliPHOSvFast(const char *name, const char *title):
   SetBigBox(2, GetGeometry()->GetOuterBoxSize(2) ); 
 }
 
-//____________________________________________________________________________
-AliPHOSvFast::AliPHOSvFast(AliPHOSvFast & fast) :
-  AliPHOS(fast),
-  fBigBoxX(0.),
-  fBigBoxY(0.),
-  fBigBoxZ(0.),
-  fFastRecParticles(0),
-  fNRecParticles(0),
-  fRan(0),
-  fResPara1(0.),
-  fResPara2(0.),
-  fResPara3(0.),
-  fPosParaA0(0.),
-  fPosParaA1(0.),
-  fPosParaB0(0.),
-  fPosParaB1(0.),
-  fPosParaB2(0.)    
-{
-  //Copy ctor.
-  fast.Copy(*this) ; 
-}
-
-
 //____________________________________________________________________________
 AliPHOSvFast::~AliPHOSvFast()
 {
@@ -130,30 +110,6 @@ AliPHOSvFast::~AliPHOSvFast()
 
 }
 
-//____________________________________________________________________________
-void AliPHOSvFast::Copy(TObject & base)const
-{
-  TObject::Copy(base) ; 
-  AliPHOS::Copy(base) ; 
-  AliPHOSvFast &fast = static_cast<AliPHOSvFast &>(base);
-  fast.fBigBoxX = fBigBoxX ; 
-  fast.fBigBoxY = fBigBoxY ; 
-  fast.fBigBoxZ = fBigBoxZ ;
-  fast.fNRecParticles = fNRecParticles ;
-  fast.fRan = fRan ; 
-  fast.fResPara1 = fResPara1 ; 
-  fast.fResPara2 = fResPara2 ; 
-  fast.fResPara3 = fResPara3 ;
-  fast.fPosParaA0 = fPosParaA0 ;
-  fast.fPosParaA1 = fPosParaA1 ; 
-  fast.fPosParaB0 = fPosParaB0 ;
-  fast.fPosParaB1 = fPosParaB1 ;
-  fast.fFastRecParticles = new TClonesArray(fFastRecParticles->GetClass()->GetName(), 100) ; 
-  Int_t index ; 
-  for (index = 0 ; index < fFastRecParticles->GetEntries(); index++) 
-    (fast.fFastRecParticles)->AddAt(fFastRecParticles->At(index), index) ;
-}
-
 //____________________________________________________________________________
 void AliPHOSvFast::AddRecParticle(const AliPHOSFastRecParticle & rp)
 {  
index bae38b1289d18061c2055e9e06b4a969c7047f36..e72c1865e1e48350446b746d621e01b9922a5a5b 100644 (file)
@@ -8,6 +8,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.26  2006/09/13 07:31:01  kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
  * Revision 1.25  2005/05/28 14:19:05  schutz
  * Compilation warnings fixed by T.P.
  *
@@ -40,11 +43,9 @@ public:
 
   AliPHOSvFast() ;
   AliPHOSvFast(const char *name, const char *title="") ;
-  AliPHOSvFast(AliPHOSvFast & fast);
   
   virtual ~AliPHOSvFast(void) ;
 
-  virtual void Copy(TObject &fast) const; 
   void           AddRecParticle(const AliPHOSFastRecParticle & rp) ; // adds primary particle to the RecParticles list
   virtual void   BuildGeometry(void) ;                               // creates the geometry for the ROOT display
   virtual void   CreateGeometry(void) ;                              // creates the geometry for GEANT
@@ -74,11 +75,9 @@ public:
     return TString("vFast") ; 
   }
 
-  AliPHOSvFast & operator = (const AliPHOSvFast & )  {
-    Fatal("operator =", "not implemented") ; return *this ; 
-  }
-  
 private:
+  AliPHOSvFast(AliPHOSvFast & fast);
+  AliPHOSvFast & operator = (const AliPHOSvFast & );
   
   Float_t fBigBoxX ;                         // main box containing all PHOS (EMC+PPSD)
   Float_t fBigBoxY ;                         // main box containing all PHOS (EMC+PPSD)
index 55326627561f16f53b8c2f56a04dc43cc08b9921..311231a071fb40713f129c9b062455c009b3bfd7 100644 (file)
@@ -19,6 +19,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.23  2006/09/13 07:31:01  kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
  * Revision 1.22  2005/06/17 07:39:07  hristov
  * Removing GetDebug and SetDebug from AliRun and AliModule. Using AliLog for the messages
  *
@@ -103,16 +106,6 @@ AliPHOSvImpacts::AliPHOSvImpacts(const char *name, const char *title):
 
 }
 
-//____________________________________________________________________________
-AliPHOSvImpacts::AliPHOSvImpacts(AliPHOSvImpacts & phos):
-  AliPHOSv1(phos),
-  fEMCImpacts(0),
-  fCPVImpacts(0),
-  fPPSDImpacts(0)
-{
-  phos.Copy(*this);
-}
-
 //____________________________________________________________________________
 AliPHOSvImpacts::~AliPHOSvImpacts()
 {
@@ -138,14 +131,6 @@ AliPHOSvImpacts::~AliPHOSvImpacts()
   }
 }
 
-//____________________________________________________________________________
-void AliPHOSvImpacts::Copy(TObject & phos) const
-{
-  TObject::Copy(phos) ; 
-  AliPHOS::Copy(phos) ; 
-}
-
-
 //____________________________________________________________________________
 void AliPHOSvImpacts::AddImpact(const char* det, Int_t shunt, Int_t primary, Int_t track, Int_t module,
                           Int_t pid, TLorentzVector p, Float_t *xyz)
index e223fbac43823e019ae9d33dd62db40b656a0083..1aa58b2fbdb138b604f3aa76cb99d93e4362f8b6 100644 (file)
@@ -8,6 +8,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.9  2006/09/13 07:31:01  kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
  * Revision 1.8  2005/05/28 14:19:05  schutz
  * Compilation warnings fixed by T.P.
  *
@@ -37,10 +40,8 @@ public:
 
   AliPHOSvImpacts(void) ;
   AliPHOSvImpacts(const char *name, const char *title="") ;
-  AliPHOSvImpacts(AliPHOSvImpacts & phos);
   virtual ~AliPHOSvImpacts(void) ;
 
-  virtual void   Copy(TObject & phos) const; 
   virtual void   AddImpact(const char* detector, Int_t shunt, Int_t primary, Int_t track,
                           Int_t module, Int_t pid, TLorentzVector p, Float_t *xyz) ;
   virtual void   MakeBranch(Option_t *opt=" ");
@@ -55,12 +56,6 @@ public:
     return TString("vImpacts") ; 
   }
 
-  AliPHOSvImpacts & operator = (const AliPHOSvImpacts & /*rvalue*/)  {
-    // assignement operator requested by coding convention but not needed
-    Fatal("operator =", "not implemented") ;
-    return *this ; 
-  }
-
 protected:
 
   TList * fEMCImpacts;         // Array of impacts in EMC modules
@@ -71,6 +66,9 @@ protected:
   Int_t  fNCPVImpacts[5];      // Number of CPV impacts per module
   Int_t  fNPPSDImpacts[5];     // Number of PPSD impacts per module
 
+ private:
+  AliPHOSvImpacts(AliPHOSvImpacts & phos);
+  AliPHOSvImpacts & operator = (const AliPHOSvImpacts & /*rvalue*/);
 
   ClassDef(AliPHOSvImpacts,1)  // Implementation of PHOS manager class for layout EMC+PPSD
 
index e17b0a2cd9ec64d0a2cf0f598621af9d7686f621..3161a5706be3e1734bce5e62420c37349955a195 100644 (file)
@@ -30,6 +30,7 @@
 #include <TFile.h>
 #include <TNtuple.h>
 #include <TParticle.h>
+#include <TRandom.h>
 
 #include "AliLog.h"
 #include "AliRun.h"
index 19957fdbfd19d8a6919611c62cfd37f42b73730b..b6e4c98df0cd941acf321f4730b379ce784c46b4 100644 (file)
@@ -15,9 +15,7 @@ public:
 //ctor & dtor    
             AliRICH(const char *nm,const char *ttl);                                              //named ctor
             AliRICH(                              ):AliDetector(    ),fSdi(0),fDig(0),fClu(0) {}  //default ctor          
-            AliRICH(const AliRICH &rich           ):AliDetector(rich),fSdi(0),fDig(0),fClu(0) {}  //copy ctor not implemented
   virtual  ~AliRICH();                                            
-  AliRICH&  operator=(const AliRICH&)                 {return *this;}                             //not implemented
 //framework part  
           void  BuildGeometry   (                ) {}          //from AliModule invoked from AliMC::InitGeometry() to build geometry for old event display
   virtual void  CreateMaterials (                )=0;          //from AliModule invoked from AliMC::ConstructGeometry() to define detector materials
@@ -55,6 +53,10 @@ protected:
   TObjArray            *fDig;                     //! each chamber holds it's one list of digits
   TObjArray            *fClu;                     //! each chamber holds it's one list of clusters 
   
+ private:
+  AliRICH(const AliRICH &rich           );
+  AliRICH&  operator=(const AliRICH&);
+
   ClassDef(AliRICH,11)                            //Main RICH class 
 };//class AliRICH  
 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
index 8436c64b794875b66ae8af26cb665acd5f494f8e..26dd1ca541824484f10e22c33c92f896ba7f49b9 100755 (executable)
@@ -97,7 +97,7 @@ AliSTART::AliSTART(const char *name, const char *title)
   //  fRecPoints = new AliSTARTRecPoint();
   fIshunt     =  1;
   //  fIdSens   =  0;
-  SetMarkerColor(kRed);
+  //PH  SetMarkerColor(kRed);
 }
 
 //_____________________________________________________________________________
@@ -121,29 +121,6 @@ AliSTART::~AliSTART() {
   */ 
 }
 
-//______________________________________________________________________________
-AliSTART::AliSTART(const AliSTART &source):
-  AliDetector(source)
-{
-  // Copy constructor
-  // not implemented
-  AliWarning("Copy constructor not implemented!");
-}
-
-//______________________________________________________________________________
-AliSTART& AliSTART::operator= (const AliSTART& source)
-{
-  // Asignment operator
-  // not implemented
-  if(this==&source) return *this;
-
-  AliWarning("Asignment operator not implemented!");
-
-  ((TObject *)this)->operator=(source);
-
-  return *this;
-}
 //_____________________________________________________________________________
 void AliSTART::AddHit(Int_t track, Int_t *vol, Float_t *hits)
 {
index 545356501b1d157bad3f82e6ae11a65d56be4df3..0859b4db8530d0b07cbd68aa3881a21aea4d824e 100755 (executable)
@@ -61,6 +61,7 @@ protected:
    AliSTARTdigit *fDigits;
    AliSTARTRecPoint *fRecPoints;
 
+ private:
    AliSTART(const AliSTART&);
    AliSTART& operator=(const AliSTART&);
  
index 76a89e1eb7732ced3f2cc66b1948f7c775475c8e..628332ba39bd21b8b8d6d528a772e0d642d6dbbd 100644 (file)
@@ -68,24 +68,6 @@ AliDetector::AliDetector():
   //
 }
  
-//_______________________________________________________________________
-AliDetector::AliDetector(const AliDetector &det):
-  AliModule(det),
-  fTimeGate(200.e-9),
-  fIshunt(0),
-  fNhits(0),
-  fNdigits(0),
-  fBufferSize(1600),
-  fMaxIterHit(0),
-  fCurIterHit(0),
-  fHits(0),
-  fDigits(0),
-  fPoints(0),
-  fLoader(0x0)
-{
-  det.Copy(*this);
-}
-
 //_____________________________________________________________________________
 AliDetector::AliDetector(const char* name,const char *title):
   AliModule(name,title),
@@ -219,15 +201,6 @@ void AliDetector::Browse(TBrowser *b)
   }
 }
 
-//_______________________________________________________________________
-void AliDetector::Copy(TObject &) const
-{
-  //
-  // Copy *this onto det -- not implemented
-  //
-  AliFatal("Not implemented");
-}
-
 //_______________________________________________________________________
 void AliDetector::FinishRun()
 {
@@ -344,11 +317,11 @@ void AliDetector::LoadPoints(Int_t)
   for(trk=0; trk<tracks; ++trk) {
     if(ntrk[trk]) {
       points = new AliPoints();
-      points->SetMarkerColor(GetMarkerColor());
-      points->SetMarkerSize(GetMarkerSize());
+      points->SetMarkerColor(3); //PH color=3 was set in AliModule
+      points->SetMarkerSize(1);  //PH size-1 is the default value
       points->SetDetector(this);
       points->SetParticle(trk);
-      points->SetPolyMarker(ntrk[trk],coor[trk],GetMarkerStyle());
+      points->SetPolyMarker(ntrk[trk],coor[trk],1);//PH style=1 is the default value
       fPoints->AddAt(points,trk);
       delete [] coor[trk];
       coor[trk]=0;
index de5e6b1f7758bd4189f4d95b36c818976074a8f6..aab9a5c3347ce9194291d95cf52885ca51a352f2 100644 (file)
@@ -26,11 +26,9 @@ public:
   // Creators - distructors
   AliDetector(const char* name, const char *title);
   AliDetector();
-  AliDetector(const AliDetector &det);
   virtual ~AliDetector();
 
   // Inline functions
-  void  Copy(TObject &det) const;
   virtual int   GetNdigits() const {return fNdigits;}
   virtual int   GetNhits()   const {return fNhits;}
   TClonesArray *Digits() const {return fDigits;}
@@ -39,8 +37,6 @@ public:
   TObjArray    *Points() const {return fPoints;}
   Int_t         GetIshunt() const {return fIshunt;}
   void          SetIshunt(Int_t ishunt) {fIshunt=ishunt;}
-  AliDetector &operator=(const AliDetector &det) 
-  {det.Copy(*this); return (*this);}
   
   // Other methods
   virtual void        Publish(const char *dir, void *c, const char *name=0) const;
@@ -87,6 +83,10 @@ protected:
 
   AliLoader*  fLoader;//! pointer to getter for this module skowron
 
+ private:
+  AliDetector(const AliDetector &det);
+  AliDetector &operator=(const AliDetector &det);
+
   ClassDef(AliDetector,5)  //Base class for ALICE detectors
 };
 #endif
index 321db45087926bc9a86c4db0ac555e15edecfcff..b43b0427d682d279156b73a6a8bda333e36c9f4a 100644 (file)
@@ -114,40 +114,13 @@ AliModule::AliModule(const char* name,const char *title):
 
   gAlice->AddModule(this);
 
-  SetMarkerColor(3);
+  //PH  SetMarkerColor(3);
   //
   // Clear space for tracking media and material indexes
 
   for(Int_t i=0;i<100;i++) (*fIdmate)[i]=(*fIdtmed)[i]=0;
 }
  
-//_______________________________________________________________________
-AliModule::AliModule(const AliModule &mod):
-  TNamed(mod),
-  TAttLine(mod),
-  TAttMarker(mod),
-  AliRndm(mod),
-  fEuclidMaterial(""),
-  fEuclidGeometry(""),
-  fIdtmed(0),
-  fIdmate(0),
-  fLoMedium(0),
-  fHiMedium(0),
-  fActive(0),
-  fHistograms(0),
-  fNodes(0),
-  fEnable(0),
-  fTrackReferences(0),
-  fMaxIterTrackRef(0),
-  fCurrentIterTrackRef(0),
-  fRunLoader(0)
-{
-  //
-  // Copy constructor
-  //
-  mod.Copy(*this);
-}
-
 //_______________________________________________________________________
 AliModule::~AliModule()
 {
@@ -184,15 +157,6 @@ AliModule::~AliModule()
 
 }
  
-//_______________________________________________________________________
-void AliModule::Copy(TObject & /* mod */) const
-{
-  //
-  // Copy *this onto mod, not implemented for AliModule
-  //
-  AliFatal("Not implemented!");
-}
-
 //_______________________________________________________________________
 void AliModule::Disable()
 {
index 0525452b9a08c2b1fdd903180f1e49083ee46700..5999858a0c57e45428db0480edf39b62f1ea4bdb 100644 (file)
 //
 
 #include <Riostream.h>
-#include <TAttLine.h>
-#include <TAttMarker.h>
 #include <TNamed.h>
 
-#include "AliRndm.h"
 #include "AliTriggerDetector.h"
 
 class TClonesArray;
@@ -36,14 +33,12 @@ class AliRunLoader;
 class AliRawReader;
 
 
-class AliModule : public TNamed , public TAttLine, public TAttMarker,
-                  public AliRndm {
+class AliModule : public TNamed {
 public:
 
   // Creators - distructors
   AliModule(const char* name, const char *title);
   AliModule();
-  AliModule(const AliModule &mod);
   virtual ~AliModule();
 
   // Inline functions
@@ -102,7 +97,7 @@ public:
   virtual void        Digits2Raw();
   virtual void        Raw2Digits()  {}
   virtual Bool_t      Raw2SDigits(AliRawReader*) {return kFALSE;}
-  virtual void        Browse(TBrowser *) {}
+  virtual void        Browse(TBrowser *) {} //PH Do we need it?
   virtual void        CreateGeometry() {}
   virtual void        CreateMaterials() {}
   virtual void        AddAlignableVolumes() const;
@@ -126,7 +121,7 @@ public:
   virtual AliLoader*  GetLoader() const {return 0x0;} //skowron
   
 
-  virtual void        Paint(Option_t *) {}
+  virtual void        Paint(Option_t *) {} //PH Do we need it?
   virtual void        ResetDigits() {}
   virtual void        ResetSDigits() {}
   virtual void        ResetHits() {}
@@ -158,11 +153,8 @@ public:
     {fRunLoader = runLoader;}
   
 //
-  AliModule& operator=(const AliModule &mod)
-    {mod.Copy(*this); return (*this);}
  
 protected:      
-  void Copy(TObject &mod) const;
 
   // Data members
   
@@ -184,6 +176,10 @@ protected:
 
   AliRunLoader* fRunLoader;   //!local pointer to run loader
 
+ private:
+  AliModule(const AliModule &mod);
+  AliModule& operator=(const AliModule &mod);
+
   ClassDef(AliModule,7)  //Base class for ALICE Modules
 };
 #endif
index c24b5251a19b1b3fc9ab06d502c5ab40cfc3a13f..171c29351fbe23b854f7f138657d148f546c1f8c 100644 (file)
@@ -58,9 +58,9 @@ AliABSO::AliABSO(const char *name, const char *title)
   //
   // Standard constructor
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
+  //PH  SetMarkerColor(7);
+  //PH  SetMarkerStyle(2);
+  //PH  SetMarkerSize(0.4);
 }
  
 //_____________________________________________________________________________
index be17e215b45ae7b0ed3d3251d3e546c944bfe0a7..a5d9fcbfa61178c770140cb0ddd2d80ad2e954e1 100644 (file)
@@ -70,9 +70,6 @@ AliABSOv0::AliABSOv0(const char *name, const char *title)
   //
   // Standard constructor
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
 }
  
 //_____________________________________________________________________________
index f74c0b1f4a63f2e45dfdf7d6250d619e23824eea..38c5b4e568ff8272eb2de1ed309ce4fb6b662f55 100644 (file)
@@ -59,9 +59,9 @@ AliBODY::AliBODY(const char *name, const char *title)
   //
   // Standard constructor of the Alice external volume
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
+  //PH  SetMarkerColor(7);
+  //PH  SetMarkerStyle(2);
+  //PH  SetMarkerSize(0.4);
 }
  
 //_____________________________________________________________________________
index 570e2cbf6ee91ae5d337d5ed6db3fbee402800c5..e940a21edd6c14ff71361c004e7142102c5ecc99 100644 (file)
@@ -58,9 +58,9 @@ AliDIPO::AliDIPO(const char *name, const char *title)
   //
   // Standard constructor for the Magnetic Dipole
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
+  //PH  SetMarkerColor(7);
+  //PH  SetMarkerStyle(2);
+  //PH  SetMarkerSize(0.4);
 }
  
 //_____________________________________________________________________________
index 0de0ff60219189ea6524a868f60a9daea4510414..1ee292e88e8a20871ece8a96d5b6592e5c3b9359 100644 (file)
@@ -57,9 +57,6 @@ AliDIPOv2::AliDIPOv2(const char *name, const char *title)
 {
   //
   // Standard constructor for the magnetic dipole version 2    
-   SetMarkerColor(7);
-   SetMarkerStyle(2);
-   SetMarkerSize(0.4);
 }
 
 void AliDIPOv2::CreateGeometry()
index 0befd7bfa6f245bb780f4b3c0fe1818f6de15728..4f0c2ed680f68016fe5794de5cde5af07ad397e8 100644 (file)
@@ -59,8 +59,8 @@ AliFRAME::AliFRAME(const char *name, const char *title)
   // Standard constructor
   //
     
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
+  //PH  SetMarkerColor(7);
+  //PH  SetMarkerStyle(2);
+  //PH  SetMarkerSize(0.4);
 }
  
index fa5216a7704edd75e1a1e8d3fdf8b50438fcec8d..081df85bd1fcc2f85be0474938e42818c6751ba9 100644 (file)
@@ -61,9 +61,9 @@ AliHALL::AliHALL(const char *name, const char *title)
   //
   // Standard constructor for the experimental Hall
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
+  //PH  SetMarkerColor(7);
+  //PH  SetMarkerStyle(2);
+  //PH  SetMarkerSize(0.4);
 }
  
 //_____________________________________________________________________________
index 95a841f1b9834e900f91a63db1b2bdf2a16b14ec..5508150f18b843070ce0fbbffc42cae5b942d21f 100644 (file)
@@ -71,9 +71,9 @@ AliMAG::AliMAG(const char *name, const char *title)
   */
   //End_Html
   
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
+  //PH  SetMarkerColor(7);
+  //PH  SetMarkerStyle(2);
+  //PH  SetMarkerSize(0.4);
 }
 
 //_____________________________________________________________________________
index d2973276c9f0adfbee0d0765ca1e3cdc3a217819..87f2a8a9e9fac54c62dceed43be7395247a7a9e9 100644 (file)
@@ -47,8 +47,8 @@ AliPIPE::AliPIPE(const char *name, const char *title)
   //
   // Standard constructor for beam pipe
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
+  //PH  SetMarkerColor(7);
+  //PH  SetMarkerStyle(2);
+  //PH  SetMarkerSize(0.4);
 }
  
index c98468b3fdea2e1476550dff4d804c3722239097..70a9cc65d2e30def7502e520417cf9aed28024a4 100644 (file)
@@ -52,9 +52,9 @@ AliSHIL::AliSHIL(const char *name, const char *title)
   //
   // Standard constructor for muon shield
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
+  //PH  SetMarkerColor(7);
+  //PH  SetMarkerStyle(2);
+  //PH  SetMarkerSize(0.4);
 }
  
 //_____________________________________________________________________________
index 8c5f8e20f61544bceb47dbfe1da4830aa3441d6d..9e10f27985ffe31697d49d95e7cf67d4d3d6ccf3 100644 (file)
@@ -56,9 +56,6 @@ AliSHILv0::AliSHILv0(const char *name, const char *title)
   //
   // Standard constructor for muon shield
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
   // Pb  cone not yet compatible with muon chamber inner radii
   // Switched off by default
  }
index 99704b08dfdc523c7db1117e343f8985a3bff7a9..f4975f89f501fe25bd5d9aec497d648dc142959b 100644 (file)
@@ -59,9 +59,6 @@ AliSHILv2::AliSHILv2(const char *name, const char *title)
   //
   // Standard constructor for muon shield
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
   // Pb  cone not yet compatible with muon chamber inner radii
   // Switched off by default
 }
index 7b33c96843775327f9cad3f801fb8b9266001f29..ae0484454254faf279a39f67d2c1198310a6f5a7 100644 (file)
@@ -53,9 +53,6 @@ AliSHILv3::AliSHILv3(const char *name, const char *title)
   //
   // Standard constructor for muon shield
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
 }
  
 //_____________________________________________________________________________
index d1d2adde86e2fbfa8281a0f05c83f2291d011684..0f993210b639ff1611603e5fa9bb32299de93b5f 100644 (file)
@@ -51,9 +51,6 @@ AliSHILvF::AliSHILvF(const char *name, const char *title)
   //
   // Standard constructor for muon shield
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
   // Pb  cone not yet compatible with muon chamber inner radii
   // Switched off by default
 }
index 2053cb7b0d69994a50ef4e9a3e3ca4cd453576d3..164de8abc127d5755a13826052c1319f3d688c5d 100644 (file)
@@ -145,9 +145,9 @@ AliTOF::AliTOF(const char *name, const char *title, Option_t *option)
   //
   // (Transfer Functions to be inserted here)
   //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
+  //PH  SetMarkerColor(7);
+  //PH  SetMarkerStyle(2);
+  //PH  SetMarkerSize(0.4);
 
 // Strip Parameters
   //fGapA    =   4.; //cm  Gap beetween tilted strip in A-type plate
index 2e44199a3039b6af1c5e0eb6a82dfec960a5239c..b302981fc2a21bf87ef80892582147934ce951e5 100644 (file)
 //                                                                         //
 //_________________________________________________________________________//
 
-#include "Riostream.h"
+#include <Riostream.h>
 
-#include "TFile.h"
-#include "TH1F.h"
-#include "TTree.h"
+#include <TFile.h>
+#include <TH1F.h>
+#include <TTree.h>
+#include <TRandom.h>
 
 #include "AliLoader.h"
 #include "AliLog.h"
 #include "AliTOFSDigit.h"
 #include "AliTOF.h"
 
-extern TDirectory *gDirectory;
-extern TFile *gFile;
-extern TRandom *gRandom;
-
-extern AliRun *gAlice;
-
-
 ClassImp(AliTOFDigitizer)
 
 //___________________________________________
index d7a8a987d4f3a33c6208caab273a8a110de4cb05..d86265ce7bd51941f494dc0807c9cfb328929ef7 100644 (file)
 //   Use case: see AliTOFhits2sdigits.C macro in the CVS    //
 //__________________________________________________________//
 
-#include "TBenchmark.h"
-#include "TF1.h"
-#include "TFile.h"
-#include "TParticle.h"
-#include "TTree.h"
+#include <TBenchmark.h>
+#include <TF1.h>
+#include <TFile.h>
+#include <TParticle.h>
+#include <TTree.h>
+#include <TRandom.h>
 
 #include "AliLoader.h"
 #include "AliLog.h"
 #include "AliTOFSDigit.h"
 #include "AliTOF.h"
 
-extern TBenchmark *gBenchmark;
-extern TDirectory *gDirectory;
-extern TFile *gFile;
-extern TRandom *gRandom;
-extern TROOT *gROOT;
-
-extern AliRun *gAlice;
-
 
 ClassImp(AliTOFSDigitizer)
 
index c3dead29946d19fb85754f8e8c264e57bce4cb36..02d8508cf6d896c3e95afd3610904670231f237a 100644 (file)
 //
 //_________________________________________________________________________
 
-#include "TCanvas.h"
-#include "TClonesArray.h"
-#include "TFile.h"
-#include "TFolder.h"
-#include "TFrame.h"
-#include "TH1.h"
-#include "TParticle.h"
-#include "TBenchmark.h"
-#include "TTask.h"
-#include "TTree.h"
+#include <TCanvas.h>
+#include <TClonesArray.h>
+#include <TFile.h>
+#include <TFolder.h>
+#include <TFrame.h>
+#include <TH1.h>
+#include <TParticle.h>
+#include <TBenchmark.h>
+#include <TTask.h>
+#include <TTree.h>
+#include <TRandom.h>
 
 #include "AliMC.h"
 #include "AliRun.h"
 #include "AliTOFT0.h"
 #include "AliTOF.h"
 
-extern TBenchmark *gBenchmark;
-extern TSystem *gSystem;
-extern TRandom *gRandom;
-extern TROOT *gROOT;
-
-extern AliRun *gAlice;
-
-
 ClassImp(AliTOFT0)
 
 //____________________________________________________________________________ 
index 50a64d09984afa9af8ad4896142654bc69a5762c..231ecaedb57cb1349ffdd2ad618e6dd8a50be1e0 100644 (file)
@@ -161,7 +161,7 @@ AliTPC::AliTPC(const char *name, const char *title)
   fIshunt     =  0;
   //
   // Initialise color attributes
-  SetMarkerColor(kYellow);
+  //PH SetMarkerColor(kYellow);
 
   //
   //  Set TPC parameters
@@ -179,36 +179,6 @@ AliTPC::AliTPC(const char *name, const char *title)
 }
 
 //_____________________________________________________________________________
-AliTPC::AliTPC(const AliTPC& t):AliDetector(t),
-                  fDefaults(0),
-                  fSens(0),
-                  fNsectors(0),
-                  fDigitsArray(0),
-                  fTPCParam(0),
-                  fTrackHits(0),
-                  fHitType(0),
-                  fDigitsSwitch(0),
-                  fSide(0),
-                  fNoiseDepth(0),
-                  fNoiseTable(0),
-                  fCurrentNoise(0),
-                  fActiveSectors(0)
-{
-  //
-  // dummy copy constructor
-  //
-}
-//
-AliTPC & AliTPC::operator =(const AliTPC & param)
-{
-  //
-  // assignment operator - dummy
-  //
-  fDefaults=param.fDefaults;
-  return (*this);
-}
-
-//
 AliTPC::~AliTPC()
 {
   //
@@ -2448,11 +2418,11 @@ void AliTPC::LoadPoints2(Int_t)
   for(trk=0; trk<tracks; ++trk) {
     if(ntrk[trk]) {
       points = new AliPoints();
-      points->SetMarkerColor(GetMarkerColor());
-      points->SetMarkerSize(GetMarkerSize());
+      points->SetMarkerColor(kYellow); //PH kYellow it the default in TPC
+      points->SetMarkerSize(1);//PH Default size=1
       points->SetDetector(this);
       points->SetParticle(trk);
-      points->SetPolyMarker(ntrk[trk],coor[trk],GetMarkerStyle());
+      points->SetPolyMarker(ntrk[trk],coor[trk],1); // Default style=1
       fPoints->AddAt(points,trk);
       delete [] coor[trk];
       coor[trk]=0;
@@ -2531,7 +2501,7 @@ void AliTPC::LoadPoints3(Int_t)
   for(trk=0; trk<tracks; ++trk) {
     if(ntrk[trk]) {
       points = new AliPoints();
-      points->SetMarkerColor(GetMarkerColor()+1);
+      points->SetMarkerColor(kMagenta); //PH kYellow + 1 is kMagenta
       points->SetMarkerStyle(5);
       points->SetMarkerSize(0.2);
       points->SetDetector(this);
index ae46b868543deb340fd8bfea449428ee525f6ed7..73e7be787f4803b1c5cc5491a9fbc5921c0b1992 100644 (file)
@@ -30,8 +30,6 @@ class AliTPC : public AliDetector {
 public:
   AliTPC(); 
   AliTPC(const char *name, const char *title);
-  AliTPC(const AliTPC& t);
-  AliTPC &operator = (const AliTPC & param);
   
   virtual AliLoader* MakeLoader(const char* topfoldername);
   
@@ -118,6 +116,8 @@ protected:
   Float_t        fSide;  // selects left(-1), right(+1), or both(0) sides of the TPC
    
  private:
+  AliTPC(const AliTPC& t);
+  AliTPC &operator = (const AliTPC & param);
   //
   void SetDefaults();
   void DigitizeRow(Int_t irow,Int_t isec,TObjArray **rowTriplet);
index 09ee16796679410fe5d507798be7c0fa28e40e12..7d800a98698ecae86c6fdd2fcd2189029a9a99d1 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <TParticle.h>
 #include <TVector.h>
+#include <TRandom.h>
 
 #include "AliRunLoader.h"
 #include "AliRun.h"
index 413bc5d3967f3aa19c031ff7313ed9bb27da28eb..693e8da5ad9399e782e04ddac6a96d9618ef3ee3 100644 (file)
@@ -76,6 +76,7 @@
 #include <TStyle.h>
 #include <TSystem.h>
 #include <TFile.h>
+#include <TRandom.h>
 //------ AliRoot headers ------
 #include "AliGausCorr.h"
 #include "AliTracker.h"
index 81fab43b8b5a3b5283530b6430686ef893afe55b..27235dc906a8121d1c1a243de915580d99ccca93 100644 (file)
@@ -116,22 +116,7 @@ AliTRD::AliTRD(const char *name, const char *title)
   fHits = new TClonesArray("AliTRDhit",405);
   gAlice->GetMCApp()->AddHitList(fHits);
 
-  SetMarkerColor(kWhite);   
-
-}
-
-//_____________________________________________________________________________
-AliTRD::AliTRD(const AliTRD &trd)
-  :AliDetector(trd)
-  ,fGeometry(trd.fGeometry)
-  ,fGasDensity(trd.fGasDensity)
-  ,fFoilDensity(trd.fFoilDensity)
-  ,fDrawTR(trd.fDrawTR)
-  ,fDisplayType(trd.fDisplayType)
-{
-  //
-  // Copy constructor
-  //
+  //PH SetMarkerColor(kWhite);   
 
 }
 
@@ -433,21 +418,6 @@ void AliTRD::BuildGeometry()
 
 }
  
-//_____________________________________________________________________________
-void AliTRD::Copy(TObject &trd) const
-{
-  //
-  // Copy function
-  //
-
-  ((AliTRD &) trd).fGeometry    = fGeometry;       
-  ((AliTRD &) trd).fGasDensity  = fGasDensity;
-  ((AliTRD &) trd).fFoilDensity = fFoilDensity;
-  ((AliTRD &) trd).fDrawTR      = fDrawTR;
-  ((AliTRD &) trd).fDisplayType = fDisplayType;
-
-}
-
 //_____________________________________________________________________________
 void AliTRD::CreateGeometry()
 {
@@ -844,9 +814,9 @@ void AliTRD::LoadPoints(Int_t )
 
       // Set the dEdx points
       if (ntrkE[trk]) {
-        points->SetMarkerColor(GetMarkerColor());
-        points->SetMarkerSize(GetMarkerSize());
-        points->SetPolyMarker(ntrkE[trk],coorE[trk],GetMarkerStyle());
+        points->SetMarkerColor(kWhite); //PH This is the default color in TRD
+        points->SetMarkerSize(1); //PH Default size=1
+        points->SetPolyMarker(ntrkE[trk],coorE[trk],1); //PH Default style=1
         delete [] coorE[trk];
         coorE[trk] = 0;
       }
index 5d374c22b78762b712d7c6d76df4532aabeeb623..6d3028d68532aedfd7af5e88fa1009c82814be6f 100644 (file)
@@ -34,12 +34,8 @@ class AliTRD : public AliDetector {
 
   AliTRD();
   AliTRD(const char *name, const char *title);
-  AliTRD(const AliTRD &trd);
   virtual         ~AliTRD();
 
-          AliTRD  &operator=(const AliTRD &trd);
-
-  virtual void     Copy(TObject &trd) const;
   virtual void     Init();
   virtual Int_t    IsVersion() const          = 0;
   virtual void     ResetDigits();     
@@ -90,6 +86,10 @@ class AliTRD : public AliDetector {
           Int_t    fDrawTR;             //  Switches marking the TR photons in the display
           Int_t    fDisplayType;        //  Display type (0: normal, 1: detailed) 
 
+ private:
+  AliTRD(const AliTRD &trd);
+  AliTRD  &operator=(const AliTRD &trd);
+
   ClassDef(AliTRD,9)                    //  Transition Radiation Detector base class
 
 };
index 3f13891dbd1180d0b2aca7f52d04a31760be0934..f32a01dc906bb216cd5061b256f400a5c3881ed7 100644 (file)
@@ -81,28 +81,6 @@ AliTRDv1::AliTRDv1(const char *name, const char *title)
 
 }
 
-//_____________________________________________________________________________
-AliTRDv1::AliTRDv1(const AliTRDv1 &trd)
-  :AliTRD(trd)
-  ,fTRon(trd.fTRon)
-  ,fTR(NULL)
-  ,fTypeOfStepManager(trd.fTypeOfStepManager)
-  ,fStepSize(trd.fStepSize)
-  ,fDeltaE(NULL)
-  ,fDeltaG(NULL)
-  ,fTrackLength0(trd.fTrackLength0)
-  ,fPrimaryTrackPid(trd.fPrimaryTrackPid)
-{
-  //
-  // Copy constructor
-  //
-
-  fDeltaE->Copy(*((AliTRDv1 &) trd).fDeltaE);
-  fDeltaG->Copy(*((AliTRDv1 &) trd).fDeltaG);
-  fTR->Copy(*((AliTRDv1 &) trd).fTR);
-
-}
-
 //_____________________________________________________________________________
 AliTRDv1::~AliTRDv1()
 {
@@ -127,38 +105,6 @@ AliTRDv1::~AliTRDv1()
 
 }
  
-//_____________________________________________________________________________
-AliTRDv1 &AliTRDv1::operator=(const AliTRDv1 &trd)
-{
-  //
-  // Assignment operator
-  //
-
-  if (this != &trd) ((AliTRDv1 &) trd).Copy(*this);
-
-  return *this;
-
-}
-//_____________________________________________________________________________
-void AliTRDv1::Copy(TObject &trd) const
-{
-  //
-  // Copy function
-  //
-
-  ((AliTRDv1 &) trd).fTypeOfStepManager = fTypeOfStepManager;
-  ((AliTRDv1 &) trd).fStepSize          = fStepSize;
-  ((AliTRDv1 &) trd).fTRon              = fTRon;
-  ((AliTRDv1 &) trd).fTrackLength0      = fTrackLength0;
-  ((AliTRDv1 &) trd).fPrimaryTrackPid   = fPrimaryTrackPid;
-
-  fDeltaE->Copy(*((AliTRDv1 &) trd).fDeltaE);
-  fDeltaG->Copy(*((AliTRDv1 &) trd).fDeltaG);
-  fTR->Copy(*((AliTRDv1 &) trd).fTR);
-
-}
-
 //_____________________________________________________________________________
 void AliTRDv1::AddAlignableVolumes() const
 {
index 65de0ad989aa742a964d03e890e86f7cf50e62f7..99891f6b1ba6f4bd311083567061eaed9377d7b5 100644 (file)
@@ -30,11 +30,8 @@ class AliTRDv1 : public AliTRD {
 
   AliTRDv1();
   AliTRDv1(const char *name, const char *title);
-  AliTRDv1(const AliTRDv1 &trd);
   virtual ~AliTRDv1();
-  AliTRDv1 &operator=(const AliTRDv1 &trd);
 
-  virtual void     Copy(TObject &trd) const;
   virtual void     Init();
   virtual Int_t    IsVersion() const          { return 1;      }
 
@@ -66,6 +63,8 @@ class AliTRDv1 : public AliTRD {
           Double_t fStepSize;           //  Used for the fixed step size
 
  private:
+  AliTRDv1(const AliTRDv1 &trd);
+  AliTRDv1 &operator=(const AliTRDv1 &trd);
 
           Double_t BetheBloch(Double_t bg);
           Double_t BetheBlochGeant(Double_t bg);
index 8d2a6f4081d1daf80cc2e6e375e4822f978e3955..6b614c0745e3d541d06683225633b17fca8450ea 100755 (executable)
@@ -80,7 +80,7 @@ AliVZERO::AliVZERO(const char *name, const char *title)
   fMaxDestepQua =  -1.0;
   fMaxDestepAlu =  -1.0;
   
-  SetMarkerColor(kRed);
+  //PH  SetMarkerColor(kRed);
 }
 
 //_____________________________________________________________________________
index 67e8bbf311403794de2d4abfb9552feb11ab5980..58a2576a9053cde01c129588a3e1f65fc658f5f4 100644 (file)
@@ -23,6 +23,7 @@
 
 // --- ROOT system ---
 #include <TTree.h>
+#include <TRandom.h>
 
 // --- AliRoot header files ---
 #include "AliVZEROConst.h"