1 #ifndef L1TMuonEndCap_PrimitiveSelection_h 2 #define L1TMuonEndCap_PrimitiveSelection_h 11 int bxShiftCSC,
int bxShiftRPC,
int bxShiftGEM,
12 bool includeNeighbor,
bool duplicateTheta,
20 std::map<int, TriggerPrimitiveCollection>& selected_prim_map
25 const std::map<int, TriggerPrimitiveCollection>& selected_csc_map,
26 const std::map<int, TriggerPrimitiveCollection>& selected_rpc_map,
27 const std::map<int, TriggerPrimitiveCollection>& selected_gem_map,
28 std::map<int, TriggerPrimitiveCollection>& selected_prim_map
33 const std::map<int, TriggerPrimitiveCollection>& selected_csc_map,
34 const std::map<int, TriggerPrimitiveCollection>& selected_rpc_map,
35 const std::map<int, TriggerPrimitiveCollection>& selected_gem_map,
36 std::map<int, TriggerPrimitiveCollection>& selected_prim_map
52 int get_index_csc(
int tp_subsector,
int tp_station,
int tp_csc_ID,
bool is_neighbor)
const;
57 bool is_in_sector_rpc(
int tp_endcap,
int tp_station,
int tp_ring,
int tp_sector,
int tp_subsector)
const;
63 int get_index_rpc(
int tp_station,
int tp_ring,
int tp_subsector,
bool is_neighbor)
const;
74 int get_index_gem(
int tp_subsector,
int tp_station,
int tp_csc_ID,
bool is_neighbor)
const;
bool is_in_sector_csc(int tp_endcap, int tp_sector) const
int get_index_gem(int tp_subsector, int tp_station, int tp_csc_ID, bool is_neighbor) const
int select_gem(const TriggerPrimitive &muon_primitive) const
bool is_in_sector_gem(int tp_endcap, int tp_sector) const
void merge_no_truncate(const std::map< int, TriggerPrimitiveCollection > &selected_csc_map, const std::map< int, TriggerPrimitiveCollection > &selected_rpc_map, const std::map< int, TriggerPrimitiveCollection > &selected_gem_map, std::map< int, TriggerPrimitiveCollection > &selected_prim_map) const
void configure(int verbose, int endcap, int sector, int bx, int bxShiftCSC, int bxShiftRPC, int bxShiftGEM, bool includeNeighbor, bool duplicateTheta, bool bugME11Dupes)
bool is_in_sector_rpc(int tp_endcap, int tp_station, int tp_ring, int tp_sector, int tp_subsector) const
bool is_in_bx_gem(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 get_index_csc(int tp_subsector, int tp_station, int tp_csc_ID, bool is_neighbor) const
void merge(const std::map< int, TriggerPrimitiveCollection > &selected_csc_map, const std::map< int, TriggerPrimitiveCollection > &selected_rpc_map, const std::map< int, TriggerPrimitiveCollection > &selected_gem_map, std::map< int, TriggerPrimitiveCollection > &selected_prim_map) const
bool is_in_bx_rpc(int tp_bx) const
L1TMuon::TriggerPrimitiveCollection TriggerPrimitiveCollection
int get_index_rpc(int tp_station, int tp_ring, int tp_subsector, bool is_neighbor) const
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