test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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::auto_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::auto_ptr< edm::PSimHitContainer > theHits
virtual void beginEvent(edm::Event &e, const edm::EventSetup &es)
edm::Event * theEvent
virtual void initialize(int detType)
tuple simHits
Definition: trackerHits.py:16
virtual ~EDMNeutronWriter()
std::vector< PSimHit > PSimHitContainer