CMS 3D CMS Logo

EDMNeutronWriter.cc
Go to the documentation of this file.
3 
5 
7 
9  theHits->insert(theHits->end(), simHits.begin(), simHits.end());
10 }
11 
13  theEvent = &e;
14  theHits = std::unique_ptr<edm::PSimHitContainer>(new edm::PSimHitContainer());
15 }
16 
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:125
#define nullptr
~EDMNeutronWriter() override
void beginEvent(edm::Event &e, const edm::EventSetup &es) override
std::unique_ptr< edm::PSimHitContainer > theHits
void endEvent() override
edm::Event * theEvent
void writeCluster(int detType, const edm::PSimHitContainer &simHits) override
writes out a list of SimHits.
std::vector< PSimHit > PSimHitContainer
def move(src, dest)
Definition: eostools.py:511