Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimMuon
Neutron
src
NeutronWriter.h
Go to the documentation of this file.
1
#ifndef NeutronWriter_h
2
#define NeutronWriter_h
3
12
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
13
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
14
15
class
NeutronWriter
{
16
public
:
18
virtual
void
writeCluster
(
int
detType,
const
edm::PSimHitContainer
&
simHits
) = 0;
19
virtual
void
initialize
(
int
detType) {}
20
virtual
void
beginEvent
(
edm::Event
& e,
const
edm::EventSetup
& es) {}
21
virtual
void
endEvent
() {}
22
virtual
~NeutronWriter
() {}
23
24
};
25
26
#endif
27
NeutronWriter
Definition:
NeutronWriter.h:15
NeutronWriter::beginEvent
virtual void beginEvent(edm::Event &e, const edm::EventSetup &es)
Definition:
NeutronWriter.h:20
Frameworkfwd.h
NeutronWriter::endEvent
virtual void endEvent()
Definition:
NeutronWriter.h:21
PSimHitContainer.h
edm::EventSetup
Definition:
EventSetup.h:44
NeutronWriter::writeCluster
virtual void writeCluster(int detType, const edm::PSimHitContainer &simHits)=0
writes out a list of SimHits.
NeutronWriter::initialize
virtual void initialize(int detType)
Definition:
NeutronWriter.h:19
trackerHits.simHits
tuple simHits
Definition:
trackerHits.py:16
NeutronWriter::~NeutronWriter
virtual ~NeutronWriter()
Definition:
NeutronWriter.h:22
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
edm::Event
Definition:
Event.h:49
Generated for CMSSW Reference Manual by
1.8.5