]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Changed to Copy(TObject &A) to appease the HP-compiler
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 27 Jun 2000 13:08:50 +0000 (13:08 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 27 Jun 2000 13:08:50 +0000 (13:08 +0000)
TRD/AliTRDclusterizerV1.cxx
TRD/AliTRDclusterizerV1.h
TRD/AliTRDdataArrayF.cxx
TRD/AliTRDdataArrayF.h
TRD/AliTRDdataArrayI.cxx
TRD/AliTRDdataArrayI.h
TRD/AliTRDsegmentArray.cxx
TRD/AliTRDsegmentArray.h
TRD/AliTRDv1.cxx
TRD/AliTRDv1.h

index aa6d9bff896ddd632d7c77ae2df71c60466fed10..8fd7c711ee4f32e30de785dc3d9cae034e2e7c00 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.6  2000/06/09 11:10:07  cblume
+Compiler warnings and coding conventions, next round
+
 Revision 1.5  2000/06/08 18:32:58  cblume
 Make code compliant to coding conventions
 
@@ -111,16 +114,16 @@ AliTRDclusterizerV1 &AliTRDclusterizerV1::operator=(const AliTRDclusterizerV1 &c
 }
 
 //_____________________________________________________________________________
-void AliTRDclusterizerV1::Copy(AliTRDclusterizerV1 &c)
+void AliTRDclusterizerV1::Copy(TObject &c)
 {
   //
   // Copy function
   //
 
-  c.fClusMaxThresh = fClusMaxThresh;
-  c.fClusSigThresh = fClusSigThresh;
-  c.fClusMethod    = fClusMethod;
-  c.fDigitsManager = NULL;
+  ((AliTRDclusterizerV1 &) c).fClusMaxThresh = fClusMaxThresh;
+  ((AliTRDclusterizerV1 &) c).fClusSigThresh = fClusSigThresh;
+  ((AliTRDclusterizerV1 &) c).fClusMethod    = fClusMethod;
+  ((AliTRDclusterizerV1 &) c).fDigitsManager = NULL;
 
   AliTRDclusterizer::Copy(c);
 
index e638440b6ec3585c45d0e4d081e924128db30b6d..3ebea4584be2bc2cc643684ed80998267b50532f 100644 (file)
@@ -23,7 +23,7 @@ class AliTRDclusterizerV1 : public AliTRDclusterizer {
   virtual ~AliTRDclusterizerV1();
   AliTRDclusterizerV1 &operator=(const AliTRDclusterizerV1 &c);
 
-  virtual void    Copy(AliTRDclusterizerV1 &c);
+  virtual void    Copy(TObject &c);
   virtual void    Init();
   virtual Bool_t  MakeCluster();
   virtual Bool_t  ReadDigits();
index 1037942dd99622c549d43c7a6dcfad203601aa6d..e352f6638179133497c60e76319db9c400491269 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.4  2000/06/09 11:10:07  cblume
+Compiler warnings and coding conventions, next round
+
 Revision 1.3  2000/06/08 18:32:58  cblume
 Make code compliant to coding conventions
 
@@ -102,15 +105,15 @@ void AliTRDdataArrayF::Allocate(Int_t nrow, Int_t ncol, Int_t ntime)
 }
 
 //_____________________________________________________________________________
-void AliTRDdataArrayF::Copy(AliTRDdataArrayF &a)
+void AliTRDdataArrayF::Copy(TObject &a)
 {
   //
   // Copy function
   //
 
-  fElements->Copy(*a.fElements);
+  fElements->Copy(*((AliTRDdataArrayF &) a).fElements);
 
-  a.fThreshold = fThreshold;
+  ((AliTRDdataArrayF &) a).fThreshold = fThreshold;
 
   AliTRDdataArray::Copy(a);
 
index 1fc662bc6bfac3fdb0f968fdc837a457b03f9568..5be7dca89275ccf4de7545e9f1ee7921f3eb5f3e 100644 (file)
@@ -27,7 +27,7 @@ class AliTRDdataArrayF : public AliTRDdataArray {
   AliTRDdataArrayF &operator=(const AliTRDdataArrayF &a);
 
   virtual void    Allocate(Int_t nrow, Int_t ncol,Int_t ntime);
-  virtual void    Copy(AliTRDdataArrayF &a);
+  virtual void    Copy(TObject &a);
   virtual void    Compress(Int_t bufferType, Float_t threshold);
   virtual void    Compress(Int_t bufferType); 
   virtual void    Expand();
index dec9059ab0c1609396bc005b7eb586f911710de3..e9e007f3544abc743b5740c57981c10717d9cc6e 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.4  2000/06/09 11:10:07  cblume
+Compiler warnings and coding conventions, next round
+
 Revision 1.3  2000/06/08 18:32:58  cblume
 Make code compliant to coding conventions
 
@@ -101,15 +104,15 @@ void AliTRDdataArrayI::Allocate(Int_t nrow, Int_t ncol, Int_t ntime)
 }
 
 //_____________________________________________________________________________
-void AliTRDdataArrayI::Copy(AliTRDdataArrayI &a)
+void AliTRDdataArrayI::Copy(TObject &a)
 {
   //
   // Copy function
   //
 
-  fElements->Copy(*a.fElements);
+  fElements->Copy(*((AliTRDdataArrayI &) a).fElements);
 
-  a.fThreshold = fThreshold;
+  ((AliTRDdataArrayI &) a).fThreshold = fThreshold;
 
   AliTRDdataArray::Copy(a);
 
index 8335e02f1b6287f39e4f4c975b64578397080858..157efd373ea2ca42899ab8bcfbfbc5b4d7173b86 100644 (file)
@@ -27,7 +27,7 @@ class AliTRDdataArrayI : public AliTRDdataArray {
   AliTRDdataArrayI &operator=(const AliTRDdataArrayI &a);
 
   virtual void   Allocate(Int_t nrow, Int_t ncol, Int_t ntime);
-  virtual void   Copy(AliTRDdataArrayI &a);
+  virtual void   Copy(TObject &a);
   virtual void   Compress(Int_t bufferType, Int_t threshold);
   virtual void   Compress(Int_t bufferType); 
   virtual void   Expand();
index f2d8d999f36a7e6aec2ccc27d703f0d106011332..401f49b9f0ab9adfcfd618ae463903bd8f6e03eb 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.3  2000/06/08 18:32:58  cblume
+Make code compliant to coding conventions
+
 Revision 1.2  2000/05/08 16:17:27  cblume
 Merge TRD-develop
 
@@ -83,7 +86,7 @@ AliTRDsegmentArray::~AliTRDsegmentArray()
 }
 
 //_____________________________________________________________________________
-void AliTRDsegmentArray::Copy(AliTRDsegmentArray &a)
+void AliTRDsegmentArray::Copy(TObject &a)
 {
   //
   // Copy function
index 5d290441fa6d00d07dd0a84df1d4db959895069f..f8cf5ca3cbab18d15e9183fdd145f05f6ba17c10 100644 (file)
@@ -22,7 +22,7 @@ class AliTRDsegmentArray : public AliTRDsegmentArrayBase {
   AliTRDsegmentArray(AliTRDsegmentArray &a);
   virtual ~AliTRDsegmentArray();
 
-  virtual void             Copy(AliTRDsegmentArray &a);
+  virtual void             Copy(TObject &a);
   virtual void             Delete();
   virtual void             Delete(const char *) { Delete(); };
 
index ef1c8299d0d224255eaa79d08593651cbdd14d5d..0d56cd7221bfa0795de89d010c96e4408181e89e 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.21  2000/06/09 11:10:07  cblume
+Compiler warnings and coding conventions, next round
+
 Revision 1.20  2000/06/08 18:32:58  cblume
 Make code compliant to coding conventions
 
@@ -168,25 +171,25 @@ AliTRDv1 &AliTRDv1::operator=(const AliTRDv1 &trd)
 }
  
 //_____________________________________________________________________________
-void AliTRDv1::Copy(AliTRDv1 &trd)
+void AliTRDv1::Copy(TObject &trd)
 {
   //
   // Copy function
   //
 
-  trd.fIdSens          = fIdSens;
+  ((AliTRDv1 &) trd).fIdSens          = fIdSens;
 
-  trd.fIdChamber1      = fIdChamber1;
-  trd.fIdChamber2      = fIdChamber2;
-  trd.fIdChamber3      = fIdChamber3;
+  ((AliTRDv1 &) trd).fIdChamber1      = fIdChamber1;
+  ((AliTRDv1 &) trd).fIdChamber2      = fIdChamber2;
+  ((AliTRDv1 &) trd).fIdChamber3      = fIdChamber3;
 
-  trd.fSensSelect      = fSensSelect;
-  trd.fSensPlane       = fSensPlane;
-  trd.fSensChamber     = fSensChamber;
-  trd.fSensSector      = fSensSector;
-  trd.fSensSectorRange = fSensSectorRange;
+  ((AliTRDv1 &) trd).fSensSelect      = fSensSelect;
+  ((AliTRDv1 &) trd).fSensPlane       = fSensPlane;
+  ((AliTRDv1 &) trd).fSensChamber     = fSensChamber;
+  ((AliTRDv1 &) trd).fSensSector      = fSensSector;
+  ((AliTRDv1 &) trd).fSensSectorRange = fSensSectorRange;
 
-  trd.fDeltaE          = NULL;
+  ((AliTRDv1 &) trd).fDeltaE          = NULL;
 
 }
 
index bbd3dfc19ea30ab8df09ff39eda8e99f8ca8eb43..2745ecb8667ae5cfbdf3060b1e3e5179547aa7a3 100644 (file)
@@ -27,7 +27,7 @@ class AliTRDv1 : public AliTRD {
   virtual ~AliTRDv1();
   AliTRDv1 &operator=(const AliTRDv1 &trd);
 
-  virtual void    Copy(AliTRDv1 &trd);
+  virtual void    Copy(TObject &trd);
   virtual void    CreateGeometry();
   virtual void    CreateMaterials();
   virtual Int_t   IsVersion() const    { return 1; };