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  virtual ~EDMNeutronWriter();
13 
15  virtual void writeCluster(int detType, const edm::PSimHitContainer & simHits);
16  virtual void beginEvent(edm::Event & e, const edm::EventSetup & es);
17  virtual void endEvent();
18  virtual void initialize(int detType) {}
19 
20 private:
22  std::unique_ptr<edm::PSimHitContainer> theHits;
23 };
24 
25 #endif
26 
virtual void writeCluster(int detType, const edm::PSimHitContainer &simHits)
writes out a list of SimHits.
virtual void endEvent()
std::unique_ptr< edm::PSimHitContainer > theHits
virtual void beginEvent(edm::Event &e, const edm::EventSetup &es)
edm::Event * theEvent
virtual void initialize(int detType)
virtual ~EDMNeutronWriter()
std::vector< PSimHit > PSimHitContainer