Inserting TMath.h where required by the new version of ROOT
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPID.h
CommitLineData
26d4b141 1#ifndef ALIPHOSPID_H
2#define ALIPHOSPID_H
6ad0bfa0 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
702ab87e 8/* History of cvs commits:
9 *
10 * $Log$
f1133801 11 * Revision 1.36 2006/08/25 16:00:53 kharlov
12 * Compliance with Effective C++AliPHOSHit.cxx
13 *
e2429969 14 * Revision 1.35 2005/05/28 14:19:04 schutz
15 * Compilation warnings fixed by T.P.
16 *
702ab87e 17 */
18
b2a60966 19//_________________________________________________________________________
20// Algorithm class for the identification of particles detected in PHOS
21// base class
2f04ed65 22// of identified particles
b2a60966 23//*-- Author: Yves Schutz (SUBATECH)
6ad0bfa0 24
25// --- ROOT system ---
26
88cb7938 27#include "TTask.h"
28#include "AliConfig.h"
29
7acf6008 30class TFormula ;
31class TClonesArray ;
88cb7938 32
6ad0bfa0 33// --- Standard library ---
34
35// --- AliRoot header files ---
36
7acf6008 37class AliPHOSGeometry ;
38class AliPHOSClusterizer ;
39class AliPHOSTrackSegmentMaker ;
6ad0bfa0 40
7acf6008 41class AliPHOSPID : public TTask {
6ad0bfa0 42
79bf6a2f 43 public:
6ad0bfa0 44
0ab4493e 45 AliPHOSPID() ; // ctor
e191bb57 46 AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
e2429969 47 AliPHOSPID(const AliPHOSPID & pid) ;
26d4b141 48 virtual ~AliPHOSPID() ; // dtor
f1133801 49 AliPHOSPID & operator = (const AliPHOSPID & /*rvalue*/) {
50 Fatal("operator =", "not implemented") ; return *this ; }
6ad0bfa0 51
fc7e2f43 52 virtual Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
702ab87e 53 virtual void Print(const Option_t * = "") const { Warning("Print", "not defined" ) ;}
e2429969 54
eabde521 55 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
56 void SetEventFolderName(TString name) { fEventFolderName = name ; }
e2429969 57
58 TString GetEventFolderName() const {return fEventFolderName;}
59 Int_t GetFirstEvent() const {return fFirstEvent; }
60 Int_t GetLastEvent() const {return fLastEvent; }
61
8e8eae84 62 virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
90cceaf6 63 virtual void WriteRecParticles() = 0;
79bf6a2f 64
8d0f3f77 65protected:
88cb7938 66 TString fEventFolderName ; // event folder name
eabde521 67 Int_t fFirstEvent; // first event to process
68 Int_t fLastEvent; // last event to process
6ad0bfa0 69
e957fea8 70private:
71 virtual void Init() { Warning("Init", "not defined" ) ; }
72
eabde521 73 ClassDef(AliPHOSPID,4) // Particle Identifier algorithm (base class)
6ad0bfa0 74
75} ;
76
26d4b141 77#endif // ALIPHOSPID_H