5 : match_trig_window_size_(trig_window_size)
12 return data[bx][match_bx][lct];
17 std::vector<CSCCorrelatedLCTDigi>& lcts)
const 20 for (
int i=0;
i<2;
i++) {
22 if (not
data[bx][mbx][
i].isValid())
continue;
25 if (
std::find(lcts.begin(), lcts.end(),
data[bx][mbx][
i]) != lcts.end())
continue;
27 lcts.push_back(
data[bx][mbx][
i]);
36 std::vector<CSCCorrelatedLCTDigi> temp_lcts;
58 unsigned sector,
unsigned subsector,
69 <<
"+++ Upgrade CSCUpgradeMotherboard constructed while isSLHC_ is not set! +++\n";
95 <<
"+++ Upgrade CSCUpgradeMotherboard constructed while isSLHC_ is not set! +++\n";
112 }
else if (keystrip <= CSCConstants::MAX_HALF_STRIP_ME1B and keystrip >= 0)
123 edm::LogError(
"CSCUpgradeMotherboard|Error") <<
" ++ getCSCPart() failed to find the CSC chamber for in case ";
146 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]
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
const CSCChamber * cscChamber
const CSCGeometry * csc_g
edm::ParameterSet tmbParams_
void sortLCTs(std::vector< CSCCorrelatedLCTDigi > &lcts, bool(*sorter)(const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &)) const
const unsigned theStation
LCTContainer(unsigned int trig_window_size)
edm::ParameterSet commonParams_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
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
CSCCorrelatedLCTDigi & operator()(int bx, int match_bx, int lct)
const unsigned int match_trig_window_size_
void getMatched(std::vector< CSCCorrelatedLCTDigi > &) const
const CSCChamber * chamber(CSCDetId id) const
Return the chamber corresponding to given DetId.
~CSCUpgradeMotherboard() override
unsigned int tmb_cross_bx_algo
static int chamberFromTriggerLabels(int TriggerSector, int TriggerSubSector, int station, int TriggerCSCID)
enum CSCPart getCSCPart(int keystrip) const