00001 #ifndef Neutron_EDMNeutronWriter_h 00002 #define Neutron_EDMNeutronWriter_h 00003 00007 #include "SimMuon/Neutron/src/NeutronWriter.h" 00008 00009 class EDMNeutronWriter: public NeutronWriter { 00010 public: 00011 EDMNeutronWriter(); 00012 virtual ~EDMNeutronWriter(); 00013 00015 virtual void writeCluster(int detType, const edm::PSimHitContainer & simHits); 00016 virtual void beginEvent(edm::Event & e, const edm::EventSetup & es); 00017 virtual void endEvent(); 00018 virtual void initialize(int detType) {} 00019 00020 private: 00021 edm::Event * theEvent; 00022 std::auto_ptr<edm::PSimHitContainer> theHits; 00023 }; 00024 00025 #endif 00026