CMS 3D CMS Logo

EDMNeutronWriter.h
Go to the documentation of this file.
1 #ifndef Neutron_EDMNeutronWriter_h
2 #define Neutron_EDMNeutronWriter_h
3 
8 
10 public:
12  ~EDMNeutronWriter() override;
13 
15  void writeCluster(int detType, const edm::PSimHitContainer & simHits) override;
16  void beginEvent(edm::Event & e, const edm::EventSetup & es) override;
17  void endEvent() override;
18  void initialize(int detType) override {}
19 
20 private:
22  std::unique_ptr<edm::PSimHitContainer> theHits;
23 };
24 
25 #endif
26 
void initialize(int detType) override
~EDMNeutronWriter() override
void beginEvent(edm::Event &e, const edm::EventSetup &es) override
std::unique_ptr< edm::PSimHitContainer > theHits
void endEvent() override
edm::Event * theEvent
void writeCluster(int detType, const edm::PSimHitContainer &simHits) override
writes out a list of SimHits.
std::vector< PSimHit > PSimHitContainer