#include <PrimitiveConverterRPC.h>
Public Member Functions | |
l1t::EMTFHit2016ExtraCollection | convert (std::vector< L1TMuon::TriggerPrimitive > TriggPrim, int SectIndex, edm::ESHandle< RPCGeometry > rpc_geom) |
std::vector< ConvertedHit > | fillConvHits (l1t::EMTFHit2016ExtraCollection exHits) |
PrimitiveConverterRPC () | |
bool | sameRpcChamber (l1t::EMTFHit2016Extra hitA, l1t::EMTFHit2016Extra hitB) |
Definition at line 20 of file PrimitiveConverterRPC.h.
PrimitiveConverterRPC::PrimitiveConverterRPC | ( | ) |
Definition at line 9 of file PrimitiveConverterRPC.cc.
l1t::EMTFHit2016ExtraCollection PrimitiveConverterRPC::convert | ( | std::vector< L1TMuon::TriggerPrimitive > | TriggPrim, |
int | SectIndex, | ||
edm::ESHandle< RPCGeometry > | rpc_geom | ||
) |
Get all the input variables
Definition at line 13 of file PrimitiveConverterRPC.cc.
References funct::abs(), L1TMuon::TriggerPrimitive::RPCData::bx, gather_cfg::cout, L1TMuon::TriggerPrimitive::detId(), PV3DBase< T, PVType, FrameType >::eta(), L1TMuon::TriggerPrimitive::getRPCData(), l1t::EMTFHit2016::ImportRPCDetId(), l1t::EMTFHit2016::ImportRPCDigi(), L1TMuon::TriggerPrimitive::RPCData::layer, PV3DBase< T, PVType, FrameType >::phi(), Geom::pi(), RPCDetId::region(), RPCGeometry::roll(), l1t::EMTFHit2016::RPC_DetId(), sameRpcChamber(), RPCDetId::sector(), l1t::EMTFHit2016Extra::set_eta(), l1t::EMTFHit2016Extra::set_layer(), l1t::EMTFHit2016Extra::set_phi_glob_deg(), l1t::EMTFHit2016Extra::set_phi_glob_rad(), l1t::EMTFHit2016::set_sector_index(), l1t::EMTFHit2016::set_strip_hi(), l1t::EMTFHit2016::set_strip_low(), L1TMuon::TriggerPrimitive::RPCData::strip, l1t::EMTFHit2016::Strip_hi(), and l1t::EMTFHit2016::Strip_low().
std::vector< ConvertedHit > PrimitiveConverterRPC::fillConvHits | ( | l1t::EMTFHit2016ExtraCollection | exHits | ) |
Definition at line 106 of file PrimitiveConverterRPC.cc.
References l1t::EMTFHit2016::BX(), l1t::EMTFHit2016::CSC_ID(), l1t::EMTFHit2016Extra::Layer(), l1t::EMTFHit2016::Pattern(), l1t::EMTFHit2016Extra::Phi_hit(), l1t::EMTFHit2016Extra::Phi_loc_int(), l1t::EMTFHit2016Extra::Phi_zone(), l1t::EMTFHit2016::Quality(), l1t::EMTFHit2016::RPC_DetId(), l1t::EMTFHit2016::Sector_index(), ConvertedHit::SetNeighbor(), ConvertedHit::SetSectorIndex(), ConvertedHit::SetTP(), ConvertedHit::SetValues(), ConvertedHit::SetZhit(), l1t::EMTFHit2016::Station(), l1t::EMTFHit2016::Strip(), l1t::EMTFHit2016::Subsector(), l1t::EMTFHit2016Extra::Theta_int(), l1t::EMTFHit2016::Wire(), and l1t::EMTFHit2016Extra::Zone().
bool PrimitiveConverterRPC::sameRpcChamber | ( | l1t::EMTFHit2016Extra | hitA, |
l1t::EMTFHit2016Extra | hitB | ||
) |
Definition at line 130 of file PrimitiveConverterRPC.cc.
References l1t::EMTFHit2016::Endcap(), l1t::EMTFHit2016Extra::Layer(), l1t::EMTFHit2016::Ring(), l1t::EMTFHit2016::Roll(), l1t::EMTFHit2016::Sector(), l1t::EMTFHit2016::Station(), and l1t::EMTFHit2016::Subsector().
Referenced by convert().