#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 L1MuGMTMatrix< T >::init(), m_inputmuons, m_iso_bits, and m_mip_bits.
|
virtual |
Definition at line 61 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().
|
inline |
get the Event number
Definition at line 74 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 87 of file L1MuGMTInputEvent.cc.
References m_inputmuons.
Referenced by L1MuGMTHWFileReader::produce().
|
inline |
|
inline |
|
inline |
Definition at line 90 of file L1MuGMTInputEvent.h.
References m_mip_bits.
Referenced by L1MuGMTHWFileReader::produce().
|
inline |
|
inline |
get the Run number
Definition at line 71 of file L1MuGMTInputEvent.h.
References m_runnr.
Referenced by L1MuGMTHWFileReader::setRunAndEventInfo().
|
inline |
is the event empty?
Definition at line 77 of file L1MuGMTInputEvent.h.
References dttmaxenums::L, m_evtnr, and m_runnr.
void L1MuGMTInputEvent::reset | ( | void | ) |
resets everything to 0/false, apart from the ISO bits, which are all set to true;
Definition at line 74 of file L1MuGMTInputEvent.cc.
References L1MuGMTMatrix< T >::init(), dttmaxenums::L, m_evtnr, m_inputmuons, m_iso_bits, m_mip_bits, and m_runnr.
Referenced by L1MuGMTHWFileReader::readNextEvent().
|
inline |
Definition at line 58 of file L1MuGMTInputEvent.h.
References m_evtnr.
Referenced by L1MuGMTHWFileReader::readNextEvent().
|
inline |
Definition at line 67 of file L1MuGMTInputEvent.h.
References m_iso_bits.
Referenced by L1MuGMTHWFileReader::readNextEvent().
|
inline |
Definition at line 63 of file L1MuGMTInputEvent.h.
References m_mip_bits.
Referenced by L1MuGMTHWFileReader::readNextEvent().
|
inline |
Definition at line 56 of file L1MuGMTInputEvent.h.
References m_runnr, and fileCollector::runnr.
Referenced by L1MuGMTHWFileReader::readNextEvent().
|
private |
Definition at line 97 of file L1MuGMTInputEvent.h.
Referenced by getEventNumber(), isEmpty(), reset(), and setEventNumber().
|
private |
Definition at line 99 of file L1MuGMTInputEvent.h.
Referenced by addInputMuon(), getInputMuon(), L1MuGMTInputEvent(), and reset().
|
private |
Definition at line 102 of file L1MuGMTInputEvent.h.
Referenced by getIsoBits(), L1MuGMTInputEvent(), reset(), and setIsoBit().
|
private |
Definition at line 101 of file L1MuGMTInputEvent.h.
Referenced by getMipBit(), getMipBits(), L1MuGMTInputEvent(), reset(), and setMipBit().
|
private |
Definition at line 91 of file L1MuGMTInputEvent.h.
Referenced by getRunNumber(), isEmpty(), reset(), and setRunNumber().