CMS 3D CMS Logo

EDMNeutronWriter.cc
Go to the documentation of this file.
3 
4 EDMNeutronWriter::EDMNeutronWriter() : theEvent(nullptr), theHits(nullptr) {}
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 
EDMNeutronWriter.h
EDMNeutronWriter::beginEvent
void beginEvent(edm::Event &e, const edm::EventSetup &es) override
Definition: EDMNeutronWriter.cc:12
EDMNeutronWriter::endEvent
void endEvent() override
Definition: EDMNeutronWriter.cc:17
FastTrackerRecHitCombiner_cfi.simHits
simHits
Definition: FastTrackerRecHitCombiner_cfi.py:5
EDMNeutronWriter::writeCluster
void writeCluster(int detType, const edm::PSimHitContainer &simHits) override
writes out a list of SimHits.
Definition: EDMNeutronWriter.cc:8
EDMNeutronWriter::~EDMNeutronWriter
~EDMNeutronWriter() override
Definition: EDMNeutronWriter.cc:6
EDMNeutronWriter::EDMNeutronWriter
EDMNeutronWriter()
Definition: EDMNeutronWriter.cc:4
EDMNeutronWriter::theEvent
edm::Event * theEvent
Definition: EDMNeutronWriter.h:21
Event.h
edm::Event::put
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:132
edm::EventSetup
Definition: EventSetup.h:57
eostools.move
def move(src, dest)
Definition: eostools.py:511
bscTrigger_cfi.theHits
theHits
Definition: bscTrigger_cfi.py:18
EDMNeutronWriter::theHits
std::unique_ptr< edm::PSimHitContainer > theHits
Definition: EDMNeutronWriter.h:22
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition: PSimHitContainer.h:11
edm::Event
Definition: Event.h:73
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37