Correction for left over bugs after ParticleGuesser has been removed and replaced...
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Feb 2000 11:38:40 +0000 (11:38 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Feb 2000 11:38:40 +0000 (11:38 +0000)
PHOS/AliPHOSPID.h
PHOS/AliPHOSPIDv1.h
PHOS/AliPHOSReconstructioner.cxx
PHOS/AliPHOSv0.h
PHOS/PHOSHistos.cxx

index 0d077f1..39640ec 100644 (file)
@@ -36,9 +36,9 @@ public:
   AliPHOSPID() ;          // ctor            
   virtual ~AliPHOSPID() ; // dtor
 
-  virtual void GuessParticleType(TrackSegmentsList * trsl, RecParticlesList * rpl) {} ; 
+  virtual void GetParticleType(TrackSegmentsList * trsl, RecParticlesList * rpl) {} ; 
 
-  ClassDef(AliPHOSPID,1)  // Particle Guesser interface, version 1
+  ClassDef(AliPHOSPID,1)  // Particle Identifier interface, version 1
 
 } ;
 
index cf1ee9a..117107a 100644 (file)
@@ -9,7 +9,7 @@
 //  Particle Identifier   class for PHOS         //
 //  Version SUBATECH                             //
 //  Author Yves Schutz                           //
-//     comment: guess the type of particle       //  
+//     comment: identify the type of particle    //  
 //              PHOS SubTrack alone              //
 ///////////////////////////////////////////////////
 
index c93483d..eea1e4a 100644 (file)
@@ -41,11 +41,11 @@ AliPHOSReconstructioner::AliPHOSReconstructioner()
 //____________________________________________________________________________
 AliPHOSReconstructioner::AliPHOSReconstructioner(AliPHOSClusterizer * Clusterizer, 
                                                 AliPHOSTrackSegmentMaker * Tracker,
-                                                AliPHOSParticleGuesser * Guesser)
+                                                AliPHOSPID * Pid)
 {
   fClusterizer        = Clusterizer ;
   fTrackSegmentMaker  = Tracker ;
-  fParticleGuesser    = Guesser ; 
+  fPID                = Pid ; 
 } 
 
 //____________________________________________________________________________
@@ -57,11 +57,11 @@ AliPHOSReconstructioner::~AliPHOSReconstructioner()
 //____________________________________________________________________________
  void AliPHOSReconstructioner::Init(AliPHOSClusterizer * Clusterizer, 
                                                 AliPHOSTrackSegmentMaker * Tracker,
-                                                AliPHOSParticleGuesser * Guesser)
+                                                AliPHOSPID * Pid)
 {
   fClusterizer        = Clusterizer ;
   fTrackSegmentMaker  = Tracker ;
-  fParticleGuesser    = Guesser ; 
+  fPID                = Pid ; 
 } 
 
 
@@ -75,5 +75,5 @@ AliPHOSReconstructioner::~AliPHOSReconstructioner()
 
   fTrackSegmentMaker->MakeTrackSegments(dl, emccl, ppsdl, trsl) ;
 
-  fParticleGuesser->GuessParticleType(trsl, rpl) ; 
+  fPID->GetParticleType(trsl, rpl) ; 
 }
index f650523..3f8f292 100644 (file)
@@ -19,7 +19,7 @@
 #include "AliPHOSGeometry.h"
 #include "AliPHOSReconstructioner.h"
 #include "AliPHOSTrackSegmentMaker.h"
-#include "AliPHOSParticleGuesser.h"
+#include "AliPHOSPID.h"
 
 class AliPHOSv0 : public AliPHOS {
 
index 7d52742..e12d287 100644 (file)
@@ -60,7 +60,7 @@ void PHOSHistos (Text_t* infile, Int_t nevent, Int_t Module)
   AliPHOSTrackSegmentMakerv1 * tracksegmentmaker = new AliPHOSTrackSegmentMakerv1() ;
   //========== Creates the particle identifier
   AliPHOSPIDv1 * particleidentifier = new AliPHOSPIDv1 ;
-  cout <<  "AnalyzeOneEvent > using particle guess " << particleidentifier->GetName() << endl ; 
+  cout <<  "AnalyzeOneEvent > using particle identifier " << particleidentifier->GetName() << endl ; 
     
   TH1F * hEmcDigit       = new TH1F("hEmcDigit","hEmcDigit",1000,0.,5.);
   TH1F * hVetoDigit      = new TH1F("hVetoDigit","hVetoDigit",1000,0.,3.e-5);