29 ilink_tpc_map[
ilink].emplace_back(
tp, tp_info);
39 const int tp_endcap = tp_info.
endcap;
40 const int tp_sector = tp_info.
sector;
41 const int tp_subsector = tp_info.
subsector;
42 const int tp_station = tp_info.
station;
43 const int tp_ring = tp_info.
ring;
44 const int tp_csc_id = tp_info.
csc_id;
69 const int& tp_station,
80 const int ilink_offset = 54;
82 if (tp_station == 1) {
83 ilink = ilink_offset + (tp_subsector - 1) * 9 + (tp_csc_id - 1);
85 ilink = ilink_offset + tp_station * 9 + (tp_csc_id - 1);
90 const int ilink_offset = 99;
92 if (tp_station == 1) {
93 ilink = ilink_offset + ((tp_station - 1) * 2) + ((tp_csc_id - 1) / 3);
94 }
else if (tp_ring == 1) {
95 ilink = ilink_offset + ((tp_station - 1) * 2) + 1;
97 ilink = ilink_offset + ((tp_station - 1) * 2) + 2;
bool isTPInSector(int match_endcap, int match_sector, int tp_endcap, int tp_sector)
std::map< int, TPCollection > ILinkTPCMap
GEMTPSelector(const EMTFContext &, const int &, const int &)
bool isTPInNeighborSector(int match_endcap, int match_sector, int tp_endcap, int tp_sector, int tp_subsector, int tp_station, int tp_id)
int calcInputLink(const int &, const int &, const int &, const int &, const TPSelection &) const
const EMTFContext & context_
void select(const TriggerPrimitive &, TPInfo, ILinkTPCMap &) const final
EMTFConfiguration config_
int getInputLink(const TriggerPrimitive &, TPInfo &) const
bool include_neighbor_en_