5 : match_trig_window_size(trig_window_size)
12 return data[bx][match_bx][lct];
17 std::vector<CSCCorrelatedLCTDigi>& lcts)
const 21 if (
data[bx][mbx][
i].isValid())
22 lcts.push_back(
data[bx][mbx][
i]);
29 std::vector<CSCCorrelatedLCTDigi> temp_lcts;
36 unsigned sector,
unsigned subsector,
42 <<
"+++ Upgrade CSCUpgradeMotherboard constructed while isSLHC is not set! +++\n";
66 pref[
m-1] = pref[0] -
m/2;
67 pref[
m] = pref[0] +
m/2;
103 std::sort(lcts.begin(), lcts.end(), *
sorter);
T getParameter(std::string const &) const
bool match_earliest_alct_only
unsigned int match_trig_window_size
std::unique_ptr< CSCUpgradeMotherboardLUTGenerator > generator_
const unsigned theTrigChamber
bool match_earliest_clct_only
static bool sortLCTsByQuality(const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &)
int pref[CSCConstants::MAX_LCT_TBINS]
const CSCChamber * cscChamber
void sortLCTs(std::vector< CSCCorrelatedLCTDigi > &lcts, bool(*sorter)(const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &)) const
const unsigned theStation
LCTContainer(unsigned int trig_window_size)
const CSCGeometry * csc_g
edm::ParameterSet commonParams_
CSCCorrelatedLCTDigi data[CSCConstants::MAX_LCT_TBINS][15][2]
const unsigned theSubsector
static bool sortLCTsByGEMDphi(const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &)
void getTimeMatched(const int bx, std::vector< CSCCorrelatedLCTDigi > &) const
edm::ParameterSet tmbParams_
CSCCorrelatedLCTDigi & operator()(int bx, int match_bx, int lct)
void getMatched(std::vector< CSCCorrelatedLCTDigi > &) const
const CSCChamber * chamber(CSCDetId id) const
Return the chamber corresponding to given DetId.
const unsigned int match_trig_window_size
~CSCUpgradeMotherboard() override
unsigned int tmb_cross_bx_algo
static int chamberFromTriggerLabels(int TriggerSector, int TriggerSubSector, int station, int TriggerCSCID)