Copy constructor is corrected (by T.P.)
[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
e191bb57 35 AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
a8c47ab6 36 AliPHOSPID(const AliPHOSPID & pid) : TTask(pid) {;}
26d4b141 37 virtual ~AliPHOSPID() ; // dtor
6ad0bfa0 38
fc7e2f43 39 virtual Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
88cb7938 40 virtual void Print() const { Warning("Print", "not defined" ) ;}
eabde521 41 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
42 void SetEventFolderName(TString name) { fEventFolderName = name ; }
8e8eae84 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
eabde521 48 Int_t fFirstEvent; // first event to process
49 Int_t fLastEvent; // last event to process
6ad0bfa0 50
e957fea8 51private:
52 virtual void Init() { Warning("Init", "not defined" ) ; }
53
eabde521 54 ClassDef(AliPHOSPID,4) // Particle Identifier algorithm (base class)
6ad0bfa0 55
56} ;
57
26d4b141 58#endif // ALIPHOSPID_H