#include <AsciiNeutronWriter.h>
Public Member Functions | |
AsciiNeutronWriter (std::string fileNameBase) | |
~AsciiNeutronWriter () override | |
Public Member Functions inherited from NeutronWriter | |
virtual void | beginEvent (edm::Event &e, const edm::EventSetup &es) |
virtual void | endEvent () |
virtual void | initialize (int detType) |
virtual | ~NeutronWriter () |
Protected Member Functions | |
void | writeCluster (int chamberType, const edm::PSimHitContainer &hits) override |
writes out a list of SimHits. More... | |
Private Attributes | |
std::string | theFileNameBase |
This writes the fields of a SimHit into an ASCII file, which can be read out later to add neutron hits to a muon chamber
Definition at line 11 of file AsciiNeutronWriter.h.
AsciiNeutronWriter::AsciiNeutronWriter | ( | std::string | fileNameBase | ) |
Definition at line 8 of file AsciiNeutronWriter.cc.
|
override |
Definition at line 10 of file AsciiNeutronWriter.cc.
|
overrideprotectedvirtual |
writes out a list of SimHits.
Implements NeutronWriter.
Definition at line 12 of file AsciiNeutronWriter.cc.
References hfClusterShapes_cfi::hits, mps_fire::i, LogDebug, alignCSCRings::s, and theFileNameBase.
|
private |
Definition at line 20 of file AsciiNeutronWriter.h.
Referenced by writeCluster().