new design: derived from TTask
[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
7acf6008 16#include "TTask.h"
17class TFormula ;
18class TClonesArray ;
6ad0bfa0 19
20// --- Standard library ---
21
22// --- AliRoot header files ---
23
7acf6008 24class AliPHOSGeometry ;
25class AliPHOSClusterizer ;
26class AliPHOSTrackSegmentMaker ;
6ad0bfa0 27
7acf6008 28class AliPHOSPID : public TTask {
6ad0bfa0 29
30public:
31
0ab4493e 32 AliPHOSPID() ; // ctor
7acf6008 33 AliPHOSPID(const char* headerFile,const char * tsBranch = 0) ;
26d4b141 34 virtual ~AliPHOSPID() ; // dtor
6ad0bfa0 35
7acf6008 36 virtual void Exec(Option_t * option) = 0 ;
37 virtual char * GetRecParticlesBranch()const = 0 ;
38 virtual char * GetTrackSegmentsBranch()const = 0 ;
39 virtual void Init()= 0 ;
40
41 virtual void Print(Option_t * option) const = 0 ;
42 virtual void PlotDispersionCuts()const = 0;
43 virtual Bool_t ReadTrackSegments()= 0 ;
44
45 virtual void SetIdentificationMethod(char * option = "CPV DISP" ) = 0 ;
46
47 virtual void SetShowerProfileCut(char * formula) = 0 ;
48 virtual void SetDispersionCut(Float_t cut) = 0 ;
49 virtual void SetCpvtoEmcDistanceCut(Float_t cut ) = 0;
69183710 50
7acf6008 51 virtual void SetTrackSegmentsBranch(const char* title) = 0 ;
52 virtual void SetRecParticlesBranch (const char* title) = 0 ;
69183710 53
7acf6008 54 virtual void WriteRecParticles()= 0 ;
69183710 55
7acf6008 56protected:
6ad0bfa0 57
b2a60966 58 ClassDef(AliPHOSPID,1) // Particle Identifier algorithm (base class)
6ad0bfa0 59
60} ;
61
26d4b141 62#endif // ALIPHOSPID_H