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.

Referenced by SubsystemNeutronWriter::produce().

20 {}

◆ endEvent()

virtual void NeutronWriter::endEvent ( )
inlinevirtual

Reimplemented in EDMNeutronWriter.

Definition at line 21 of file NeutronWriter.h.

Referenced by SubsystemNeutronWriter::produce().

21 {}

◆ initialize()

virtual void NeutronWriter::initialize ( int  detType)
inlinevirtual

Reimplemented in RootNeutronWriter, and EDMNeutronWriter.

Definition at line 19 of file NeutronWriter.h.

Referenced by SubsystemNeutronWriter::initialize().

19 {}

◆ writeCluster()

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

writes out a list of SimHits.

Implemented in RootNeutronWriter, AsciiNeutronWriter, and EDMNeutronWriter.

Referenced by SubsystemNeutronWriter::writeCluster().