1 #ifndef L1TMuonEndCap_PrimitiveSelection_h 2 #define L1TMuonEndCap_PrimitiveSelection_h 19 bool useRun3CCLUT_OTMB,
20 bool useRun3CCLUT_TMB);
25 std::map<int, TriggerPrimitiveCollection>& selected_prim_map)
const;
28 void merge(
const std::map<int, TriggerPrimitiveCollection>& selected_dt_map,
29 const std::map<int, TriggerPrimitiveCollection>& selected_csc_map,
30 const std::map<int, TriggerPrimitiveCollection>& selected_rpc_map,
31 const std::map<int, TriggerPrimitiveCollection>& selected_gem_map,
32 const std::map<int, TriggerPrimitiveCollection>& selected_me0_map,
33 std::map<int, TriggerPrimitiveCollection>& selected_prim_map)
const;
36 void merge_no_truncate(
const std::map<int, TriggerPrimitiveCollection>& selected_dt_map,
37 const std::map<int, TriggerPrimitiveCollection>& selected_csc_map,
38 const std::map<int, TriggerPrimitiveCollection>& selected_rpc_map,
39 const std::map<int, TriggerPrimitiveCollection>& selected_gem_map,
40 const std::map<int, TriggerPrimitiveCollection>& selected_me0_map,
41 std::map<int, TriggerPrimitiveCollection>& selected_prim_map)
const;
57 int get_index_csc(
int tp_endcap,
int tp_sector,
int tp_subsector,
int tp_station,
int tp_csc_ID,
int tp_bx)
const;
69 bool is_in_sector_rpc(
int tp_endcap,
int tp_station,
int tp_ring,
int tp_sector,
int tp_subsector)
const;
75 int get_index_rpc(
int tp_endcap,
int tp_station,
int tp_ring,
int tp_sector,
int tp_subsector,
int tp_bx)
const;
86 int get_index_gem(
int tp_endcap,
int tp_sector,
int tp_subsector,
int tp_station,
int tp_csc_ID,
int tp_bx)
const;
91 bool is_in_sector_me0(
int tp_endcap,
int tp_sector,
int tp_csc_ID,
int tp_pad)
const;
98 int tp_endcap,
int tp_sector,
int tp_subsector,
int tp_station,
int tp_csc_ID,
int tp_pad,
int tp_bx)
const;
109 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_dt(int tp_endcap, int csc_tp_sector, int tp_subsector, int tp_station, int tp_csc_ID, int tp_bx) 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
bool is_in_neighbor_sector_csc(int tp_endcap, int tp_sector, int tp_subsector, int tp_station, int tp_csc_ID) 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
int select_rpc(const TriggerPrimitive &muon_primitive) const
bool is_in_sector_csc(int tp_endcap, int tp_sector) const
bool is_in_bx_gem(int tp_bx) const
bool is_in_bx_csc(int tp_bx) const
bool is_in_neighbor_sector_dt(int tp_endcap, int tp_sector, int tp_csc_ID) 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
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
bool is_in_sector_gem(int tp_endcap, int tp_sector) const
bool is_in_neighbor_sector_gem(int tp_endcap, int tp_sector, int tp_subsector, int tp_station, int tp_csc_ID) const
int select_csc(const TriggerPrimitive &muon_primitive) 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
bool is_in_sector_rpc(int tp_endcap, int tp_station, int tp_ring, int tp_sector, int tp_subsector) 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 useRun3CCLUT_OTMB, bool useRun3CCLUT_TMB)
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_neighbor_sector_rpc(int tp_endcap, int tp_station, int tp_ring, int tp_sector, int tp_subsector) const
int select_dt(const TriggerPrimitive &muon_primitive) const
bool is_in_bx_me0(int tp_bx) const
int select_gem(const TriggerPrimitive &muon_primitive) const
bool is_in_sector_dt(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 select_me0(const TriggerPrimitive &muon_primitive) const
void process(T tag, const TriggerPrimitiveCollection &muon_primitives, std::map< int, TriggerPrimitiveCollection > &selected_prim_map) const
bool is_in_bx_rpc(int tp_bx) const
bool is_in_neighbor_sector_me0(int tp_endcap, int tp_sector, int tp_csc_ID, int tp_pad) const
L1TMuon::TriggerPrimitiveCollection TriggerPrimitiveCollection
bool is_in_bx_dt(int tp_bx) const