#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) | |
LCTContainer () | |
CSCCorrelatedLCTDigi & | operator() (int bx, int match_bx, int lct) |
void | setMatchTrigWindowSize (unsigned trig_window_size) |
Private Attributes | |
CSCCorrelatedLCTDigi | data [CSCConstants::MAX_LCT_TBINS][CSCConstants::MAX_MATCH_WINDOW_SIZE][CSCConstants::MAX_LCTS_PER_CSC] |
unsigned | 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.
|
inline |
Definition at line 26 of file LCTContainer.h.
void LCTContainer::clear | ( | void | ) |
Definition at line 31 of file LCTContainer.cc.
References nano_mu_digi_cff::bx, CSCCorrelatedLCTDigi::clear(), data, mps_fire::i, match_trig_window_size_, CSCConstants::MAX_LCT_TBINS, and CSCConstants::MAX_LCTS_PER_CSC.
Referenced by CSCMotherboard::clear().
void LCTContainer::getMatched | ( | std::vector< CSCCorrelatedLCTDigi > & | lcts | ) | const |
Definition at line 23 of file LCTContainer.cc.
References nano_mu_digi_cff::bx, getTimeMatched(), and CSCConstants::MAX_LCT_TBINS.
void LCTContainer::getTimeMatched | ( | const int | bx, |
std::vector< CSCCorrelatedLCTDigi > & | lcts | ||
) | const |
Definition at line 7 of file LCTContainer.cc.
References nano_mu_digi_cff::bx, data, spr::find(), mps_fire::i, sistrip::SpyUtilities::isValid(), match_trig_window_size_, and CSCConstants::MAX_LCTS_PER_CSC.
Referenced by getMatched().
CSCCorrelatedLCTDigi & LCTContainer::operator() | ( | int | bx, |
int | match_bx, | ||
int | lct | ||
) |
Definition at line 5 of file LCTContainer.cc.
References nano_mu_digi_cff::bx, and data.
|
inline |
Definition at line 41 of file LCTContainer.h.
References match_trig_window_size_.
Referenced by CSCMotherboard::CSCMotherboard().
|
private |
Definition at line 49 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(), getTimeMatched(), data_sources.json_list::last(), operator()(), and cuy.FindIssue::startElement().
|
private |
Definition at line 52 of file LCTContainer.h.
Referenced by clear(), getTimeMatched(), and setMatchTrigWindowSize().