#include <CSCUpgradeMotherboard.h>
Public Member Functions | |
void | clear () |
void | getMatched (std::vector< CSCCorrelatedLCTDigi > &) const |
void | getTimeMatched (const int bx, std::vector< CSCCorrelatedLCTDigi > &) const |
LCTContainer (unsigned int trig_window_size) | |
CSCCorrelatedLCTDigi & | operator() (int bx, int match_bx, int lct) |
Public Attributes | |
CSCCorrelatedLCTDigi | data [CSCConstants::MAX_LCT_TBINS][CSCConstants::MAX_MATCH_WINDOW_SIZE][CSCConstants::MAX_LCTS_PER_CSC] |
const unsigned int | match_trig_window_size_ |
for the case when more than 2 LCTs/BX are allowed; maximum match window = 15
Definition at line 40 of file CSCUpgradeMotherboard.h.
CSCUpgradeMotherboard::LCTContainer::LCTContainer | ( | unsigned int | trig_window_size | ) |
Definition at line 3 of file CSCUpgradeMotherboard.cc.
void CSCUpgradeMotherboard::LCTContainer::clear | ( | void | ) |
Definition at line 42 of file CSCUpgradeMotherboard.cc.
References CSCCorrelatedLCTDigi::clear(), data, mps_fire::i, match_trig_window_size_, CSCConstants::MAX_LCT_TBINS, and CSCConstants::MAX_LCTS_PER_CSC.
Referenced by CSCUpgradeMotherboard::clear(), CSCGEMMotherboardME21::run(), CSCMotherboardME11::run(), and CSCUpgradeMotherboard::run().
void CSCUpgradeMotherboard::LCTContainer::getMatched | ( | std::vector< CSCCorrelatedLCTDigi > & | lcts | ) | const |
Definition at line 32 of file CSCUpgradeMotherboard.cc.
References begin, end, getTimeMatched(), and CSCConstants::MAX_LCT_TBINS.
Referenced by CSCGEMMotherboardME21::readoutLCTs(), CSCUpgradeMotherboard::readoutLCTs(), and CSCGEMMotherboardME11::readoutLCTsME11().
void CSCUpgradeMotherboard::LCTContainer::getTimeMatched | ( | const int | bx, |
std::vector< CSCCorrelatedLCTDigi > & | lcts | ||
) | const |
Definition at line 15 of file CSCUpgradeMotherboard.cc.
References data, spr::find(), mps_fire::i, match_trig_window_size_, and CSCConstants::MAX_LCTS_PER_CSC.
Referenced by getMatched(), and CSCGEMMotherboardME11::sortLCTs().
CSCCorrelatedLCTDigi & CSCUpgradeMotherboard::LCTContainer::operator() | ( | int | bx, |
int | match_bx, | ||
int | lct | ||
) |
Definition at line 9 of file CSCUpgradeMotherboard.cc.
References data.
CSCCorrelatedLCTDigi CSCUpgradeMotherboard::LCTContainer::data[CSCConstants::MAX_LCT_TBINS][CSCConstants::MAX_MATCH_WINDOW_SIZE][CSCConstants::MAX_LCTS_PER_CSC] |
Definition at line 62 of file CSCUpgradeMotherboard.h.
Referenced by data_sources.node::__str__(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), clear(), data_sources.json_list::get_members(), CSCMotherboardME11::getLCTs1a(), CSCMotherboardME11::getLCTs1b(), getTimeMatched(), data_sources.json_list::last(), operator()(), and cuy.FindIssue::startElement().
const unsigned int CSCUpgradeMotherboard::LCTContainer::match_trig_window_size_ |
Definition at line 65 of file CSCUpgradeMotherboard.h.
Referenced by clear(), and getTimeMatched().