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 std::map<int, TriggerPrimitiveCollection>& selected_csc_map,
26 std::map<int, TriggerPrimitiveCollection>& selected_rpc_map,
27 std::map<int, TriggerPrimitiveCollection>& selected_gem_map,
28 std::map<int, TriggerPrimitiveCollection>& selected_prim_map
33 std::map<int, TriggerPrimitiveCollection>& selected_csc_map,
34 std::map<int, TriggerPrimitiveCollection>& selected_rpc_map,
35 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;
65 int get_index_rpc(
int tp_station,
int tp_ring,
int tp_subsector,
bool is_neighbor)
const;
78 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
void cluster_rpc(const TriggerPrimitiveCollection &muon_primitives, TriggerPrimitiveCollection &clus_muon_primitives) 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 configure(int verbose, int endcap, int sector, int bx, int bxShiftCSC, int bxShiftRPC, int bxShiftGEM, bool includeNeighbor, bool duplicateTheta, bool bugME11Dupes)
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
void merge_no_truncate(std::map< int, TriggerPrimitiveCollection > &selected_csc_map, std::map< int, TriggerPrimitiveCollection > &selected_rpc_map, std::map< int, TriggerPrimitiveCollection > &selected_gem_map, 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
bool is_in_neighbor_sector_rpc(int tp_endcap, int tp_sector, int tp_subsector) const
int get_index_csc(int tp_subsector, int tp_station, int tp_csc_ID, bool is_neighbor) const
bool is_in_bx_rpc(int tp_bx) const
L1TMuon::TriggerPrimitiveCollection TriggerPrimitiveCollection
bool is_in_sector_rpc(int tp_endcap, int tp_sector, int tp_subsector) const
int get_index_rpc(int tp_station, int tp_ring, int tp_subsector, bool is_neighbor) const
void merge(std::map< int, TriggerPrimitiveCollection > &selected_csc_map, std::map< int, TriggerPrimitiveCollection > &selected_rpc_map, std::map< int, TriggerPrimitiveCollection > &selected_gem_map, std::map< int, TriggerPrimitiveCollection > &selected_prim_map) const
void cluster_gem(const TriggerPrimitiveCollection &muon_primitives, TriggerPrimitiveCollection &clus_muon_primitives) const
bool is_in_neighbor_sector_gem(int tp_endcap, int tp_sector, int tp_subsector, int tp_station, int tp_csc_ID) const