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 0d077f1b9a47c109149947e1b0760cbc616fd3ec..39640ec43177af78fd1d7fa3d7f50793094839f8 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 cf1ee9a173a8e5811d484b5b7810157ae1efe325..117107a0ea9c5164ee353f2080f6322cd062b0ff 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 c93483db7e3fa98d8839563249d1415fde420c17..eea1e4aca96c8a197cec74a748077d9c3a0dfd12 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 f650523761a6e02523844d11babb8c6994771e6a..3f8f292e84677d2aa0cf397ac1a98dc472cfbcf2 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 7d5274280ab64e6a29988941467e028aa52018d0..e12d287c9d948512a9656c19635cdfef673ab6f3 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);