11 constexpr std::array<int, 48> wg_min_hs_ME1a_ = {
12 {128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, -1, -1, -1, -1, -1, -1, -1, -1,
13 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}};
14 constexpr std::array<int, 48> wg_max_hs_ME1a_ = {
15 {223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 205, 189, 167, 150, -1, -1, -1, -1, -1, -1, -1, -1,
16 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}};
17 constexpr std::array<int, 48> wg_min_hs_ME1a_ganged_ = {
18 {128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, -1, -1, -1, -1, -1, -1, -1, -1,
19 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}};
20 constexpr std::array<int, 48> wg_max_hs_ME1a_ganged_ = {
21 {159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 150, -1, -1, -1, -1, -1, -1, -1, -1,
22 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}};
23 constexpr std::array<int, 48> wg_min_hs_ME1b_ = {{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 100, 73, 47, 22, 0, 0,
24 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
25 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}};
26 constexpr std::array<int, 48> wg_max_hs_ME1b_ = {{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 127, 127,
27 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127,
28 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127,
29 127, 127, 127, 127, 127, 127, 127, 127, 105, 93, 78, 63}};
36 gangedME1a_ = commonParams.getParameter<
bool>(
"gangedME1a");
42 if (!
c.isValid() || !
a.isValid()) {
62 const int min_hs_ME1a = wg_min_hs_ME1a_[wiregroup];
63 const int max_hs_ME1a = wg_max_hs_ME1a_[wiregroup];
64 const int min_hs_ME1a_ganged = wg_min_hs_ME1a_ganged_[wiregroup];
65 const int max_hs_ME1a_ganged = wg_max_hs_ME1a_ganged_[wiregroup];
66 const int min_hs_ME1b = wg_min_hs_ME1b_[wiregroup];
67 const int max_hs_ME1b = wg_max_hs_ME1b_[wiregroup];
81 return halfstrip >= min_hs_ME1a && halfstrip <= max_hs_ME1a;
94 return halfstrip >= min_hs_ME1a_ganged && halfstrip <= max_hs_ME1a_ganged;
102 return halfstrip >= min_hs_ME1b && halfstrip <= max_hs_ME1b;
T getParameter(std::string const &) const
static const char ring_[]
bool ignoreAlctCrossClct_
CSCALCTCrossCLCT(unsigned endcap, unsigned station, unsigned ring, bool ignoreAlctCrossClct, const edm::ParameterSet &conf)
static constexpr int MAX_HALF_STRIP_ME1A_UNGANGED
static constexpr int MAX_HALF_STRIP_ME1B
static constexpr int MAX_HALF_STRIP_ME1A_GANGED
bool doesALCTCrossCLCT(const CSCALCTDigi &a, const CSCCLCTDigi &c) const
bool doesWiregroupCrossHalfStrip(int wg, int keystrip) const