new SDD preprocessor + removal of eff C++ warning (base) - E. Crescio
[u/mrichter/AliRoot.git] / ITS / AliITSCalibration.cxx
index 90dc078..f170722 100644 (file)
@@ -60,27 +60,30 @@ fResponse(){
 
 //______________________________________________________________________
 AliITSCalibration::AliITSCalibration(const AliITSCalibration &ob):
-  TObject(ob)
+TObject(ob),
+fDataType(ob.fDataType),
+fdv(ob.fdv),
+fN(ob.fN),
+fT(ob.fT),
+fGeVcharge(ob.fGeVcharge),
+fResponse(ob.fResponse)
 {
   // Copy constructor
-  // not implemented
-  AliWarning("Copy constructor not implemented!");
-}
 
+}
+/*
 //______________________________________________________________________________
 AliITSCalibration& AliITSCalibration::operator= (const AliITSCalibration& source)
 {
   // Asignment operator
-  // not implemented
-  if(this==&source) return *this;
 
-  AliWarning("Asignment operator not implemented!");
+  this->~AliITSCalibration();
+  new(this) AliITSCalibration(source);
+  return *this;
 
-  ((TObject *)this)->operator=(source);
 
-  return *this;
 }
-
+*/
 //______________________________________________________________________
 Double_t AliITSCalibration::MobilityElectronSiEmp() const {
     // Computes the electron mobility in cm^2/volt-sec. Taken from SILVACO