Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:22

0001 #ifndef NeutronWriter_h
0002 #define NeutronWriter_h
0003 
0004 /** theNeutronWriter stores "events"
0005  * which consist of a list of SimHits,
0006  * grouped by detector type.  These can then
0007  * be read back to model neutron background
0008  * int muon chambers.
0009  *
0010  */
0011 
0012 #include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
0013 #include "FWCore/Framework/interface/Frameworkfwd.h"
0014 
0015 class NeutronWriter {
0016 public:
0017   ///  writes out a list of SimHits.
0018   virtual void writeCluster(int detType, const edm::PSimHitContainer& simHits) = 0;
0019   virtual void initialize(int detType) {}
0020   virtual void beginEvent(edm::Event& e, const edm::EventSetup& es) {}
0021   virtual void endEvent() {}
0022   virtual ~NeutronWriter() {}
0023 };
0024 
0025 #endif