]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Cleaning of warnings (gcc -W)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Aug 2003 09:53:46 +0000 (09:53 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Aug 2003 09:53:46 +0000 (09:53 +0000)
STEER/AliConfig.cxx
STEER/AliDataLoader.h
STEER/AliDetector.cxx
STEER/AliMemoryWatcher.cxx
STEER/AliMemoryWatcher.h
STEER/AliModule.cxx
STEER/AliRunDigitizer.cxx
STEER/AliRunLoader.cxx

index 3f2c2ffcf830d47960feed24f66ee9dc92b73a19..e2f5dd36bbf426373727f07afb9a03b6da56378c 100644 (file)
@@ -135,6 +135,7 @@ AliConfig::AliConfig():
 //____________________________________________________________________________
 
 AliConfig::AliConfig(const AliConfig& conf):
+  TNamed(conf),
   fTopFolder(0x0),
   fTaskFolder(0x0),
   fConstFolder(0x0),
index a666403b62c68947317b1749c500282b17f7e85c..e04db605b4a1655c3d6dec7a2e8fbe3798a99f0e 100644 (file)
@@ -148,7 +148,7 @@ class AliBaseLoader: public TNamed
     virtual TObject*   Get() const = 0; 
     Bool_t             IsLoaded()const{return fIsLoaded;}
     void               SetDataLoader(AliDataLoader* dl){fDataLoader = dl;}
-    void               SetEventFolder(TFolder* ef){;}
+    void               SetEventFolder(TFolder* /*ef*/){;}
     void               SetDoNotReload(Bool_t flag){fDoNotReload = flag;}
     Bool_t             DoNotReload() const {return fDoNotReload;}
     TDirectory*        GetDirectory();//returns pointer to directory where data are stored. 
index 59c815bb8501719133231f0cba2c274464968c14..bea7d3b91abcd69731310b22425de7bae8c6c660 100644 (file)
@@ -142,7 +142,7 @@ AliDetector::~AliDetector()
 }
 
 //_______________________________________________________________________
-void AliDetector::Publish(const char *dir, void *address, const char *name)
+void AliDetector::Publish(const char */*dir*/, void */*address*/, const char */*name*/)
 {
 //
 // Register pointer to detector objects. 
@@ -163,7 +163,7 @@ TBranch* AliDetector::MakeBranchInTree(TTree *tree, const char* name,
 TBranch* AliDetector::MakeBranchInTree(TTree *tree, const char* name, 
                                        const char *classname, 
                                        void* address,Int_t size, 
-                                       Int_t splitlevel, const char *file)
+                                       Int_t splitlevel, const char */*file*/)
 { 
 //
 // Makes branch in given tree and diverts them to a separate file
index 7134d17903d439dcb716589b8b64c29619fb5c17..0ffdad0c61081e8215f30a7f9b74f04c83e102e4 100644 (file)
@@ -70,7 +70,8 @@ AliMemoryWatcher::AliMemoryWatcher(UInt_t maxsize)
   fTimer=0;
 }
 //_____________________________________________________________________________
-AliMemoryWatcher::AliMemoryWatcher(AliMemoryWatcher& mw)
+AliMemoryWatcher::AliMemoryWatcher(const AliMemoryWatcher& mw):
+  TObject(mw)
 {
   //copy ctor
   fMAXSIZE = mw.fMAXSIZE ;
index 45d065f95cc41ce7877bc93860a0efdd84e284fe..2c31cdaf2f28970fdc505eefec82d18db22fe552 100644 (file)
@@ -44,11 +44,7 @@ class AliMemoryWatcher : public TObject
 {
 public:
   AliMemoryWatcher(UInt_t maxsize=10000);
-  AliMemoryWatcher(AliMemoryWatcher& mw);
-  AliMemoryWatcher(const AliMemoryWatcher & watcher) {
-    // copy ctor: no implementation yet
-    Fatal("cpy ctor", "not implemented") ;
-  }
+  AliMemoryWatcher(const AliMemoryWatcher& mw);
   ~AliMemoryWatcher() ;
   void Watch(Int_t x);
   
index fcf8d038d69c3b2aa17379024cdddda83d0290c9..fac5840302c553328aad0ac130a0ddf92f4f6ef5 100644 (file)
@@ -736,7 +736,7 @@ void AliModule::ResetTrackReferences()
  
 //_____________________________________________________________________________
 
-AliLoader*  AliModule::MakeLoader(const char* topfoldername
+AliLoader*  AliModule::MakeLoader(const char* /*topfoldername*/
  {
    return 0x0;
  }//skowron   
@@ -790,7 +790,7 @@ void  AliModule::AddTrackReference(Int_t label){
 
 
 //_____________________________________________________________________________
-void AliModule::MakeBranchTR(Option_t *option)
+void AliModule::MakeBranchTR(Option_t */*option*/)
 { 
     //
     // Makes branch in treeTR
index 46e66985777eb46f3708872e5e01b6292733a8a8..d35107c7c7ef722d3897f139a3df807ec3688b2a 100644 (file)
@@ -185,6 +185,7 @@ AliRunDigitizer::AliRunDigitizer(Int_t nInputStreams, Int_t sperb):
 //_______________________________________________________________________
 
 AliRunDigitizer::AliRunDigitizer(const AliRunDigitizer& dig):
+ TTask(dig),
  fkMASKSTEP(0),
  fOutputFileName(0),
  fOutputDirName(0),
@@ -497,7 +498,7 @@ Int_t  AliRunDigitizer::GetNParticles(Int_t event) const
 }
 //_______________________________________________________________________
 
-Int_t  AliRunDigitizer::GetNParticles(Int_t event, Int_t input) const
+Int_t  AliRunDigitizer::GetNParticles(Int_t /*event*/, Int_t /*input*/) const
 {
 // return number of particles in input file input for a given
 // event (as numbered in this input file)
@@ -523,7 +524,7 @@ Int_t* AliRunDigitizer::GetInputEventNumbers(Int_t event) const
   return a;
 }
 //_______________________________________________________________________
-Int_t AliRunDigitizer::GetInputEventNumber(Int_t event, Int_t input) const
+Int_t AliRunDigitizer::GetInputEventNumber(Int_t event, Int_t /*input*/) const
 {
 // return an event number of an eventInput from input file input
 // which was merged to create output event event
@@ -542,7 +543,7 @@ TParticle* AliRunDigitizer::GetParticle(Int_t i, Int_t event) const
 }
 
 //_______________________________________________________________________
-TParticle* AliRunDigitizer::GetParticle(Int_t i, Int_t input, Int_t event) const
+TParticle* AliRunDigitizer::GetParticle(Int_t /*i*/, Int_t /*input*/, Int_t /*event*/) const
 {
 // return pointer to particle with index i in the input file input
 // (index without mask)
index 3bbb95c605fbd760f5891e1dca336cb2cabcdd3e..c1a6facd7519dd8492c85346ec2d729821330433 100644 (file)
@@ -709,7 +709,7 @@ AliRun* AliRunLoader::GetAliRun() const
 }
 /**************************************************************************/
 
-Int_t AliRunLoader::WriteGeometry(Option_t* opt)
+Int_t AliRunLoader::WriteGeometry(Option_t* /*opt*/)
 {
 //writes geometry to the file
   fGAFile->cd();
@@ -761,7 +761,7 @@ Int_t AliRunLoader::WriteHeader(Option_t* opt)
 }
 /**************************************************************************/
 
-Int_t AliRunLoader::WriteAliRun(Option_t* opt)
+Int_t AliRunLoader::WriteAliRun(Option_t* /*opt*/)
 {
 //writes AliRun object to the file
   fGAFile->cd();
@@ -885,7 +885,7 @@ Int_t AliRunLoader::WriteTracks(Option_t* opt)
 }
 /**************************************************************************/
 
-Int_t AliRunLoader::WriteRunLoader(Option_t* opt)
+Int_t AliRunLoader::WriteRunLoader(Option_t* /*opt*/)
 {
 //Writes itself to the file
   CdGAFile();