]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Remove compiler warnings
authorhaavard <haavard@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Mar 2008 11:16:31 +0000 (11:16 +0000)
committerhaavard <haavard@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Mar 2008 11:16:31 +0000 (11:16 +0000)
TPC/AliTPCGenDBTemp.cxx
TPC/AliTPCGenDBTemp.h
TPC/AliTPCPreprocessor.cxx
TPC/AliTPCPreprocessor.h
TPC/AliTPCcalibDB.cxx
TPC/AliTPCcalibDB.h

index eabe9c0460600366f38c7ab5207118038fb95425..0cc34633c20a569585d180010a714b871db48041 100644 (file)
@@ -43,7 +43,7 @@ AliTPCGenDBTemp::AliTPCGenDBTemp(const char *defaultStorage, const char *specifi
 
 //______________________________________________________________________________________________
 
-AliTPCGenDBTemp::AliTPCGenDBTemp(const AliTPCGenDBTemp& org) : AliDCSGenDB(org)
+AliTPCGenDBTemp::AliTPCGenDBTemp(const AliTPCGenDBTemp& ) : AliDCSGenDB()
 {
 
 //
index c503f5d97e2724df7f2b6aaa60b73c6862c44edd..6826d508111087e83126ecb3dc88b0d10260a3ba 100644 (file)
@@ -45,8 +45,8 @@ public:
  
 
 private:
-  AliTPCGenDBTemp(const AliTPCGenDBTemp& org);
-  AliTPCGenDBTemp& operator= (const AliTPCGenDBTemp& org);
+  AliTPCGenDBTemp(const AliTPCGenDBTemp& );
+  AliTPCGenDBTemp& operator= (const AliTPCGenDBTemp& );
 
    ClassDef(AliTPCGenDBTemp,1)
 };
index daedfdb1466df6f622d56c17c54c8c958a103bc2..7d4040ce6b12444bb4dea77c59c7a87347f6982a 100644 (file)
@@ -63,17 +63,15 @@ AliTPCPreprocessor::AliTPCPreprocessor(AliShuttleInterface* shuttle) :
   fROC = AliTPCROC::Instance();
 }
 //______________________________________________________________________________________________
-// AliTPCPreprocessor::AliTPCPreprocessor(const AliTPCPreprocessor& org) :
-//   AliPreprocessor(org),
-//   fConfEnv(0), fTemp(0), fHighVoltage(0), fConfigOK(kTRUE)
-// {
-//   // copy constructor not implemented
-//   //   -- missing underlying copy constructor in AliPreprocessor
-//
-//   Fatal("AliTPCPreprocessor", "copy constructor not implemented");
+ AliTPCPreprocessor::AliTPCPreprocessor(const AliTPCPreprocessor&  ) :
+   AliPreprocessor("TPC",0),
+   fConfEnv(0), fTemp(0), fHighVoltage(0), fConfigOK(kTRUE), fROC(0)
+ {
+
+   Fatal("AliTPCPreprocessor", "copy constructor not implemented");
 //
 // //  fTemp = new AliTPCSensorTempArray(*(org.fTemp));
-// }
+ }
 
 //______________________________________________________________________________________________
 AliTPCPreprocessor::~AliTPCPreprocessor()
@@ -102,8 +100,8 @@ void AliTPCPreprocessor::Initialize(Int_t run, UInt_t startTime,
   AliPreprocessor::Initialize(run, startTimeLocal, endTime);
 
        AliInfo(Form("\n\tRun %d \n\tStartTime %s \n\tEndTime %s", run,
-               TTimeStamp(startTime).AsString(),
-               TTimeStamp(endTime).AsString()));
+               TTimeStamp((time_t)startTime,0).AsString(),
+               TTimeStamp((time_t)endTime,0).AsString()));
 
   // Preprocessor configuration
 
index feedb7f23ec3c022bef5a1b28cb79d689ebc17e1..9e0c54e5bd7cafcaca43c9d19badd1fae6b1aa47 100644 (file)
@@ -16,7 +16,7 @@ class AliTPCPreprocessor : public AliPreprocessor
 {
   public:
     AliTPCPreprocessor(AliShuttleInterface* shuttle);
-//    AliTPCPreprocessor(const AliTPCPreprocessor &org);
+    AliTPCPreprocessor(const AliTPCPreprocessor &);
     virtual ~AliTPCPreprocessor();
 
   protected:
index da96eb34ce67327c73812d50f4cf1641232a34a9..a51dc6bb0522c345cb65cab83aebb9cbed8d1513 100644 (file)
@@ -317,7 +317,20 @@ void AliTPCcalibDB::Update(){
   AliCDBManager::Instance()->SetCacheFlag(cdbCache); // reset original CDB cache
   
 }
-AliTPCcalibDB::AliTPCcalibDB(const AliTPCcalibDB& org)
+AliTPCcalibDB::AliTPCcalibDB(const AliTPCcalibDB& ):
+  fRun(-1),
+  fTransform(0),
+  fExB(0),
+  fPadGainFactor(0),
+  fPadTime0(0),
+  fPadNoise(0),
+  fPedestals(0),
+  fTemperature(0),
+  fMapping(0),
+  fRecoParamArray(0),
+  fParam(0),
+  fClusterParam(0)
+
 {
   //
   // Copy constructor invalid -- singleton implementation
@@ -325,7 +338,7 @@ AliTPCcalibDB::AliTPCcalibDB(const AliTPCcalibDB& org)
    Error("copy constructor","invalid -- singleton implementation");
 }
 
-AliTPCcalibDB& AliTPCcalibDB::operator= (const AliTPCcalibDB& rhs)
+AliTPCcalibDB& AliTPCcalibDB::operator= (const AliTPCcalibDB& )
 {
 //
 // Singleton implementation - no assignment operator
index 4d0aae695f58120ab7e8b0427e93e1903396d8af..1592fbc748978a2c8c1db172c829d2038047674e 100644 (file)
@@ -74,8 +74,8 @@ protected:
   static Bool_t       fgTerminated;  // termination control 
   ClassDef(AliTPCcalibDB, 0)
  private:
-   AliTPCcalibDB (const AliTPCcalibDB& org);
-   AliTPCcalibDB& operator= (const AliTPCcalibDB& rhs);
+   AliTPCcalibDB (const AliTPCcalibDB& );
+   AliTPCcalibDB& operator= (const AliTPCcalibDB& );
 };