File indexing completed on 2024-04-06 12:30:49
0001 #ifndef Neutron_EDMNeutronWriter_h
0002 #define Neutron_EDMNeutronWriter_h
0003
0004
0005
0006
0007 #include "SimMuon/Neutron/src/NeutronWriter.h"
0008
0009 class EDMNeutronWriter : public NeutronWriter {
0010 public:
0011 EDMNeutronWriter();
0012 ~EDMNeutronWriter() override;
0013
0014
0015 void writeCluster(int detType, const edm::PSimHitContainer& simHits) override;
0016 void beginEvent(edm::Event& e, const edm::EventSetup& es) override;
0017 void endEvent() override;
0018 void initialize(int detType) override {}
0019
0020 private:
0021 edm::Event* theEvent;
0022 std::unique_ptr<edm::PSimHitContainer> theHits;
0023 };
0024
0025 #endif