27 constexpr
unsigned hSc_triggercell_size_ = 2;
30 DetId trigger_cell_det_id(trigger_cell_id);
31 unsigned det = trigger_cell_det_id.
det();
33 std::unordered_set<unsigned> cell_det_ids;
38 int ieta0 = (trigger_cell_sc_id.
ietaAbs() - 1) * hSc_triggercell_size_ + 1;
39 int iphi0 = (trigger_cell_sc_id.
iphi() - 1) * hSc_triggercell_size_ + 1;
40 for (
int ietaAbs = ieta0; ietaAbs < ieta0 + (
int)hSc_triggercell_size_; ietaAbs++) {
41 int ieta = ietaAbs * trigger_cell_sc_id.
zside();
42 for (
int iphi = iphi0;
iphi < iphi0 + (
int)hSc_triggercell_size_;
iphi++) {
47 cell_det_ids.emplace(cell_id);
54 unsigned subdet = trigger_cell_trig_id.
subdet();
60 int type = trigger_cell_trig_id.
type();
61 int waferu = trigger_cell_trig_id.
waferU();
62 int waferv = trigger_cell_trig_id.
waferV();
63 std::vector<int> cellus = trigger_cell_trig_id.
cellU();
64 std::vector<int> cellvs = trigger_cell_trig_id.
cellV();
65 for (
unsigned ic = 0; ic < cellus.size(); ic++) {
67 cell_det_ids.emplace(cell_det_id.
rawId());