#ifndef HRICHPHOTONFINDER_H
#define HRICHPHOTONFINDER_H
#include "hreconstructor.h"
#include "hlocation.h"
#include "hparset.h"
class HCategory;
class HIterator;
class HRichHit;
class HRichPhotonHit;
class HRichPhotonFinder : public HReconstructor
{
public:
HRichPhotonFinder(){};
HRichPhotonFinder(const Text_t *name,const Text_t *title);
~HRichPhotonFinder();
Bool_t init();
Bool_t finalize();
Int_t execute();
Bool_t findLocMax(Int_t,Int_t*,Int_t*,Float_t*,
Float_t*,Int_t*,HRichHit*);
Bool_t isLocalMaxOnBorder(Int_t,Int_t,Int_t,Int_t);
Bool_t isLocalMaxOfFive(Int_t*,Int_t*,Float_t*,Int_t);
HCategory* getCalCat(){return pCalCat;};
HCategory* getHitCat(){return pHitCat;};
HCategory* getPhotonHitCat(){return pPhotonHitCat;};
HCategory* getPhotonHitHeaderCat(){return pPhotonHitHeaderCat;};
HParSet* getGeometryPar(){return pGeomPar;};
void initCalPar();
void printCalParCell(HLocation &);
void setGeometryPar(HParSet* pPar){ pGeomPar = pPar;};
HParSet* getCalPar(){return pCalPar;};
void setCalPar(HParSet* pPar){ pCalPar = pPar;};
Bool_t isPhoton(){return kTRUE;};
void setThetaPhi(HRichPhotonHit*);
Float_t* calcImpactByGravity(Int_t*,Int_t*,Float_t*,Float_t*,Int_t);
void dumpPhotonParameters(void);
ClassDef(HRichPhotonFinder,1)
private:
HIterator* pIterCal;
HIterator* pIterHit;
HCategory* pCalCat;
HCategory* pHitCat;
HCategory* pPhotonHitCat;
HCategory* pPhotonHitHeaderCat;
HParSet* pGeomPar;
HParSet* pCalPar;
Int_t fs;
Int_t evtcounter;
};
#endif // HRICHPHOTONFINDER_H
Last change: Sat May 22 13:09:52 2010
Last generated: 2010-05-22 13:09
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.