#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 12 of file AsciiNeutronWriter.h.
AsciiNeutronWriter::AsciiNeutronWriter | ( | std::string | fileNameBase | ) |
Definition at line 8 of file AsciiNeutronWriter.cc.
|
override |
Definition at line 13 of file AsciiNeutronWriter.cc.
|
overrideprotectedvirtual |
writes out a list of SimHits.
Implements NeutronWriter.
Definition at line 17 of file AsciiNeutronWriter.cc.
References PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), mps_fire::i, LogDebug, PSimHit::momentumAtEntry(), PSimHit::pabs(), PSimHit::particleType(), PV3DBase< T, PVType, FrameType >::phi(), alignCSCRings::s, theFileNameBase, PV3DBase< T, PVType, FrameType >::theta(), PSimHit::timeOfFlight(), PSimHit::trackId(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 22 of file AsciiNeutronWriter.h.
Referenced by writeCluster().