3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
9 // Algorithm class for the identification of particles detected in PHOS
11 // of identified particles
12 //*-- Author: Yves Schutz (SUBATECH)
14 // --- ROOT system ---
17 #include "AliConfig.h"
22 // --- Standard library ---
24 // --- AliRoot header files ---
26 class AliPHOSGeometry ;
27 class AliPHOSClusterizer ;
28 class AliPHOSTrackSegmentMaker ;
30 class AliPHOSPID : public TTask {
34 AliPHOSPID() ; // ctor
35 AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ;
36 AliPHOSPID(const AliPHOSPID & pid) : TTask(pid) {;}
37 virtual ~AliPHOSPID() ; // dtor
39 virtual const Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
40 virtual void Print() const { Warning("Print", "not defined" ) ;}
41 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
42 void SetEventFolderName(TString name) { fEventFolderName = name ; }
43 virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
44 virtual void WriteRecParticles() = 0;
47 TString fEventFolderName ; // event folder name
48 Int_t fFirstEvent; // first event to process
49 Int_t fLastEvent; // last event to process
52 virtual void Init() { Warning("Init", "not defined" ) ; }
54 ClassDef(AliPHOSPID,4) // Particle Identifier algorithm (base class)
58 #endif // ALIPHOSPID_H