Compilation warnings removed
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 4 Aug 2003 15:57:22 +0000 (15:57 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 4 Aug 2003 15:57:22 +0000 (15:57 +0000)
HBTAN/AliHBTAnalysis.cxx
HBTAN/AliHBTAnalysis.h
HBTAN/AliHBTReaderKineTree.cxx
HBTAN/AliHBTReaderKineTree.h

index 7ffdcf9ab07d69bcb2bce3bd337bf72c3943abd9..22449d4a99131e63b8e6b470d37f9db331e5557e 100644 (file)
@@ -61,6 +61,7 @@ AliHBTAnalysis::AliHBTAnalysis():
 /*************************************************************************************/ 
 
 AliHBTAnalysis::AliHBTAnalysis(const AliHBTAnalysis& in):
+  TObject(in),
   fReader(0x0),
   fNTrackFunctions(0),
   fNParticleFunctions(0),
@@ -83,7 +84,7 @@ AliHBTAnalysis::AliHBTAnalysis(const AliHBTAnalysis& in):
    Fatal("AliHBTAnalysis(const AliHBTAnalysis&)","Sensless");
  }
 /*************************************************************************************/ 
-const AliHBTAnalysis& AliHBTAnalysis::operator=(const AliHBTAnalysis& right)
+const AliHBTAnalysis& AliHBTAnalysis::operator=(const AliHBTAnalysis& /*right*/)
  {
 //operator =
    Fatal("AliHBTAnalysis(const AliHBTAnalysis&)","Sensless");
index 46254ae7043a6dd7aa7194e7d64d7ed5e8433043..76c0388282ef6fa83d7c53024eab7db72565602a 100644 (file)
@@ -28,7 +28,7 @@ class AliHBTAnalysis: public TObject
    public:
      AliHBTAnalysis();
      AliHBTAnalysis(const AliHBTAnalysis& in);
-     const AliHBTAnalysis& operator=(const AliHBTAnalysis& right);
+     const AliHBTAnalysis& operator=(const AliHBTAnalysis& /*right*/);
      virtual ~AliHBTAnalysis();
 
      virtual void Process(Option_t* option = "TracksAndParticles");
index 24f844390a2cc0715324eaeedefc90faa180d9af..8160be6b1622d5c3ad95bbe67e00a1daa8add2f1 100644 (file)
@@ -73,10 +73,12 @@ Int_t AliHBTReaderKineTree::GetNumberOfPartEvents()
 
 
 /**********************************************************/
-Int_t AliHBTReaderKineTree::
-Read(AliHBTRun* particles, AliHBTRun *tracks)
- {
- cout<<"AliHBTReaderKineTree::Read()"<<endl;
+Int_t AliHBTReaderKineTree::Read(AliHBTRun* particles, AliHBTRun* /*tracks*/)
+{
+ //Reads Kinematics Tree
+  
+ Info("Read","");
  if (!particles) //check if an object is instatiated
    {
      Error("Read"," particles object must instatiated before passing it to the reader");
@@ -100,7 +102,7 @@ Read(AliHBTRun* particles, AliHBTRun *tracks)
 
  do  //do{}while; is OK even if 0 dirs specified. In that case we try to read from "./"
   { 
-    cout<<"________________________________________________________\n";
+    Info("Read","________________________________________________________");
     AliRunLoader * rl = OpenFile(currentdir);
 
     if (rl == 0x0)
@@ -145,7 +147,7 @@ Read(AliHBTRun* particles, AliHBTRun *tracks)
           }
          nnn++;
        }
-      cout<<"Total read "<<nnn<<endl;
+      Info("Read","Total read %d",nnn);
       totalNevents++;
      }
      delete rl;
index 447578304a158659c63b406ffb7beaa793d229e9..9c08ba769b30caae7d9559a023757b121a029498 100644 (file)
@@ -18,7 +18,7 @@ class AliHBTReaderKineTree: public AliHBTReader
 
     virtual ~AliHBTReaderKineTree(){}
     
-    Int_t        Read(AliHBTRun* particles, AliHBTRun *tracks);//reads tracks and particles and puts them in runs
+    Int_t        Read(AliHBTRun* particles, AliHBTRun* /*tracks*/);//reads tracks and particles and puts them in runs
 
     AliHBTEvent* GetParticleEvent(Int_t);//returns pointer to event with particles
     AliHBTEvent* GetTrackEvent(Int_t){return 0x0;}//returns pointer to event with particles