#include <LCTContainer.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
This class is a helper class that contains LCTs per BX
Author: Nick McColl
Definition at line 20 of file LCTContainer.h.
LCTContainer::LCTContainer | ( | unsigned int | trig_window_size | ) |
Definition at line 3 of file LCTContainer.cc.
void LCTContainer::clear | ( | void | ) |
Definition at line 31 of file LCTContainer.cc.
References l1GtPatternGenerator_cfi::bx, 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 LCTContainer::getMatched | ( | std::vector< CSCCorrelatedLCTDigi > & | lcts | ) | const |
Definition at line 23 of file LCTContainer.cc.
References l1GtPatternGenerator_cfi::bx, mps_fire::end, getTimeMatched(), and CSCConstants::MAX_LCT_TBINS.
Referenced by CSCGEMMotherboardME21::readoutLCTs(), CSCUpgradeMotherboard::readoutLCTs(), and CSCGEMMotherboardME11::readoutLCTsME11().
void LCTContainer::getTimeMatched | ( | const int | bx, |
std::vector< CSCCorrelatedLCTDigi > & | lcts | ||
) | const |
Definition at line 7 of file LCTContainer.cc.
References l1GtPatternGenerator_cfi::bx, data, spr::find(), mps_fire::i, match_trig_window_size_, and CSCConstants::MAX_LCTS_PER_CSC.
Referenced by getMatched(), and CSCGEMMotherboardME11::sortLCTs().
CSCCorrelatedLCTDigi & LCTContainer::operator() | ( | int | bx, |
int | match_bx, | ||
int | lct | ||
) |
Definition at line 5 of file LCTContainer.cc.
References l1GtPatternGenerator_cfi::bx, and data.
CSCCorrelatedLCTDigi LCTContainer::data[CSCConstants::MAX_LCT_TBINS][CSCConstants::MAX_MATCH_WINDOW_SIZE][CSCConstants::MAX_LCTS_PER_CSC] |
Definition at line 43 of file LCTContainer.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 LCTContainer::match_trig_window_size_ |
Definition at line 46 of file LCTContainer.h.
Referenced by clear(), and getTimeMatched().