remove iostream
[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
79bf6a2f 30 public:
6ad0bfa0 31
0ab4493e 32 AliPHOSPID() ; // ctor
fbf811ec 33 AliPHOSPID(const char* headerFile,const char * name, const Bool_t toSplit) ;
26d4b141 34 virtual ~AliPHOSPID() ; // dtor
6ad0bfa0 35
75a6835b 36 virtual void Exec(Option_t * option) { Warning("Exec", "not defined" ) ; }
37 // virtual char * GetRecParticlesBranch()const { Warning("GetRecParticlesBranch", "not defined" ) ; return 0 ; }
38 // virtual char * GetTrackSegmentsBranch()const { Warning("GetTrackSegmentsBranch", "not defined" ) ; return 0 ; }
39 virtual const Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;}
40 virtual void Print(Option_t * option) const { Warning("Print", "not defined" ) ;}
79bf6a2f 41 //virtual void PlotDispersionCuts()const = 0;
42 //virtual void SetIdentificationMethod(char * option) = 0 ;
43 //virtual void SetShowerProfileCut(char * formula) = 0 ;
44 //virtual void SetDispersionCut(Float_t cut) = 0 ;
75a6835b 45 virtual void SetCpvtoEmcDistanceCut(Float_t Cluster_En, TString Eff_Pur,Float_t cut ) { Warning("SetCpvtoEmcDistanceCut", "not defined" ) ;}
46 virtual void SetTimeGate(Float_t Cluster_En, TString Eff_Pur, Float_t gate) { Warning("SetTimeGate", "not defined" ) ; }
47 // virtual void SetTrackSegmentsBranch(const char* title) { Warning("Exec", "not defined" ) ; }
48 // virtual void SetRecParticlesBranch (const char* title) { Warning("SetTecParticlesBranch", "not defined" ) ; }
fbf811ec 49 // virtual void SetSplitFile(const TString splitFileName = "PHOS.RecData.root") const ;
75a6835b 50 virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; }
51 virtual void WriteRecParticles(Int_t event) { Warning("WriteRecParticles", "not defined" ) ; }
79bf6a2f 52
8d0f3f77 53private:
75a6835b 54 virtual void Init() { Warning("Init", "not defined" ) ; }
79bf6a2f 55
8d0f3f77 56protected:
6ad0bfa0 57
8d0f3f77 58 TFile * fSplitFile ; //! file in which RecParticles will eventually be stored
fbf811ec 59 Bool_t fToSplit ; //! do we in the split mode
b2a60966 60 ClassDef(AliPHOSPID,1) // Particle Identifier algorithm (base class)
6ad0bfa0 61
62} ;
63
26d4b141 64#endif // ALIPHOSPID_H