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