#ifndef RECONCYDET_ICYDETRECONEVENTFUNCTION_HXX #define RECONCYDET_ICYDETRECONEVENTFUNCTION_HXX #include "IDataHit.hxx" #include "ICDCDigit.hxx" #include "IReconEventFunction.hxx" #include "IMCTrackFinder.hxx" #include "IGenFitter.hxx" #include "EReconCyDet.hxx" class ICyDetReconEventFunction : public IReconEventFunction { private: IMCTrackFinder* fMCTrackFinder; IGenFitter* fGenFitter; public: ICyDetReconEventFunction(); virtual ~ICyDetReconEventFunction(); virtual void Usage(); protected: virtual bool SetOption(TString option, TString value = ""); void BeginOfEvent(); void EndOfEvent(); COMET::IHandle PrepareHits(COMET::ICOMETEvent&); COMET::IHandle ProcessAlgorithms(const COMET::IAlgorithmResult&, COMET::ICOMETEvent&); private: /// Translate ICDCDigit container into IHitSelection for PreparHits() COMET::IHitSelection* MakeHitSelection(COMET::IHandle& digits); /// Translate an ICDCDigit into IDataHit for PrepareHits(). COMET::IWritableDataHit* MakeDataHit(COMET::ICDCDigit* digit); /// Name of the file which contains the geometry std::string fGeometryFileName; /// Name of the file which contains the field map std::string fFieldMapFileName; }; #endif