#include <PrimitiveConversion.h>
Public Member Functions | |
void | configure (const GeometryTranslator *tp_geom, const SectorProcessorLUT *pc_lut, int verbose, int endcap, int sector, int bx, int bxShiftCSC, int bxShiftRPC, int bxShiftGEM, int bxShiftME0, const std::vector< int > &zoneBoundaries, int zoneOverlap, bool duplicateTheta, bool fixZonePhi, bool useNewZones, bool fixME11Edges, bool bugME11Dupes, bool useRun3CCLUT_OTMB, bool useRun3CCLUT_TMB) |
void | convert_csc (int pc_sector, int pc_station, int pc_chamber, int pc_segment, const TriggerPrimitive &muon_primitive, EMTFHit &conv_hit) const |
void | convert_csc_details (EMTFHit &conv_hit) const |
void | convert_dt (int pc_sector, int pc_station, int pc_chamber, int pc_segment, const TriggerPrimitive &muon_primitive, EMTFHit &conv_hit) const |
void | convert_gem (int pc_sector, int pc_station, int pc_chamber, int pc_segment, const TriggerPrimitive &muon_primitive, EMTFHit &conv_hit) const |
void | convert_me0 (int pc_sector, int pc_station, int pc_chamber, int pc_segment, const TriggerPrimitive &muon_primitive, EMTFHit &conv_hit) const |
void | convert_other_details (EMTFHit &conv_hit) const |
void | convert_rpc (int pc_sector, int pc_station, int pc_chamber, int pc_segment, const TriggerPrimitive &muon_primitive, EMTFHit &conv_hit) const |
void | convert_rpc_details (EMTFHit &conv_hit, bool isCPPF) const |
int | get_bt_segment (const EMTFHit &conv_hit, int fw_station, int fw_cscid, int pc_segment) const |
int | get_bt_station (const EMTFHit &conv_hit, int fw_station, int fw_cscid, int pc_segment) const |
int | get_fs_segment (const EMTFHit &conv_hit, int fw_station, int fw_cscid, int pc_segment) const |
int | get_fs_zone_code (const EMTFHit &conv_hit) const |
int | get_phzvl (const EMTFHit &conv_hit, int zone_code) const |
int | get_zone_code (const EMTFHit &conv_hit, int th) const |
bool | is_valid_for_run2 (const EMTFHit &conv_hit) const |
const SectorProcessorLUT & | pc_lut () const |
void | process (const std::map< int, TriggerPrimitiveCollection > &selected_prim_map, EMTFHitCollection &conv_hits) const |
Private Attributes | |
bool | bugME11Dupes_ |
int | bx_ |
int | bxShiftCSC_ |
int | bxShiftGEM_ |
int | bxShiftME0_ |
int | bxShiftRPC_ |
bool | duplicateTheta_ |
int | endcap_ |
bool | fixME11Edges_ |
bool | fixZonePhi_ |
const SectorProcessorLUT * | pc_lut_ |
int | sector_ |
const GeometryTranslator * | tp_geom_ |
bool | useNewZones_ |
bool | useRun3CCLUT_OTMB_ |
bool | useRun3CCLUT_TMB_ |
int | verbose_ |
std::vector< int > | zoneBoundaries_ |
int | zoneOverlap_ |
Definition at line 8 of file PrimitiveConversion.h.
void PrimitiveConversion::configure | ( | const GeometryTranslator * | tp_geom, |
const SectorProcessorLUT * | pc_lut, | ||
int | verbose, | ||
int | endcap, | ||
int | sector, | ||
int | bx, | ||
int | bxShiftCSC, | ||
int | bxShiftRPC, | ||
int | bxShiftGEM, | ||
int | bxShiftME0, | ||
const std::vector< int > & | zoneBoundaries, | ||
int | zoneOverlap, | ||
bool | duplicateTheta, | ||
bool | fixZonePhi, | ||
bool | useNewZones, | ||
bool | fixME11Edges, | ||
bool | bugME11Dupes, | ||
bool | useRun3CCLUT_OTMB, | ||
bool | useRun3CCLUT_TMB | ||
) |
Definition at line 7 of file PrimitiveConversion.cc.
References bugME11Dupes_, simKBmtfDigis_cfi::bx, bx_, bxShiftCSC_, bxShiftGEM_, bxShiftME0_, bxShiftRPC_, duplicateTheta_, emtf_assert, makeMuonMisalignmentScenario::endcap, endcap_, fixME11Edges_, fixZonePhi_, pc_lut(), pc_lut_, hgcalTBTopologyTester_cfi::sector, sector_, tp_geom_, useNewZones_, useRun3CCLUT_OTMB_, useRun3CCLUT_TMB_, verbose, verbose_, zoneBoundaries_, and zoneOverlap_.
Referenced by SectorProcessor::process_single_bx().
void PrimitiveConversion::convert_csc | ( | int | pc_sector, |
int | pc_station, | ||
int | pc_chamber, | ||
int | pc_segment, | ||
const TriggerPrimitive & | muon_primitive, | ||
EMTFHit & | conv_hit | ||
) | const |
Definition at line 95 of file PrimitiveConversion.cc.
References bxShiftCSC_, CSCDetId::chamber(), convert_csc_details(), l1t::EMTFHit::CreateCSCDetId(), L1TMuon::TriggerPrimitive::detId(), emtf_assert, CSCDetId::endcap(), endcap_, L1TMuon::TriggerPrimitive::getCSCData(), L1TMuon::GeometryTranslator::getGlobalPoint(), runTauDisplay::gp, L1TMuon::kCSC, or, topSingleLeptonDQM_PU_cfi::pattern, emtf::rad_to_deg(), CSCDetId::ring(), sector_, l1t::EMTFHit::set_alct_quality(), l1t::EMTFHit::set_bend(), l1t::EMTFHit::set_bx(), l1t::EMTFHit::set_chamber(), l1t::EMTFHit::set_clct_quality(), l1t::EMTFHit::set_csc_ID(), l1t::EMTFHit::set_csc_nID(), l1t::EMTFHit::set_endcap(), l1t::EMTFHit::set_eta_sim(), l1t::EMTFHit::set_neighbor(), l1t::EMTFHit::set_pattern(), l1t::EMTFHit::set_pattern_run3(), l1t::EMTFHit::set_pc_chamber(), l1t::EMTFHit::set_pc_sector(), l1t::EMTFHit::set_pc_segment(), l1t::EMTFHit::set_pc_station(), l1t::EMTFHit::set_phi_sim(), l1t::EMTFHit::set_quality(), l1t::EMTFHit::set_rho_sim(), l1t::EMTFHit::set_ring(), l1t::EMTFHit::set_sector(), l1t::EMTFHit::set_sector_idx(), l1t::EMTFHit::set_slope(), l1t::EMTFHit::set_station(), l1t::EMTFHit::set_strip(), l1t::EMTFHit::set_strip_eighth(), l1t::EMTFHit::set_strip_eighth_bit(), l1t::EMTFHit::set_strip_quart(), l1t::EMTFHit::set_strip_quart_bit(), l1t::EMTFHit::set_subsector(), l1t::EMTFHit::set_subsystem(), l1t::EMTFHit::set_sync_err(), l1t::EMTFHit::set_theta_sim(), l1t::EMTFHit::set_time(), l1t::EMTFHit::set_track_num(), l1t::EMTFHit::set_valid(), l1t::EMTFHit::set_wire(), l1t::EMTFHit::set_z_sim(), l1t::EMTFHit::SetCSCDetId(), CSCDetId::station(), tp_geom_, CSCDetId::triggerSector(), useRun3CCLUT_OTMB_, and useRun3CCLUT_TMB_.
Referenced by process().
void PrimitiveConversion::convert_csc_details | ( | EMTFHit & | conv_hit | ) | const |
Definition at line 221 of file PrimitiveConversion.cc.
References bugME11Dupes_, emtf::calc_eta_from_theta_deg(), emtf::calc_phi_glob_deg(), emtf::calc_phi_loc_deg(), emtf::calc_theta_deg_from_int(), gather_cfg::cout, l1t::EMTFHit::CreateCSCDetId(), l1t::EMTFHit::CSC_nID(), emtf_assert, l1t::EMTFHit::Endcap(), endcap_, fixME11Edges_, fixZonePhi_, get_bt_segment(), get_bt_station(), get_fs_segment(), get_fs_zone_code(), SectorProcessorLUT::get_ph_disp(), SectorProcessorLUT::get_ph_init(), SectorProcessorLUT::get_ph_init_hard(), SectorProcessorLUT::get_ph_patt_corr(), SectorProcessorLUT::get_ph_patt_corr_sign(), SectorProcessorLUT::get_ph_zone_offset(), SectorProcessorLUT::get_th_corr_lut(), SectorProcessorLUT::get_th_disp(), SectorProcessorLUT::get_th_init(), SectorProcessorLUT::get_th_lut(), get_zone_code(), l1t::EMTFHit::Neighbor(), or, l1t::EMTFHit::Pattern(), l1t::EMTFHit::PC_chamber(), pc_lut(), l1t::EMTFHit::PC_sector(), l1t::EMTFHit::PC_segment(), l1t::EMTFHit::PC_station(), l1t::EMTFHit::Phi_loc(), l1t::EMTFHit::Ring(), sector_, l1t::EMTFHit::set_bt_segment(), l1t::EMTFHit::set_bt_station(), l1t::EMTFHit::set_eta(), l1t::EMTFHit::set_fs_segment(), l1t::EMTFHit::set_fs_zone_code(), l1t::EMTFHit::set_phi_fp(), l1t::EMTFHit::set_phi_glob(), l1t::EMTFHit::set_phi_loc(), l1t::EMTFHit::set_theta(), l1t::EMTFHit::set_theta_fp(), l1t::EMTFHit::set_zone_code(), l1t::EMTFHit::set_zone_hit(), l1t::EMTFHit::Station(), l1t::EMTFHit::Strip(), l1t::EMTFHit::Strip_eighth_bit(), l1t::EMTFHit::Strip_quart_bit(), l1t::EMTFHit::Subsector(), l1t::EMTFHit::Theta(), useRun3CCLUT_OTMB_, useRun3CCLUT_TMB_, verbose_, and l1t::EMTFHit::Wire().
Referenced by convert_csc().
void PrimitiveConversion::convert_dt | ( | int | pc_sector, |
int | pc_station, | ||
int | pc_chamber, | ||
int | pc_segment, | ||
const TriggerPrimitive & | muon_primitive, | ||
EMTFHit & | conv_hit | ||
) | const |
Definition at line 1050 of file PrimitiveConversion.cc.
References emtf::calc_phi_loc_deg_from_glob(), emtf::calc_phi_loc_int(), emtf::calc_theta_int(), convert_other_details(), L1TMuon::TriggerPrimitive::detId(), emtf_assert, l1t::EMTFHit::Endcap(), endcap_, emtf::get_trigger_csc_ID(), emtf::get_trigger_sector(), L1TMuon::TriggerPrimitive::getDTData(), L1TMuon::GeometryTranslator::getGlobalPoint(), runTauDisplay::gp, L1TMuon::kDT, l1t::EMTFHit::PC_sector(), emtf::rad_to_deg(), DTChamberId::sector(), sector_, l1t::EMTFHit::set_bend(), l1t::EMTFHit::set_bx(), l1t::EMTFHit::set_chamber(), l1t::EMTFHit::set_csc_ID(), l1t::EMTFHit::set_csc_nID(), l1t::EMTFHit::set_endcap(), l1t::EMTFHit::set_eta_sim(), l1t::EMTFHit::set_neighbor(), l1t::EMTFHit::set_pattern(), l1t::EMTFHit::set_pc_chamber(), l1t::EMTFHit::set_pc_sector(), l1t::EMTFHit::set_pc_segment(), l1t::EMTFHit::set_pc_station(), l1t::EMTFHit::set_phi_fp(), l1t::EMTFHit::set_phi_sim(), l1t::EMTFHit::set_quality(), l1t::EMTFHit::set_rho_sim(), l1t::EMTFHit::set_ring(), l1t::EMTFHit::set_roll(), l1t::EMTFHit::set_sector(), l1t::EMTFHit::set_sector_idx(), l1t::EMTFHit::set_station(), l1t::EMTFHit::set_strip(), l1t::EMTFHit::set_subsector(), l1t::EMTFHit::set_subsystem(), l1t::EMTFHit::set_sync_err(), l1t::EMTFHit::set_theta_fp(), l1t::EMTFHit::set_theta_sim(), l1t::EMTFHit::set_time(), l1t::EMTFHit::set_track_num(), l1t::EMTFHit::set_valid(), l1t::EMTFHit::set_wire(), l1t::EMTFHit::set_z_sim(), l1t::EMTFHit::SetDTDetId(), DTChamberId::station(), tp_geom_, and DTChamberId::wheel().
Referenced by process().
void PrimitiveConversion::convert_gem | ( | int | pc_sector, |
int | pc_station, | ||
int | pc_chamber, | ||
int | pc_segment, | ||
const TriggerPrimitive & | muon_primitive, | ||
EMTFHit & | conv_hit | ||
) | const |
Definition at line 753 of file PrimitiveConversion.cc.
References bxShiftGEM_, emtf::calc_phi_loc_int(), emtf::calc_theta_int(), GEMDetId::chamber(), convert_other_details(), L1TMuon::TriggerPrimitive::detId(), emtf_assert, l1t::EMTFHit::Endcap(), endcap_, emtf::get_trigger_csc_ID(), emtf::get_trigger_sector(), L1TMuon::TriggerPrimitive::getGEMData(), L1TMuon::GeometryTranslator::getGlobalPoint(), runTauDisplay::gp, L1TMuon::kGEM, l1t::EMTFHit::PC_sector(), emtf::rad_to_deg(), GEMDetId::region(), GEMDetId::ring(), GEMDetId::roll(), sector_, l1t::EMTFHit::set_bx(), l1t::EMTFHit::set_chamber(), l1t::EMTFHit::set_csc_ID(), l1t::EMTFHit::set_csc_nID(), l1t::EMTFHit::set_endcap(), l1t::EMTFHit::set_eta_sim(), l1t::EMTFHit::set_neighbor(), l1t::EMTFHit::set_pattern(), l1t::EMTFHit::set_pc_chamber(), l1t::EMTFHit::set_pc_sector(), l1t::EMTFHit::set_pc_segment(), l1t::EMTFHit::set_pc_station(), l1t::EMTFHit::set_phi_fp(), l1t::EMTFHit::set_phi_sim(), l1t::EMTFHit::set_quality(), l1t::EMTFHit::set_rho_sim(), l1t::EMTFHit::set_ring(), l1t::EMTFHit::set_roll(), l1t::EMTFHit::set_sector(), l1t::EMTFHit::set_sector_idx(), l1t::EMTFHit::set_station(), l1t::EMTFHit::set_strip(), l1t::EMTFHit::set_strip_hi(), l1t::EMTFHit::set_strip_low(), l1t::EMTFHit::set_subsector(), l1t::EMTFHit::set_subsystem(), l1t::EMTFHit::set_theta_fp(), l1t::EMTFHit::set_theta_sim(), l1t::EMTFHit::set_time(), l1t::EMTFHit::set_valid(), l1t::EMTFHit::set_z_sim(), l1t::EMTFHit::SetGEMDetId(), GEMDetId::station(), and tp_geom_.
Referenced by process().
void PrimitiveConversion::convert_me0 | ( | int | pc_sector, |
int | pc_station, | ||
int | pc_chamber, | ||
int | pc_segment, | ||
const TriggerPrimitive & | muon_primitive, | ||
EMTFHit & | conv_hit | ||
) | const |
Definition at line 930 of file PrimitiveConversion.cc.
References bxShiftME0_, emtf::calc_phi_loc_int(), emtf::calc_theta_int(), ME0DetId::chamber(), convert_other_details(), L1TMuon::TriggerPrimitive::detId(), emtf_assert, l1t::EMTFHit::Endcap(), endcap_, emtf::get_trigger_csc_ID(), emtf::get_trigger_sector(), L1TMuon::GeometryTranslator::getGlobalPoint(), L1TMuon::TriggerPrimitive::getME0Data(), runTauDisplay::gp, L1TMuon::kME0, l1t::EMTFHit::PC_sector(), emtf::rad_to_deg(), ME0DetId::region(), sector_, l1t::EMTFHit::set_bend(), l1t::EMTFHit::set_bx(), l1t::EMTFHit::set_chamber(), l1t::EMTFHit::set_csc_ID(), l1t::EMTFHit::set_csc_nID(), l1t::EMTFHit::set_endcap(), l1t::EMTFHit::set_eta_sim(), l1t::EMTFHit::set_neighbor(), l1t::EMTFHit::set_pattern(), l1t::EMTFHit::set_pc_chamber(), l1t::EMTFHit::set_pc_sector(), l1t::EMTFHit::set_pc_segment(), l1t::EMTFHit::set_pc_station(), l1t::EMTFHit::set_phi_fp(), l1t::EMTFHit::set_phi_sim(), l1t::EMTFHit::set_quality(), l1t::EMTFHit::set_rho_sim(), l1t::EMTFHit::set_ring(), l1t::EMTFHit::set_roll(), l1t::EMTFHit::set_sector(), l1t::EMTFHit::set_sector_idx(), l1t::EMTFHit::set_station(), l1t::EMTFHit::set_strip(), l1t::EMTFHit::set_subsector(), l1t::EMTFHit::set_subsystem(), l1t::EMTFHit::set_theta_fp(), l1t::EMTFHit::set_theta_sim(), l1t::EMTFHit::set_time(), l1t::EMTFHit::set_valid(), l1t::EMTFHit::set_z_sim(), l1t::EMTFHit::SetME0DetId(), ME0DetId::station(), and tp_geom_.
Referenced by process().
void PrimitiveConversion::convert_other_details | ( | EMTFHit & | conv_hit | ) | const |
Definition at line 870 of file PrimitiveConversion.cc.
References emtf::calc_eta_from_theta_deg(), emtf::calc_phi_glob_deg(), emtf::calc_phi_loc_deg(), emtf::calc_theta_deg_from_int(), gather_cfg::cout, l1t::EMTFHit::CSC_nID(), l1t::EMTFHit::Endcap(), get_bt_segment(), get_bt_station(), get_fs_segment(), get_fs_zone_code(), get_zone_code(), l1t::EMTFHit::Neighbor(), l1t::EMTFHit::PC_chamber(), l1t::EMTFHit::PC_sector(), l1t::EMTFHit::PC_segment(), l1t::EMTFHit::PC_station(), l1t::EMTFHit::Phi_fp(), l1t::EMTFHit::Phi_loc(), l1t::EMTFHit::Ring(), l1t::EMTFHit::Sector(), l1t::EMTFHit::set_bt_segment(), l1t::EMTFHit::set_bt_station(), l1t::EMTFHit::set_eta(), l1t::EMTFHit::set_fs_segment(), l1t::EMTFHit::set_fs_zone_code(), l1t::EMTFHit::set_phi_fp(), l1t::EMTFHit::set_phi_glob(), l1t::EMTFHit::set_phi_loc(), l1t::EMTFHit::set_theta(), l1t::EMTFHit::set_theta_fp(), l1t::EMTFHit::set_zone_code(), l1t::EMTFHit::set_zone_hit(), l1t::EMTFHit::Station(), l1t::EMTFHit::Subsector(), l1t::EMTFHit::Theta(), l1t::EMTFHit::Theta_fp(), and verbose_.
Referenced by convert_dt(), convert_gem(), and convert_me0().
void PrimitiveConversion::convert_rpc | ( | int | pc_sector, |
int | pc_station, | ||
int | pc_chamber, | ||
int | pc_segment, | ||
const TriggerPrimitive & | muon_primitive, | ||
EMTFHit & | conv_hit | ||
) | const |
Definition at line 502 of file PrimitiveConversion.cc.
References bxShiftRPC_, emtf::calc_phi_loc_int(), emtf::calc_phi_loc_int_rpc(), emtf::calc_theta_int(), emtf::calc_theta_int_rpc(), convert_rpc_details(), L1TMuon::TriggerPrimitive::detId(), emtf_assert, l1t::EMTFHit::Endcap(), endcap_, PV3DBase< T, PVType, FrameType >::eta(), emtf::get_trigger_csc_ID(), L1TMuon::GeometryTranslator::getGlobalPoint(), L1TMuon::TriggerPrimitive::getRPCData(), L1TMuon::GeometryTranslator::getRPCGeometry(), runTauDisplay::gp, L1TMuon::kRPC, l1t::EMTFHit::PC_sector(), PV3DBase< T, PVType, FrameType >::perp(), emtf::rad_to_deg(), RPCDetId::region(), RPCDetId::ring(), RPCGeometry::roll(), RPCDetId::roll(), RPCDetId::sector(), sector_, l1t::EMTFHit::set_bx(), l1t::EMTFHit::set_chamber(), l1t::EMTFHit::set_csc_ID(), l1t::EMTFHit::set_csc_nID(), l1t::EMTFHit::set_endcap(), l1t::EMTFHit::set_eta_sim(), l1t::EMTFHit::set_neighbor(), l1t::EMTFHit::set_pattern(), l1t::EMTFHit::set_pc_chamber(), l1t::EMTFHit::set_pc_sector(), l1t::EMTFHit::set_pc_segment(), l1t::EMTFHit::set_pc_station(), l1t::EMTFHit::set_phi_fp(), l1t::EMTFHit::set_phi_sim(), l1t::EMTFHit::set_quality(), l1t::EMTFHit::set_rho_sim(), l1t::EMTFHit::set_ring(), l1t::EMTFHit::set_roll(), l1t::EMTFHit::set_sector(), l1t::EMTFHit::set_sector_idx(), l1t::EMTFHit::set_sector_RPC(), l1t::EMTFHit::set_station(), l1t::EMTFHit::set_strip(), l1t::EMTFHit::set_strip_hi(), l1t::EMTFHit::set_strip_low(), l1t::EMTFHit::set_subsector(), l1t::EMTFHit::set_subsector_RPC(), l1t::EMTFHit::set_subsystem(), l1t::EMTFHit::set_theta_fp(), l1t::EMTFHit::set_theta_sim(), l1t::EMTFHit::set_time(), l1t::EMTFHit::set_valid(), l1t::EMTFHit::set_z_sim(), l1t::EMTFHit::SetRPCDetId(), RPCDetId::station(), RPCDetId::subsector(), GeomDet::surface(), PV3DBase< T, PVType, FrameType >::theta(), Surface::toGlobal(), tp_geom_, and PV3DBase< T, PVType, FrameType >::z().
Referenced by process().
void PrimitiveConversion::convert_rpc_details | ( | EMTFHit & | conv_hit, |
bool | isCPPF | ||
) | const |
Definition at line 659 of file PrimitiveConversion.cc.
References emtf::calc_eta_from_theta_deg(), emtf::calc_phi_glob_deg(), emtf::calc_phi_loc_deg(), emtf::calc_theta_deg_from_int(), gather_cfg::cout, l1t::EMTFHit::CSC_nID(), emtf_assert, l1t::EMTFHit::Endcap(), get_bt_segment(), get_bt_station(), SectorProcessorLUT::get_cppf_ph_lut(), SectorProcessorLUT::get_cppf_th_lut(), get_fs_segment(), get_fs_zone_code(), get_zone_code(), l1t::EMTFHit::Neighbor(), l1t::EMTFHit::PC_chamber(), pc_lut(), l1t::EMTFHit::PC_sector(), l1t::EMTFHit::PC_segment(), l1t::EMTFHit::PC_station(), l1t::EMTFHit::Phi_fp(), l1t::EMTFHit::Phi_loc(), l1t::EMTFHit::Ring(), l1t::EMTFHit::Roll(), l1t::EMTFHit::Sector_RPC(), l1t::EMTFHit::set_bt_segment(), l1t::EMTFHit::set_bt_station(), l1t::EMTFHit::set_eta(), l1t::EMTFHit::set_fs_segment(), l1t::EMTFHit::set_fs_zone_code(), l1t::EMTFHit::set_phi_fp(), l1t::EMTFHit::set_phi_glob(), l1t::EMTFHit::set_phi_loc(), l1t::EMTFHit::set_theta(), l1t::EMTFHit::set_theta_fp(), l1t::EMTFHit::set_zone_code(), l1t::EMTFHit::set_zone_hit(), l1t::EMTFHit::Station(), l1t::EMTFHit::Strip_hi(), l1t::EMTFHit::Strip_low(), l1t::EMTFHit::Subsector_RPC(), l1t::EMTFHit::Theta(), l1t::EMTFHit::Theta_fp(), and verbose_.
Referenced by convert_rpc().
int PrimitiveConversion::get_bt_segment | ( | const EMTFHit & | conv_hit, |
int | fw_station, | ||
int | fw_cscid, | ||
int | pc_segment | ||
) | const |
Definition at line 1293 of file PrimitiveConversion.cc.
References emtf_assert.
Referenced by convert_csc_details(), convert_other_details(), and convert_rpc_details().
int PrimitiveConversion::get_bt_station | ( | const EMTFHit & | conv_hit, |
int | fw_station, | ||
int | fw_cscid, | ||
int | pc_segment | ||
) | const |
Definition at line 1288 of file PrimitiveConversion.cc.
Referenced by convert_csc_details(), convert_other_details(), and convert_rpc_details().
int PrimitiveConversion::get_fs_segment | ( | const EMTFHit & | conv_hit, |
int | fw_station, | ||
int | fw_cscid, | ||
int | pc_segment | ||
) | const |
Definition at line 1257 of file PrimitiveConversion.cc.
References emtf_assert, dqmiodumpmetadata::n, l1t::EMTFHit::Neighbor(), and l1t::EMTFHit::Ring().
Referenced by convert_csc_details(), convert_other_details(), and convert_rpc_details().
int PrimitiveConversion::get_fs_zone_code | ( | const EMTFHit & | conv_hit | ) | const |
Definition at line 1233 of file PrimitiveConversion.cc.
References emtf_assert, l1t::EMTFHit::Ring(), l1t::EMTFHit::Station(), and useNewZones_.
Referenced by convert_csc_details(), convert_other_details(), convert_rpc_details(), and get_zone_code().
int PrimitiveConversion::get_phzvl | ( | const EMTFHit & | conv_hit, |
int | zone_code | ||
) | const |
Definition at line 1214 of file PrimitiveConversion.cc.
References l1t::EMTFHit::Ring(), and l1t::EMTFHit::Station().
int PrimitiveConversion::get_zone_code | ( | const EMTFHit & | conv_hit, |
int | th | ||
) | const |
Definition at line 1184 of file PrimitiveConversion.cc.
References emtf_assert, get_fs_zone_code(), L1TMuon::kCSC, emtf::NUM_ZONES, l1t::EMTFHit::Ring(), l1t::EMTFHit::Station(), l1t::EMTFHit::Subsystem(), zoneBoundaries_, and zoneOverlap_.
Referenced by convert_csc_details(), convert_other_details(), and convert_rpc_details().
bool PrimitiveConversion::is_valid_for_run2 | ( | const EMTFHit & | conv_hit | ) | const |
Definition at line 1320 of file PrimitiveConversion.cc.
References l1t::EMTFHit::Is_CSC(), l1t::EMTFHit::Is_RPC(), l1t::EMTFHit::Ring(), and l1t::EMTFHit::Station().
|
inline |
Definition at line 32 of file PrimitiveConversion.h.
References pc_lut_.
Referenced by configure(), convert_csc_details(), and convert_rpc_details().
void PrimitiveConversion::process | ( | const std::map< int, TriggerPrimitiveCollection > & | selected_prim_map, |
EMTFHitCollection & | conv_hits | ||
) | const |
Definition at line 55 of file PrimitiveConversion.cc.
References convert_csc(), convert_dt(), convert_gem(), convert_me0(), convert_rpc(), emtf_assert, L1TMuon::kCSC, L1TMuon::kDT, L1TMuon::kGEM, L1TMuon::kME0, L1TMuon::kRPC, and sector_.
Referenced by SectorProcessor::process_single_bx().
|
private |
Definition at line 107 of file PrimitiveConversion.h.
Referenced by configure(), and convert_csc_details().
|
private |
Definition at line 100 of file PrimitiveConversion.h.
Referenced by configure().
|
private |
Definition at line 102 of file PrimitiveConversion.h.
Referenced by configure(), and convert_csc().
|
private |
Definition at line 102 of file PrimitiveConversion.h.
Referenced by configure(), and convert_gem().
|
private |
Definition at line 102 of file PrimitiveConversion.h.
Referenced by configure(), and convert_me0().
|
private |
Definition at line 102 of file PrimitiveConversion.h.
Referenced by configure(), and convert_rpc().
|
private |
Definition at line 106 of file PrimitiveConversion.h.
Referenced by configure().
|
private |
Definition at line 100 of file PrimitiveConversion.h.
Referenced by configure(), convert_csc(), convert_csc_details(), convert_dt(), convert_gem(), convert_me0(), and convert_rpc().
|
private |
Definition at line 106 of file PrimitiveConversion.h.
Referenced by configure(), and convert_csc_details().
|
private |
Definition at line 106 of file PrimitiveConversion.h.
Referenced by configure(), and convert_csc_details().
|
private |
Definition at line 98 of file PrimitiveConversion.h.
Referenced by configure(), and pc_lut().
|
private |
Definition at line 100 of file PrimitiveConversion.h.
Referenced by configure(), convert_csc(), convert_csc_details(), convert_dt(), convert_gem(), convert_me0(), convert_rpc(), and process().
|
private |
Definition at line 96 of file PrimitiveConversion.h.
Referenced by configure(), convert_csc(), convert_dt(), convert_gem(), convert_me0(), and convert_rpc().
|
private |
Definition at line 106 of file PrimitiveConversion.h.
Referenced by configure(), and get_fs_zone_code().
|
private |
Definition at line 109 of file PrimitiveConversion.h.
Referenced by configure(), convert_csc(), and convert_csc_details().
|
private |
Definition at line 110 of file PrimitiveConversion.h.
Referenced by configure(), convert_csc(), and convert_csc_details().
|
private |
Definition at line 100 of file PrimitiveConversion.h.
Referenced by configure(), convert_csc_details(), convert_other_details(), and convert_rpc_details().
|
private |
Definition at line 104 of file PrimitiveConversion.h.
Referenced by configure(), and get_zone_code().
|
private |
Definition at line 105 of file PrimitiveConversion.h.
Referenced by configure(), and get_zone_code().