CMS 3D CMS Logo

NeutronWriter.h
Go to the documentation of this file.
1 #ifndef NeutronWriter_h
2 #define NeutronWriter_h
3 
14 
16 public:
18  virtual void writeCluster(int detType, const edm::PSimHitContainer & simHits) = 0;
19  virtual void initialize(int detType) {}
20  virtual void beginEvent(edm::Event & e, const edm::EventSetup & es) {}
21  virtual void endEvent() {}
22  virtual ~NeutronWriter() {}
23 
24 };
25 
26 #endif
27 
virtual void beginEvent(edm::Event &e, const edm::EventSetup &es)
Definition: NeutronWriter.h:20
virtual void endEvent()
Definition: NeutronWriter.h:21
virtual void writeCluster(int detType, const edm::PSimHitContainer &simHits)=0
writes out a list of SimHits.
virtual void initialize(int detType)
Definition: NeutronWriter.h:19
virtual ~NeutronWriter()
Definition: NeutronWriter.h:22
std::vector< PSimHit > PSimHitContainer