From 705f5cb54c9ab4fcf691901ccb53124d63a475b0 Mon Sep 17 00:00:00 2001 From: masera Date: Sat, 26 Nov 2011 23:46:17 +0000 Subject: [PATCH] Coverity --- ITS/AliITSv11GeomCable.cxx | 27 +---------- ITS/AliITSv11GeomCable.h | 4 +- ITS/AliITSv11GeometrySSD.cxx | 93 +++--------------------------------- ITS/AliITSv11GeometrySSD.h | 5 +- 4 files changed, 14 insertions(+), 115 deletions(-) diff --git a/ITS/AliITSv11GeomCable.cxx b/ITS/AliITSv11GeomCable.cxx index dfa22c9e37c..4a780558a63 100644 --- a/ITS/AliITSv11GeomCable.cxx +++ b/ITS/AliITSv11GeomCable.cxx @@ -50,6 +50,7 @@ AliITSv11GeomCable::AliITSv11GeomCable(): TNamed(), { // constructor fPointArray.SetOwner(); + for(Int_t i=0;i~AliITSv11GeometrySSD(); - new(this) AliITSv11GeometrySSD(s); - return *this; -/* - if(&s == this) return *this; - fMotherVol = s.fMotherVol; - return *this; - */ -} + /////////////////////////////////////////////////////////////////////////////// void AliITSv11GeometrySSD::CreateTransformationMatrices(){ /////////////////////////////////////////////////////////////////////// diff --git a/ITS/AliITSv11GeometrySSD.h b/ITS/AliITSv11GeometrySSD.h index a4e6e755339..7d0b02b4797 100644 --- a/ITS/AliITSv11GeometrySSD.h +++ b/ITS/AliITSv11GeometrySSD.h @@ -26,8 +26,6 @@ class TGeoVolumeAssembly; class AliITSv11GeometrySSD: public AliITSv11Geometry { public: AliITSv11GeometrySSD(); - AliITSv11GeometrySSD(const AliITSv11GeometrySSD &source); - AliITSv11GeometrySSD& operator=(const AliITSv11GeometrySSD &source); virtual ~AliITSv11GeometrySSD(){}; ///////////////////////////////////////////////////////////////////////// // Public methods @@ -59,6 +57,9 @@ public: void SSDCone(TGeoVolume* moth); // Setting SSD Cone; void SSDCables(TGeoVolume* moth); // Setting SSD Cables; private: + AliITSv11GeometrySSD(const AliITSv11GeometrySSD &source); + AliITSv11GeometrySSD& operator=(const AliITSv11GeometrySSD &source); + ///////////////////////////////////////////////////////////////////////////////// // Names of the Sensitive Volumes of Layer 5 and Layer 6 ///////////////////////////////////////////////////////////////////////////////// -- 2.39.3