]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - PHOS/AliPHOSPID.h
Removal of coding convention violations
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPID.h
... / ...
CommitLineData
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/* History of cvs commits:
9 *
10 * $Log$
11 */
12
13//_________________________________________________________________________
14// Algorithm class for the identification of particles detected in PHOS
15// base class
16// of identified particles
17//*-- Author: Yves Schutz (SUBATECH)
18
19// --- ROOT system ---
20
21#include "TTask.h"
22#include "AliConfig.h"
23
24class TFormula ;
25class TClonesArray ;
26
27// --- Standard library ---
28
29// --- AliRoot header files ---
30
31class AliPHOSGeometry ;
32class AliPHOSClusterizer ;
33class AliPHOSTrackSegmentMaker ;
34
35class AliPHOSPID : public TTask {
36
37 public:
38
39 AliPHOSPID() ; // ctor
40 AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
41 AliPHOSPID(const AliPHOSPID & pid) : TTask(pid) {;}
42 virtual ~AliPHOSPID() ; // dtor
43
44 virtual Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
45 virtual void Print(const Option_t * = "") const { Warning("Print", "not defined" ) ;}
46 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
47 void SetEventFolderName(TString name) { fEventFolderName = name ; }
48 virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
49 virtual void WriteRecParticles() = 0;
50
51protected:
52 TString fEventFolderName ; // event folder name
53 Int_t fFirstEvent; // first event to process
54 Int_t fLastEvent; // last event to process
55
56private:
57 virtual void Init() { Warning("Init", "not defined" ) ; }
58
59 ClassDef(AliPHOSPID,4) // Particle Identifier algorithm (base class)
60
61} ;
62
63#endif // ALIPHOSPID_H