8 assert(tp_ttgeom !=
nullptr);
9 assert(lut !=
nullptr);
22 for (
const auto& map_tp_it : selected_ttprim_map) {
23 for (
const auto& tp_it : map_tp_it.second) {
26 conv_hits.push_back(conv_hit);
33 for (
const auto& tp_it : ttmuon_primitives) {
35 bx_ == tp_it.getTTData().bx) {
38 conv_hits.push_back(conv_hit);
50 int tp_endcap = (tp_region == -1) ? 2 : tp_region;
57 const bool is_neighbor =
false;
62 conv_hit.
set_endcap((tp_endcap == 2) ? -1 : tp_endcap);
103 double glob_eta = gp.
eta();
104 double glob_rho = gp.
perp();
105 double glob_z = gp.
z();
void set_theta_sim(float val)
void set_is_GEM(int bits)
void set_neighbor(int bits)
void set_rho_sim(float val)
void set_phi_sim(float val)
int module(const TTTriggerPrimitive &) const
void set_station(int bits)
L1TMuon::TTTriggerPrimitiveCollection TTTriggerPrimitiveCollection
GlobalPoint getGlobalPoint(const TTTriggerPrimitive &) const
void convert_tt(const TTTriggerPrimitive &ttmuon_primitive, EMTFHit &conv_hit) const
Geom::Phi< T > phi() const
void set_eta_sim(float val)
void set_sector_idx(int bits)
T1 value() const
Explicit access to value in case implicit conversion not OK.
l1t::EMTFHitCollection EMTFHitCollection
int region(const TTTriggerPrimitive &) const
void process_no_prim_sel(const TTTriggerPrimitiveCollection &ttmuon_primitives, EMTFHitCollection &conv_hits) const
void set_endcap(int bits)
const TTData getTTData() const
Geom::Theta< T > theta() const
void set_is_CSC(int bits)
void process(const std::map< int, TTTriggerPrimitiveCollection > &selected_ttprim_map, EMTFHitCollection &conv_hits) const
void configure(const TTGeometryTranslator *tp_ttgeom, const SectorProcessorLUT *lut, int verbose, int endcap, int sector, int bx)
const TTGeometryTranslator * tp_ttgeom_
void set_is_RPC(int bits)
const SectorProcessorLUT * lut_
void set_sector(int bits)
void set_z_sim(float val)
int ring(const TTTriggerPrimitive &) const
void set_subsystem(int bits)
int layer(const TTTriggerPrimitive &) const
double rad_to_deg(double rad)
const SectorProcessorLUT & lut() const
void set_chamber(int bits)
void set_subsector(int bits)