#include <PrimitiveConverterRPC.h>
Public Member Functions | |
l1t::EMTFHitExtraCollection | convert (std::vector< L1TMuon::TriggerPrimitive > TriggPrim, int SectIndex, edm::ESHandle< RPCGeometry > rpc_geom) |
std::vector< ConvertedHit > | fillConvHits (l1t::EMTFHitExtraCollection exHits) |
PrimitiveConverterRPC () | |
bool | sameRpcChamber (l1t::EMTFHitExtra hitA, l1t::EMTFHitExtra hitB) |
Definition at line 20 of file PrimitiveConverterRPC.h.
PrimitiveConverterRPC::PrimitiveConverterRPC | ( | ) |
Definition at line 9 of file PrimitiveConverterRPC.cc.
l1t::EMTFHitExtraCollection 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::EMTFHit::ImportRPCDetId(), l1t::EMTFHit::ImportRPCDigi(), L1TMuon::TriggerPrimitive::RPCData::layer, PV3DBase< T, PVType, FrameType >::phi(), Geom::pi(), RPCDetId::region(), RPCGeometry::roll(), l1t::EMTFHit::RPC_DetId(), sameRpcChamber(), RPCDetId::sector(), l1t::EMTFHitExtra::set_eta(), l1t::EMTFHitExtra::set_layer(), l1t::EMTFHitExtra::set_phi_glob_deg(), l1t::EMTFHitExtra::set_phi_glob_rad(), l1t::EMTFHit::set_sector_index(), l1t::EMTFHit::set_strip_hi(), l1t::EMTFHit::set_strip_low(), L1TMuon::TriggerPrimitive::RPCData::strip, l1t::EMTFHit::Strip_hi(), and l1t::EMTFHit::Strip_low().
std::vector< ConvertedHit > PrimitiveConverterRPC::fillConvHits | ( | l1t::EMTFHitExtraCollection | exHits | ) |
Definition at line 106 of file PrimitiveConverterRPC.cc.
References l1t::EMTFHit::BX(), l1t::EMTFHit::CSC_ID(), l1t::EMTFHitExtra::Layer(), l1t::EMTFHit::Pattern(), l1t::EMTFHitExtra::Phi_hit(), l1t::EMTFHitExtra::Phi_loc_int(), l1t::EMTFHitExtra::Phi_zone(), l1t::EMTFHit::Quality(), l1t::EMTFHit::RPC_DetId(), l1t::EMTFHit::Sector_index(), ConvertedHit::SetNeighbor(), ConvertedHit::SetSectorIndex(), ConvertedHit::SetTP(), ConvertedHit::SetValues(), ConvertedHit::SetZhit(), l1t::EMTFHit::Station(), l1t::EMTFHit::Strip(), l1t::EMTFHit::Subsector(), l1t::EMTFHitExtra::Theta_int(), l1t::EMTFHit::Wire(), and l1t::EMTFHitExtra::Zone().
bool PrimitiveConverterRPC::sameRpcChamber | ( | l1t::EMTFHitExtra | hitA, |
l1t::EMTFHitExtra | hitB | ||
) |
Definition at line 130 of file PrimitiveConverterRPC.cc.
References l1t::EMTFHit::Endcap(), l1t::EMTFHitExtra::Layer(), l1t::EMTFHit::Ring(), l1t::EMTFHit::Roll(), l1t::EMTFHit::Sector(), l1t::EMTFHit::Station(), and l1t::EMTFHit::Subsector().
Referenced by convert().