#include <RootNeutronReader.h>
Public Member Functions | |
RootChamberReader & | chamberReader (int chamberType) |
virtual void | readNextEvent (int chamberType, edm::PSimHitContainer &result) |
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 10 of file RootNeutronReader.cc.
References theChamberReaders, and theFile.
Referenced by readNextEvent().
|
virtual |
Implements NeutronReader.
Definition at line 30 of file RootNeutronReader.cc.
References chamberReader(), and RootChamberReader::read().
|
private |
Definition at line 26 of file RootNeutronReader.h.
Referenced by chamberReader().
|
private |
Definition at line 25 of file RootNeutronReader.h.
Referenced by chamberReader().