#include <L1MuGMTInputEvent.h>
Public Member Functions | |
void | addInputMuon (std::string chipid, const L1MuRegionalCand &inMu) |
unsigned long | getEventNumber () const |
get the Event number More... | |
const L1MuRegionalCand * | getInputMuon (std::string chipid, unsigned index) const |
const bool & | getIsoBit (unsigned etaIndex, unsigned phiIndex) |
const L1MuGMTMatrix< bool > & | getIsoBits () const |
const bool & | getMipBit (unsigned etaIndex, unsigned phiIndex) |
const L1MuGMTMatrix< bool > & | getMipBits () const |
get the MIP / ISO bits More... | |
unsigned long | getRunNumber () const |
get the Run number More... | |
bool | isEmpty () const |
is the event empty? More... | |
L1MuGMTInputEvent () | |
void | reset () |
void | setEventNumber (unsigned long eventnr) |
void | setIsoBit (unsigned etaIndex, unsigned phiIndex, bool val) |
void | setMipBit (unsigned etaIndex, unsigned phiIndex, bool val) |
void | setRunNumber (unsigned long runnr) |
virtual | ~L1MuGMTInputEvent () |
Private Attributes | |
unsigned long | m_evtnr |
std::map< std::string, std::vector< L1MuRegionalCand > > | m_inputmuons |
L1MuGMTMatrix< bool > | m_iso_bits |
L1MuGMTMatrix< bool > | m_mip_bits |
unsigned long | m_runnr |
Definition at line 41 of file L1MuGMTInputEvent.h.
L1MuGMTInputEvent::L1MuGMTInputEvent | ( | ) |
constructor, initializes everything to 0/false, apart from the ISO bits, which are initialized to true;
Definition at line 36 of file L1MuGMTInputEvent.cc.
References m_inputmuons.
|
virtual |
Definition at line 62 of file L1MuGMTInputEvent.cc.
void L1MuGMTInputEvent::addInputMuon | ( | std::string | chipid, |
const L1MuRegionalCand & | inMu | ||
) |
Definition at line 67 of file L1MuGMTInputEvent.cc.
References m_inputmuons.
Referenced by L1MuGMTHWFileReader::readNextEvent(), and setEventNumber().
|
inline |
get the Event number
Definition at line 70 of file L1MuGMTInputEvent.h.
References m_evtnr.
Referenced by L1MuGMTHWFileReader::setRunAndEventInfo().
const L1MuRegionalCand * L1MuGMTInputEvent::getInputMuon | ( | std::string | chipid, |
unsigned | index | ||
) | const |
get [index]th input muon in chip [chipid]
chipid | is the input chip ID (IND, INC, INB, INF) |
index | is the index of the muon in the input chip (starting with 0) |
Definition at line 86 of file L1MuGMTInputEvent.cc.
References m_inputmuons.
Referenced by isEmpty(), and L1MuGMTHWFileReader::produce().
|
inline |
|
inline |
|
inline |
Definition at line 86 of file L1MuGMTInputEvent.h.
References m_mip_bits.
Referenced by L1MuGMTHWFileReader::produce().
|
inline |
|
inline |
get the Run number
Definition at line 67 of file L1MuGMTInputEvent.h.
References m_runnr.
Referenced by L1MuGMTHWFileReader::setRunAndEventInfo().
|
inline |
is the event empty?
Definition at line 73 of file L1MuGMTInputEvent.h.
References getInputMuon(), dttmaxenums::L, m_evtnr, m_runnr, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by plotting.Plot::clone().
void L1MuGMTInputEvent::reset | ( | void | ) |
resets everything to 0/false, apart from the ISO bits, which are all set to true;
Definition at line 73 of file L1MuGMTInputEvent.cc.
References dttmaxenums::L, m_evtnr, m_inputmuons, m_iso_bits, m_mip_bits, m_runnr, and L1MuGMTMatrix< T >::reset().
Referenced by L1MuGMTHWFileReader::readNextEvent().
|
inline |
Definition at line 56 of file L1MuGMTInputEvent.h.
References addInputMuon(), m_evtnr, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1MuGMTHWFileReader::readNextEvent().
|
inline |
Definition at line 64 of file L1MuGMTInputEvent.h.
References m_iso_bits, and heppy_batch::val.
Referenced by L1MuGMTHWFileReader::readNextEvent().
|
inline |
Definition at line 61 of file L1MuGMTInputEvent.h.
References m_mip_bits, and heppy_batch::val.
Referenced by L1MuGMTHWFileReader::readNextEvent().
|
inline |
Definition at line 54 of file L1MuGMTInputEvent.h.
References m_runnr, and fileCollector::runnr.
Referenced by L1MuGMTHWFileReader::readNextEvent().
|
private |
Definition at line 91 of file L1MuGMTInputEvent.h.
Referenced by getEventNumber(), isEmpty(), reset(), and setEventNumber().
|
private |
Definition at line 93 of file L1MuGMTInputEvent.h.
Referenced by addInputMuon(), getInputMuon(), L1MuGMTInputEvent(), and reset().
|
private |
Definition at line 96 of file L1MuGMTInputEvent.h.
Referenced by getIsoBits(), reset(), and setIsoBit().
|
private |
Definition at line 95 of file L1MuGMTInputEvent.h.
Referenced by getMipBit(), getMipBits(), reset(), and setMipBit().
|
private |
Definition at line 87 of file L1MuGMTInputEvent.h.
Referenced by getRunNumber(), isEmpty(), reset(), and setRunNumber().