Set run loader for modules
[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
b2a60966 8//_________________________________________________________________________
9// Algorithm class for the identification of particles detected in PHOS
10// base class
2f04ed65 11// of identified particles
b2a60966 12//*-- Author: Yves Schutz (SUBATECH)
6ad0bfa0 13
14// --- ROOT system ---
15
88cb7938 16#include "TTask.h"
17#include "AliConfig.h"
18
7acf6008 19class TFormula ;
20class TClonesArray ;
88cb7938 21
6ad0bfa0 22// --- Standard library ---
23
24// --- AliRoot header files ---
25
7acf6008 26class AliPHOSGeometry ;
27class AliPHOSClusterizer ;
28class AliPHOSTrackSegmentMaker ;
6ad0bfa0 29
7acf6008 30class AliPHOSPID : public TTask {
6ad0bfa0 31
79bf6a2f 32 public:
6ad0bfa0 33
0ab4493e 34 AliPHOSPID() ; // ctor
88cb7938 35 AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ;
a8c47ab6 36 AliPHOSPID(const AliPHOSPID & pid) : TTask(pid) {;}
26d4b141 37 virtual ~AliPHOSPID() ; // dtor
6ad0bfa0 38
90cceaf6 39 virtual void Exec(Option_t *) = 0;
75a6835b 40 virtual const Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
88cb7938 41 virtual void Print() const { Warning("Print", "not defined" ) ;}
88cb7938 42 void SetEventFolderName(TString name) { fEventFolderName = name ; }
75a6835b 43 virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
90cceaf6 44 virtual void WriteRecParticles() = 0;
79bf6a2f 45
8d0f3f77 46protected:
88cb7938 47 TString fEventFolderName ; // event folder name
6ad0bfa0 48
e957fea8 49private:
50 virtual void Init() { Warning("Init", "not defined" ) ; }
51
88cb7938 52 ClassDef(AliPHOSPID,3) // Particle Identifier algorithm (base class)
6ad0bfa0 53
54} ;
55
26d4b141 56#endif // ALIPHOSPID_H