3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 /* History of cvs commits:
13 //_________________________________________________________________________
14 // Algorithm class for the identification of particles detected in PHOS
16 // of identified particles
17 //*-- Author: Yves Schutz (SUBATECH)
19 // --- ROOT system ---
22 #include "AliConfig.h"
27 // --- Standard library ---
29 // --- AliRoot header files ---
31 class AliPHOSGeometry ;
32 class AliPHOSClusterizer ;
33 class AliPHOSTrackSegmentMaker ;
35 class AliPHOSPID : public TTask {
39 AliPHOSPID() ; // ctor
40 AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
41 AliPHOSPID(const AliPHOSPID & pid) : TTask(pid) {;}
42 virtual ~AliPHOSPID() ; // dtor
44 virtual Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
45 virtual void Print(const Option_t * = "") const { Warning("Print", "not defined" ) ;}
46 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
47 void SetEventFolderName(TString name) { fEventFolderName = name ; }
48 virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
49 virtual void WriteRecParticles() = 0;
52 TString fEventFolderName ; // event folder name
53 Int_t fFirstEvent; // first event to process
54 Int_t fLastEvent; // last event to process
57 virtual void Init() { Warning("Init", "not defined" ) ; }
59 ClassDef(AliPHOSPID,4) // Particle Identifier algorithm (base class)
63 #endif // ALIPHOSPID_H