CMS 3D CMS Logo

List of all members | Public Member Functions
NeutronWriter Class Referenceabstract

#include <NeutronWriter.h>

Inheritance diagram for NeutronWriter:
AsciiNeutronWriter EDMNeutronWriter RootNeutronWriter

Public Member Functions

virtual void beginEvent (edm::Event &e, const edm::EventSetup &es)
 
virtual void endEvent ()
 
virtual void initialize (int detType)
 
virtual void writeCluster (int detType, const edm::PSimHitContainer &simHits)=0
 writes out a list of SimHits. More...
 
virtual ~NeutronWriter ()
 

Detailed Description

theNeutronWriter stores "events" which consist of a list of SimHits, grouped by detector type. These can then be read back to model neutron background int muon chambers.

Definition at line 15 of file NeutronWriter.h.

Constructor & Destructor Documentation

◆ ~NeutronWriter()

virtual NeutronWriter::~NeutronWriter ( )
inlinevirtual

Definition at line 22 of file NeutronWriter.h.

22 {}

Member Function Documentation

◆ beginEvent()

virtual void NeutronWriter::beginEvent ( edm::Event e,
const edm::EventSetup es 
)
inlinevirtual

Reimplemented in EDMNeutronWriter.

Definition at line 20 of file NeutronWriter.h.

20 {}

Referenced by SubsystemNeutronWriter::produce().

◆ endEvent()

virtual void NeutronWriter::endEvent ( )
inlinevirtual

Reimplemented in EDMNeutronWriter.

Definition at line 21 of file NeutronWriter.h.

21 {}

Referenced by SubsystemNeutronWriter::produce().

◆ initialize()

virtual void NeutronWriter::initialize ( int  detType)
inlinevirtual

Reimplemented in RootNeutronWriter, and EDMNeutronWriter.

Definition at line 19 of file NeutronWriter.h.

19 {}

Referenced by SubsystemNeutronWriter::initialize().

◆ writeCluster()

virtual void NeutronWriter::writeCluster ( int  detType,
const edm::PSimHitContainer simHits 
)
pure virtual

writes out a list of SimHits.

Implemented in EDMNeutronWriter, RootNeutronWriter, and AsciiNeutronWriter.

Referenced by SubsystemNeutronWriter::writeCluster().