removed a warning and close/open files of TreeK
[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
7b7c1533 33 AliPHOSPID(const char* headerFile,const char * name) ;
26d4b141 34 virtual ~AliPHOSPID() ; // dtor
6ad0bfa0 35
79bf6a2f 36 virtual void Exec(Option_t * option) { cout << "AliPHOSPID::Exec not define " << endl ; }
37 virtual char * GetRecParticlesBranch()const { cout << "AliPHOSPID::GetRecParticlesBranch not defined " << endl ; return 0 ; }
38 virtual char * GetTrackSegmentsBranch()const { cout << "AliPHOSPID::GetTrackSegmentsBranch not defined " << endl ; return 0 ; }
39 virtual const Int_t GetRecParticlesInRun() const { cout << "AliPHOSPID:::GetRecParticlesInRun not defined " << endl ; return 0 ;}
40 virtual void Print(Option_t * option) const { cout << "AliPHOSPID::Print not defined " << endl ;}
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 ;
45 virtual void SetCpvtoEmcDistanceCut(Float_t cut ) { cout << "AliPHOSPID::SetCpvtoEmcDistanceCut not defined " << endl ;}
46 virtual void SetTimeGate(Float_t gate) { cout << "AliPHOSPID::SetTimeGate not defined " << endl ; }
47 virtual void SetTrackSegmentsBranch(const char* title) { cout << "AliPHOSPID::Exec not define " << endl ; }
48 virtual void SetRecParticlesBranch (const char* title) { cout << "AliPHOSPID::SetTecParticlesBranch not defined " << endl ; }
8d0f3f77 49 virtual void SetSplitFile(const TString splitFileName = "PHOS.RecData.root") const ;
79bf6a2f 50 virtual const char * Version() const { cout << "AliPHOSPID::Version not defined " << endl ; return 0 ; }
51 virtual void WriteRecParticles(Int_t event) { cout << "AliPHOSPID::WriteRecParticles not defined " << endl ; }
52
8d0f3f77 53private:
79bf6a2f 54 virtual void Init() { cout << "AliPHOSPID::Init not define " << endl ; }
55
8d0f3f77 56protected:
6ad0bfa0 57
8d0f3f77 58 TFile * fSplitFile ; //! file in which RecParticles will eventually be stored
59
b2a60966 60 ClassDef(AliPHOSPID,1) // Particle Identifier algorithm (base class)
6ad0bfa0 61
62} ;
63
26d4b141 64#endif // ALIPHOSPID_H