#ifndef MINIMAL_HPP_ #define MINIMAL_HPP_ #include #include "framework/Package.hpp" #include "framework/interfaces/Flow.hpp" #include "framework/interfaces/StandAlone.hpp" namespace edm { class Event; } namespace d0tutorial { class Minimal : public fwk::Package, public fwk::Analyze, public fwk::JobSummary { public: Minimal(fwk::Context *ctx); virtual ~Minimal(); virtual fwk::Result analyzeEvent(const edm::Event& event); virtual fwk::Result jobSummary(); virtual std::string packageName() const { return package_name(); } static const std::string package_name() { return "Minimal"; } static const std::string version() { return "$Id"; } private: bool _debug; unsigned int _events_processed; }; } #endif // MINIMAL_HPP_