#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][15][2] |
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 44 of file CSCUpgradeMotherboard.h.
CSCUpgradeMotherboard::LCTContainer::LCTContainer | ( | unsigned int | trig_window_size | ) |
Definition at line 4 of file CSCUpgradeMotherboard.cc.
void CSCUpgradeMotherboard::LCTContainer::clear | ( | void | ) |
Definition at line 43 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(), CSCMotherboardME3141::run(), CSCGEMMotherboardME21::run(), and CSCMotherboardME11::run().
void CSCUpgradeMotherboard::LCTContainer::getMatched | ( | std::vector< CSCCorrelatedLCTDigi > & | lcts | ) | const |
Definition at line 33 of file CSCUpgradeMotherboard.cc.
References begin, end, getTimeMatched(), and CSCConstants::MAX_LCT_TBINS.
Referenced by CSCMotherboardME3141::readoutLCTs(), CSCGEMMotherboardME21::readoutLCTs(), and CSCGEMMotherboardME11::readoutLCTs().
void CSCUpgradeMotherboard::LCTContainer::getTimeMatched | ( | const int | bx, |
std::vector< CSCCorrelatedLCTDigi > & | lcts | ||
) | const |
Definition at line 16 of file CSCUpgradeMotherboard.cc.
References data, spr::find(), mps_fire::i, and match_trig_window_size_.
Referenced by getMatched(), and CSCGEMMotherboardME11::sortLCTs().
CSCCorrelatedLCTDigi & CSCUpgradeMotherboard::LCTContainer::operator() | ( | int | bx, |
int | match_bx, | ||
int | lct | ||
) |
Definition at line 10 of file CSCUpgradeMotherboard.cc.
References data.
CSCCorrelatedLCTDigi CSCUpgradeMotherboard::LCTContainer::data[CSCConstants::MAX_LCT_TBINS][15][2] |
Definition at line 63 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 66 of file CSCUpgradeMotherboard.h.
Referenced by clear(), and getTimeMatched().