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 EMCAL
11 // of identified particles
12 //*-- Author: Yves Schutz (SUBATECH)
14 // --- ROOT system ---
17 #include "AliConfig.h"
21 // --- Standard library ---
23 // --- AliRoot header files ---
25 class AliEMCALGeometry ;
26 class AliEMCALClusterizer ;
27 class AliEMCALTrackSegmentMaker ;
29 class AliEMCALPID : public TTask {
33 AliEMCALPID() ; // ctor
34 AliEMCALPID(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
35 AliEMCALPID(const AliEMCALPID & pid):TTask(pid) {;}
36 virtual ~AliEMCALPID() ; // dtor
38 virtual void Exec(Option_t *) = 0;
39 virtual 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 void SetPREtoECADistanceCut(Float_t, TString, Float_t) { Warning("SetCpvtoEmcDistanceCut", "not defined" ) ;}
44 virtual void SetTimeGate(Float_t /*Cluster_En*/, TString /*Eff_Pur*/, Float_t /*gate*/) { Warning("SetTimeGate", "not defined" ) ; }
45 virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
46 virtual void WriteRecParticles() = 0;
49 virtual void Init() { Warning("Init", "not defined" ) ; }
52 TString fEventFolderName ; // event folder name
53 Int_t fFirstEvent; // first event to process
54 Int_t fLastEvent; // last event to process
56 ClassDef(AliEMCALPID,3) // Particle Identifier algorithm (base class)
60 #endif // ALIEMCALPID_H