1 #ifndef L1TMuonEndCap_PrimitiveSelection_h
2 #define L1TMuonEndCap_PrimitiveSelection_h
23 std::map<int, TriggerPrimitiveCollection>& selected_prim_map)
const;
26 void merge(
const std::map<int, TriggerPrimitiveCollection>& selected_dt_map,
27 const std::map<int, TriggerPrimitiveCollection>& selected_csc_map,
28 const std::map<int, TriggerPrimitiveCollection>& selected_rpc_map,
29 const std::map<int, TriggerPrimitiveCollection>& selected_gem_map,
30 const std::map<int, TriggerPrimitiveCollection>& selected_me0_map,
31 std::map<int, TriggerPrimitiveCollection>& selected_prim_map)
const;
34 void merge_no_truncate(
const std::map<int, TriggerPrimitiveCollection>& selected_dt_map,
35 const std::map<int, TriggerPrimitiveCollection>& selected_csc_map,
36 const std::map<int, TriggerPrimitiveCollection>& selected_rpc_map,
37 const std::map<int, TriggerPrimitiveCollection>& selected_gem_map,
38 const std::map<int, TriggerPrimitiveCollection>& selected_me0_map,
39 std::map<int, TriggerPrimitiveCollection>& selected_prim_map)
const;
55 int get_index_csc(
int tp_endcap,
int tp_sector,
int tp_subsector,
int tp_station,
int tp_csc_ID,
int tp_bx)
const;
67 bool is_in_sector_rpc(
int tp_endcap,
int tp_station,
int tp_ring,
int tp_sector,
int tp_subsector)
const;
73 int get_index_rpc(
int tp_endcap,
int tp_station,
int tp_ring,
int tp_sector,
int tp_subsector,
int tp_bx)
const;
84 int get_index_gem(
int tp_endcap,
int tp_sector,
int tp_subsector,
int tp_station,
int tp_csc_ID,
int tp_bx)
const;
89 bool is_in_sector_me0(
int tp_endcap,
int tp_sector,
int tp_csc_ID,
int tp_pad)
const;
96 int tp_endcap,
int tp_sector,
int tp_subsector,
int tp_station,
int tp_csc_ID,
int tp_pad,
int tp_bx)
const;
107 int get_index_dt(
int tp_endcap,
int csc_tp_sector,
int tp_subsector,
int tp_station,
int tp_csc_ID,
int tp_bx)
const;
int get_index_rpc(int tp_endcap, int tp_station, int tp_ring, int tp_sector, int tp_subsector, int tp_bx) const
bool is_in_sector_dt(int tp_endcap, int tp_sector) const
bool is_in_sector_csc(int tp_endcap, int tp_sector) const
bool is_in_sector_me0(int tp_endcap, int tp_sector, int tp_csc_ID, int tp_pad) const
int get_index_gem(int tp_endcap, int tp_sector, int tp_subsector, int tp_station, int tp_csc_ID, int tp_bx) const
int select_me0(const TriggerPrimitive &muon_primitive) const
int select_gem(const TriggerPrimitive &muon_primitive) const
bool is_in_sector_gem(int tp_endcap, int tp_sector) const
bool is_in_sector_rpc(int tp_endcap, int tp_station, int tp_ring, int tp_sector, int tp_subsector) const
bool is_in_neighbor_sector_me0(int tp_endcap, int tp_sector, int tp_csc_ID, int tp_pad) const
void configure(int verbose, int endcap, int sector, int bx, int bxShiftCSC, int bxShiftRPC, int bxShiftGEM, int bxShiftME0, bool includeNeighbor, bool duplicateTheta, bool bugME11Dupes)
bool is_in_bx_gem(int tp_bx) const
static constexpr int verbose
bool is_in_bx_me0(int tp_bx) const
int select_rpc(const TriggerPrimitive &muon_primitive) const
int select_csc(const TriggerPrimitive &muon_primitive) const
void process(T tag, const TriggerPrimitiveCollection &muon_primitives, std::map< int, TriggerPrimitiveCollection > &selected_prim_map) const
bool is_in_neighbor_sector_csc(int tp_endcap, int tp_sector, int tp_subsector, int tp_station, int tp_csc_ID) const
bool is_in_bx_csc(int tp_bx) const
int select_dt(const TriggerPrimitive &muon_primitive) const
int get_index_me0(int tp_endcap, int tp_sector, int tp_subsector, int tp_station, int tp_csc_ID, int tp_pad, int tp_bx) const
bool is_in_bx_rpc(int tp_bx) const
bool is_in_neighbor_sector_dt(int tp_endcap, int tp_sector, int tp_csc_ID) const
void merge_no_truncate(const std::map< int, TriggerPrimitiveCollection > &selected_dt_map, const std::map< int, TriggerPrimitiveCollection > &selected_csc_map, const std::map< int, TriggerPrimitiveCollection > &selected_rpc_map, const std::map< int, TriggerPrimitiveCollection > &selected_gem_map, const std::map< int, TriggerPrimitiveCollection > &selected_me0_map, std::map< int, TriggerPrimitiveCollection > &selected_prim_map) const
void merge(const std::map< int, TriggerPrimitiveCollection > &selected_dt_map, const std::map< int, TriggerPrimitiveCollection > &selected_csc_map, const std::map< int, TriggerPrimitiveCollection > &selected_rpc_map, const std::map< int, TriggerPrimitiveCollection > &selected_gem_map, const std::map< int, TriggerPrimitiveCollection > &selected_me0_map, std::map< int, TriggerPrimitiveCollection > &selected_prim_map) const
int get_index_dt(int tp_endcap, int csc_tp_sector, int tp_subsector, int tp_station, int tp_csc_ID, int tp_bx) const
bool is_in_bx_dt(int tp_bx) const
int get_index_csc(int tp_endcap, int tp_sector, int tp_subsector, int tp_station, int tp_csc_ID, int tp_bx) const
L1TMuon::TriggerPrimitiveCollection TriggerPrimitiveCollection
bool is_in_neighbor_sector_rpc(int tp_endcap, int tp_station, int tp_ring, int tp_sector, int tp_subsector) const
bool is_in_neighbor_sector_gem(int tp_endcap, int tp_sector, int tp_subsector, int tp_station, int tp_csc_ID) const