]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSPID.h
Modified plots and made jet finder use SDigits
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPID.h
1 #ifndef ALIPHOSPID_H
2 #define ALIPHOSPID_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5                             
6 /* $Id$ */
7
8 //_________________________________________________________________________
9 //  Algorithm class for the identification of particles detected in PHOS        
10 //  base  class                             
11 //  of identified particles                
12 //*-- Author: Yves Schutz (SUBATECH)
13
14 // --- ROOT system ---
15
16 #include "TTask.h"
17 #include "AliConfig.h"
18
19 class TFormula ;
20 class TClonesArray ;
21
22 // --- Standard library ---
23
24 // --- AliRoot header files ---
25
26 class AliPHOSGeometry ;
27 class AliPHOSClusterizer ;
28 class AliPHOSTrackSegmentMaker ;
29
30 class AliPHOSPID : public TTask {
31
32  public:
33
34   AliPHOSPID() ;          // ctor            
35   AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
36   AliPHOSPID(const AliPHOSPID & pid) : TTask(pid) {;} 
37   virtual ~AliPHOSPID() ; // dtor
38
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 const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }  
44   virtual void WriteRecParticles() = 0;
45
46 protected:
47   TString fEventFolderName ;  // event folder name
48   Int_t   fFirstEvent;        // first event to process
49   Int_t   fLastEvent;         // last  event to process
50
51 private: 
52   virtual void Init() { Warning("Init", "not defined" ) ; } 
53
54   ClassDef(AliPHOSPID,4)  // Particle Identifier algorithm (base class)
55
56 } ;
57
58 #endif // ALIPHOSPID_H