#ifndef CALIBECAL_IECALCALIBAPPLYEVENTFUNCTION_HXX #define CALIBECAL_IECALCALIBAPPLYEVENTFUNCTION_HXX #include "IDataHit.hxx" #include "IECALDigit.hxx" #include "ICalibApplyEventFunction.hxx" #include "ECalibECAL.hxx" class IECALCalibApplyEventFunction : public ICalibApplyEventFunction { public: IECALCalibApplyEventFunction (); virtual ~IECALCalibApplyEventFunction (); protected: virtual int ApplyCalibration(COMET::ICOMETEvent&); private: /// Translate IECALDigit container into IHitSelection for PreparHits() COMET::IHitSelection* MakeHitSelection(COMET::IHandle& digits); /// Translate an IECALDigit into IDataHit for PrepareHits(). COMET::IWritableDataHit* MakeDataHit(COMET::IECALDigit* digit); }; #endif