CMS 3D CMS Logo

EDMNeutronWriter.cc
Go to the documentation of this file.
3 
5 : theEvent(nullptr),
6  theHits(nullptr)
7 {
8 }
9 
10 
12 
13 
15 {
16  theHits->insert(theHits->end(), simHits.begin(), simHits.end());
17 }
18 
19 
21 {
22  theEvent = &e;
23  theHits = std::unique_ptr<edm::PSimHitContainer>(new edm::PSimHitContainer());
24 }
25 
27 {
29 }
30 
31 
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
virtual void writeCluster(int detType, const edm::PSimHitContainer &simHits)
writes out a list of SimHits.
virtual void endEvent()
std::unique_ptr< edm::PSimHitContainer > theHits
#define nullptr
virtual void beginEvent(edm::Event &e, const edm::EventSetup &es)
edm::Event * theEvent
virtual ~EDMNeutronWriter()
std::vector< PSimHit > PSimHitContainer
def move(src, dest)
Definition: eostools.py:510