#include <RootNeutronWriter.h>
Public Member Functions | |
RootChamberWriter & | chamberWriter (int chamberType) |
virtual void | initialize (int detType) |
RootNeutronWriter (const std::string &fileName) | |
virtual void | writeCluster (int chamberType, const edm::PSimHitContainer &hits) |
writes out a list of SimHits. More... | |
virtual | ~RootNeutronWriter () |
Public Member Functions inherited from NeutronWriter | |
virtual void | beginEvent (edm::Event &e, const edm::EventSetup &es) |
virtual void | endEvent () |
virtual | ~NeutronWriter () |
Private Attributes | |
std::map< int, RootChamberWriter > | theChamberWriters |
TFile * | theFile |
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 14 of file RootNeutronWriter.h.
RootNeutronWriter::RootNeutronWriter | ( | const std::string & | fileName | ) |
|
virtual |
Definition at line 12 of file RootNeutronWriter.cc.
References interactiveExample::theFile.
RootChamberWriter & RootNeutronWriter::chamberWriter | ( | int | chamberType | ) |
Definition at line 33 of file RootNeutronWriter.cc.
References edm::hlt::Exception.
|
virtual |
users should use this to create chamberwriters for each chamber type just after creation
Reimplemented from NeutronWriter.
Definition at line 26 of file RootNeutronWriter.cc.
|
virtual |
writes out a list of SimHits.
Implements NeutronWriter.
Definition at line 52 of file RootNeutronWriter.cc.
References gather_cfg::cout.
|
private |
Definition at line 29 of file RootNeutronWriter.h.
|
private |
Definition at line 30 of file RootNeutronWriter.h.