SimMuon
Neutron
src
EDMNeutronWriter.h
Go to the documentation of this file.
1
#ifndef Neutron_EDMNeutronWriter_h
2
#define Neutron_EDMNeutronWriter_h
3
7
#include "
SimMuon/Neutron/src/NeutronWriter.h
"
8
9
class
EDMNeutronWriter
:
public
NeutronWriter
{
10
public
:
11
EDMNeutronWriter
();
12
~EDMNeutronWriter
()
override
;
13
15
void
writeCluster
(
int
detType,
const
edm::PSimHitContainer
&
simHits
)
override
;
16
void
beginEvent
(
edm::Event
&
e
,
const
edm::EventSetup
& es)
override
;
17
void
endEvent
()
override
;
18
void
initialize
(
int
detType)
override
{}
19
20
private
:
21
edm::Event
*
theEvent
;
22
std::unique_ptr<edm::PSimHitContainer>
theHits
;
23
};
24
25
#endif
EDMNeutronWriter::beginEvent
void beginEvent(edm::Event &e, const edm::EventSetup &es) override
Definition:
EDMNeutronWriter.cc:15
EDMNeutronWriter::endEvent
void endEvent() override
Definition:
EDMNeutronWriter.cc:20
NeutronWriter
Definition:
NeutronWriter.h:15
EDMNeutronWriter::initialize
void initialize(int detType) override
Definition:
EDMNeutronWriter.h:18
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:11
EDMNeutronWriter::~EDMNeutronWriter
~EDMNeutronWriter() override
Definition:
EDMNeutronWriter.cc:9
EDMNeutronWriter::EDMNeutronWriter
EDMNeutronWriter()
Definition:
EDMNeutronWriter.cc:7
EDMNeutronWriter::theEvent
edm::Event * theEvent
Definition:
EDMNeutronWriter.h:21
edm::EventSetup
Definition:
EventSetup.h:57
NeutronWriter.h
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
EDMNeutronWriter
Definition:
EDMNeutronWriter.h:9
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16