6 if (chamberId.
ring() == 4) {
21 int bx = *lctItr - nominalBX;
22 if (bx >= bxMin && bx <= bxMax) {
35 std::vector<bool>& preTriggerInCFEB) {
39 bool atLeastOnePreTrigger =
false;
44 int bx = lctItr->getBX() - nominalBX;
45 if (bx >= bxMin && bx <= bxMax) {
46 atLeastOnePreTrigger =
true;
48 preTriggerInCFEB[lctItr->getCFEB()] =
true;
51 return atLeastOnePreTrigger;
bool accept(const CSCDetId &cscId, const LCTCollection &lcts, int bxMin, int bxMax, int nominalBX)
Range get(const IndexType &index) const
return the digis for a given DetUnit
CSCDetId chamberID(const CSCDetId &cscDetId)
CSCDetId chamberId() const
std::pair< const_iterator, const_iterator > Range
std::vector< DigiType >::const_iterator const_iterator
A container for a generic type of digis indexed by some index, implemented with a map<IndexType...