CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 #endif
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
tuple simHits
Definition: trackerHits.py:16
virtual ~NeutronWriter()
Definition: NeutronWriter.h:22
std::vector< PSimHit > PSimHitContainer