#include <RPCIntegrator.h>
Public Member Functions | |
L1Phase2MuDTPhDigi | createL1Phase2MuDTPhDigi (RPCDetId rpcDetId, int rpc_bx, double rpc_time, double rpc_global_phi, double phiB, int rpc_flag) |
void | finish () |
bool | hasPosRF_rpc (int wh, int sec) const |
void | initialise (const edm::EventSetup &iEventSetup, double shift_back_fromDT) |
void | makeRPCOnlySegments () |
RPCMetaprimitive * | matchDTwithRPC (cmsdt::metaPrimitive *dt_metaprimitive) |
void | matchWithDTAndUseRPCTime (std::vector< cmsdt::metaPrimitive > &dt_metaprimitives) |
double | phi_DT_MP_conv (double rpc_global_phi, int rpcSector) |
double | phiBending (RPCMetaprimitive *rpc_hit_1, RPCMetaprimitive *rpc_hit_2) |
int | phiInDTTPFormat (double rpc_global_phi, int rpcSector) |
void | prepareMetaPrimitives (edm::Handle< RPCRecHitCollection > rpcRecHits) |
void | removeRPCHitsUsed () |
GlobalPoint | RPCGlobalPosition (RPCDetId rpcId, const RPCRecHit &rpcIt) const |
RPCIntegrator (const edm::ParameterSet &pset, edm::ConsumesCollector &iC) | |
void | storeRPCSingleHits () |
~RPCIntegrator () | |
Public Attributes | |
std::vector< RPCMetaprimitive > | RPCMetaprimitives_ |
std::vector< L1Phase2MuDTPhDigi > | rpcRecHits_translated_ |
Private Attributes | |
DTGeometry const * | dtGeo_ |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | dtGeomH_ |
int | m_bx_window_ |
bool | m_debug_ |
int | m_max_quality_to_overwrite_t0_ |
double | m_phi_window_ |
bool | m_storeAllRPCHits_ |
RPCGeometry const * | rpcGeo_ |
edm::ESGetToken< RPCGeometry, MuonGeometryRecord > | rpcGeomH_ |
double | shift_back_ |
Static Private Attributes | |
static constexpr double | distance_between_two_rpc_layers_ = 35 |
static constexpr double | m_dt_phi_granularity_ = (65536. / 0.8) |
static constexpr double | m_dt_phiB_granularity_ = (2048. / 1.4) |
static constexpr double | R_ [2][2] = {{410.0, 444.8}, {492.7, 527.3}} |
Definition at line 56 of file RPCIntegrator.h.
RPCIntegrator::RPCIntegrator | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 13 of file RPCIntegrator.cc.
References edm::ConsumesCollector::esConsumes(), edm::ParameterSet::getUntrackedParameter(), and LogDebug.
RPCIntegrator::~RPCIntegrator | ( | ) |
L1Phase2MuDTPhDigi RPCIntegrator::createL1Phase2MuDTPhDigi | ( | RPCDetId | rpcDetId, |
int | rpc_bx, | ||
double | rpc_time, | ||
double | rpc_global_phi, | ||
double | phiB, | ||
int | rpc_flag | ||
) |
Definition at line 189 of file RPCIntegrator.cc.
References RPCDetId::layer(), LogDebug, RPCDetId::ring(), RPCDetId::sector(), and RPCDetId::station().
void RPCIntegrator::finish | ( | ) |
Definition at line 44 of file RPCIntegrator.cc.
Referenced by progressbar.ProgressBar::__next__().
bool RPCIntegrator::hasPosRF_rpc | ( | int | wh, |
int | sec | ||
) | const |
Definition at line 257 of file RPCIntegrator.cc.
void RPCIntegrator::initialise | ( | const edm::EventSetup & | iEventSetup, |
double | shift_back_fromDT | ||
) |
Definition at line 31 of file RPCIntegrator.cc.
References relativeConstraints::geom, edm::EventSetup::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), and LogDebug.
void RPCIntegrator::makeRPCOnlySegments | ( | ) |
Definition at line 76 of file RPCIntegrator.cc.
References funct::abs(), RPCRecHit::BunchX(), RPCDetId::layer(), SiStripPI::max, PV3DBase< T, PVType, FrameType >::phi(), RPCDetId::ring(), cmsdt::RPC_ASSOCIATE, RPCMetaprimitive::rpc_t0, RPCMetaprimitive::rpcFlag, RPCDetId::sector(), RPCDetId::station(), and FrontierCondition_GT_autoExpress_cfi::t0.
RPCMetaprimitive * RPCIntegrator::matchDTwithRPC | ( | cmsdt::metaPrimitive * | dt_metaprimitive | ) |
Definition at line 153 of file RPCIntegrator.cc.
References funct::abs(), kinem::delta_phi(), DTChamberId, SiStripPI::max, cmsdt::metaPrimitive::phi, cmsdt::metaPrimitive::rawId, RPCDetId::ring(), cmsdt::RPC_ASSOCIATE, RPCMetaprimitive::rpcFlag, DTChamberId::sector(), RPCDetId::sector(), DTChamberId::station(), RPCDetId::station(), cmsdt::metaPrimitive::t0, and DTChamberId::wheel().
void RPCIntegrator::matchWithDTAndUseRPCTime | ( | std::vector< cmsdt::metaPrimitive > & | dt_metaprimitives | ) |
Definition at line 62 of file RPCIntegrator.cc.
References cmsdt::RPC_CONFIRM, RPCMetaprimitive::rpc_t0, and cmsdt::RPC_TIME.
double RPCIntegrator::phi_DT_MP_conv | ( | double | rpc_global_phi, |
int | rpcSector | ||
) |
Definition at line 235 of file RPCIntegrator.cc.
References edm::conversion(), and M_PI.
double RPCIntegrator::phiBending | ( | RPCMetaprimitive * | rpc_hit_1, |
RPCMetaprimitive * | rpc_hit_2 | ||
) |
Definition at line 215 of file RPCIntegrator.cc.
References RPCMetaprimitive::global_position, PV3DBase< T, PVType, FrameType >::phi(), RPCDetId::ring(), RPCMetaprimitive::rpc_id, RPCDetId::sector(), slope, RPCDetId::station(), and PV3DBase< T, PVType, FrameType >::x().
int RPCIntegrator::phiInDTTPFormat | ( | double | rpc_global_phi, |
int | rpcSector | ||
) |
Definition at line 229 of file RPCIntegrator.cc.
void RPCIntegrator::prepareMetaPrimitives | ( | edm::Handle< RPCRecHitCollection > | rpcRecHits | ) |
Definition at line 46 of file RPCIntegrator.cc.
References cmsdt::BX_SHIFT, cmsdt::LHC_CLK_FREQ, RPCDetId::region(), cmsdt::RPC_HIT, and RPCDetId.
void RPCIntegrator::removeRPCHitsUsed | ( | ) |
Definition at line 136 of file RPCIntegrator.cc.
References LogDebug, and cmsdt::RPC_ASSOCIATE.
GlobalPoint RPCIntegrator::RPCGlobalPosition | ( | RPCDetId | rpcId, |
const RPCRecHit & | rpcIt | ||
) | const |
Definition at line 249 of file RPCIntegrator.cc.
References RPCRecHit::localPosition(), and RPCDetId.
void RPCIntegrator::storeRPCSingleHits | ( | ) |
Definition at line 125 of file RPCIntegrator.cc.
References cmsdt::RPC_ASSOCIATE.
|
staticprivate |
Definition at line 101 of file RPCIntegrator.h.
|
private |
Definition at line 91 of file RPCIntegrator.h.
|
private |
Definition at line 93 of file RPCIntegrator.h.
|
private |
Definition at line 87 of file RPCIntegrator.h.
|
private |
Definition at line 85 of file RPCIntegrator.h.
|
staticprivate |
Definition at line 96 of file RPCIntegrator.h.
|
staticprivate |
Definition at line 97 of file RPCIntegrator.h.
|
private |
Definition at line 86 of file RPCIntegrator.h.
|
private |
Definition at line 88 of file RPCIntegrator.h.
|
private |
Definition at line 89 of file RPCIntegrator.h.
|
staticprivate |
Definition at line 100 of file RPCIntegrator.h.
|
private |
Definition at line 92 of file RPCIntegrator.h.
|
private |
Definition at line 94 of file RPCIntegrator.h.
std::vector<RPCMetaprimitive> RPCIntegrator::RPCMetaprimitives_ |
Definition at line 81 of file RPCIntegrator.h.
std::vector<L1Phase2MuDTPhDigi> RPCIntegrator::rpcRecHits_translated_ |
Definition at line 80 of file RPCIntegrator.h.
|
private |
Definition at line 103 of file RPCIntegrator.h.