#include <RootNeutronWriter.h>
Public Member Functions | |
RootChamberWriter & | chamberWriter (int chamberType) |
void | initialize (int detType) override |
RootNeutronWriter (const std::string &fileName) | |
void | writeCluster (int chamberType, const edm::PSimHitContainer &hits) override |
writes out a list of SimHits. More... | |
~RootNeutronWriter () override | |
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 13 of file RootNeutronWriter.h.
RootNeutronWriter::RootNeutronWriter | ( | const std::string & | fileName | ) |
Definition at line 6 of file RootNeutronWriter.cc.
References MillePedeFileConverter_cfg::fileName, and makeListRunsInFiles::theFile.
|
override |
Definition at line 8 of file RootNeutronWriter.cc.
References makeListRunsInFiles::theFile.
RootChamberWriter & RootNeutronWriter::chamberWriter | ( | int | chamberType | ) |
Definition at line 25 of file RootNeutronWriter.cc.
References nano_mu_digi_cff::chamberType, Exception, and initialize().
|
overridevirtual |
users should use this to create chamberwriters for each chamber type just after creation
Reimplemented from NeutronWriter.
Definition at line 19 of file RootNeutronWriter.cc.
References nano_mu_digi_cff::chamberType, and ticlDumper_cff::treeName.
|
overridevirtual |
writes out a list of SimHits.
Implements NeutronWriter.
Definition at line 39 of file RootNeutronWriter.cc.
References nano_mu_digi_cff::chamberType, gather_cfg::cout, and hfClusterShapes_cfi::hits.
|
private |
Definition at line 27 of file RootNeutronWriter.h.
|
private |
Definition at line 28 of file RootNeutronWriter.h.