#include <RootNeutronReader.h>
Public Member Functions | |
RootChamberReader & | chamberReader (int chamberType) |
void | readNextEvent (int chamberType, edm::PSimHitContainer &result) override |
RootNeutronReader (const std::string &fileName) | |
Public Member Functions inherited from NeutronReader | |
NeutronReader () | |
virtual | ~NeutronReader () |
Private Attributes | |
std::map< int, RootChamberReader > | theChamberReaders |
TFile * | theFile |
This reads patterns of neutron hits in muon chambers from an ROOT database, so they can be superimposed onto signal events. It reads the events sequentially, and loops back to the beginning when it reaches EOF
Definition at line 15 of file RootNeutronReader.h.
RootNeutronReader::RootNeutronReader | ( | const std::string & | fileName | ) |
Definition at line 4 of file RootNeutronReader.cc.
RootChamberReader & RootNeutronReader::chamberReader | ( | int | chamberType | ) |
Definition at line 6 of file RootNeutronReader.cc.
References nano_mu_digi_cff::chamberType, theChamberReaders, and theFile.
Referenced by readNextEvent().
|
overridevirtual |
Implements NeutronReader.
Definition at line 20 of file RootNeutronReader.cc.
References chamberReader(), nano_mu_digi_cff::chamberType, RootChamberReader::read(), and mps_fire::result.
|
private |
Definition at line 25 of file RootNeutronReader.h.
Referenced by chamberReader().
|
private |
Definition at line 24 of file RootNeutronReader.h.
Referenced by chamberReader().