#include <RPCtoDTTranslator.h>
Public Member Functions | |
L1MuDTChambPhContainer const & | getDTContainer () const |
Return Output PhContainer. More... | |
L1MuDTChambPhContainer const & | getDTRPCHitsContainer () const |
RPCtoDTTranslator (const RPCDigiCollection &inrpcDigis) | |
void | run (const edm::EventSetup &c) |
Static Public Member Functions | |
static int | bendingAngle (int, int, int) |
static int | localX (RPCDetId, const edm::EventSetup &, int) |
function - will be replaced by LUTs(?) More... | |
static int | localXX (int, int, int) |
static int | radialAngle (RPCDetId, const edm::EventSetup &, int) |
function - will be replaced by LUTs(?) More... | |
Private Attributes | |
const RPCDigiCollection & | m_rpcDigis |
L1MuDTChambPhContainer | m_rpcdt_translated |
Output PhContainer. More... | |
L1MuDTChambPhContainer | m_rpchitsdt_translated |
Definition at line 31 of file RPCtoDTTranslator.h.
RPCtoDTTranslator::RPCtoDTTranslator | ( | const RPCDigiCollection & | inrpcDigis | ) |
Definition at line 28 of file RPCtoDTTranslator.cc.
|
static |
Definition at line 389 of file RPCtoDTTranslator.cc.
References createfilelist::int, and phi.
Referenced by run().
|
inline |
Return Output PhContainer.
Definition at line 38 of file RPCtoDTTranslator.h.
References m_rpcdt_translated.
|
inline |
|
static |
function - will be replaced by LUTs(?)
Orientaion of RPCs
—Orientaion
Definition at line 372 of file RPCtoDTTranslator.cc.
References funct::abs(), HltBtagPostValidation_cff::c, RPCRoll::centreOfStrip(), get, PV3DBase< T, PVType, FrameType >::phi(), RPCGeometry::roll(), digitizers_cfi::strip, GeomDet::toGlobal(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by IOPrinter::run().
|
static |
Definition at line 398 of file RPCtoDTTranslator.cc.
References phi, dttmaxenums::R, relativeConstraints::station, and funct::tan().
Referenced by run().
|
static |
function - will be replaced by LUTs(?)
Definition at line 349 of file RPCtoDTTranslator.cc.
References HltBtagPostValidation_cff::c, RPCRoll::centreOfStrip(), get, RPCRoll::id(), createfilelist::int, PV3DBase< T, PVType, FrameType >::phi(), Geom::pi(), RPCGeometry::roll(), digitizers_cfi::strip, and GeomDet::toGlobal().
Referenced by IOPrinter::run(), and run().
void RPCtoDTTranslator::run | ( | const edm::EventSetup & | c | ) |
Init structues
for chamber
hit belongs to cluster with clusterid
strip of i-1
for chamber
Loop over all combinations of layer 1 and 2.
Use ts2tag variable to store N rpchits for the same st/wheel/sec
Container to store RPC->DT for RPC only (only in stations 1 and 2 (2 layers->phib))
Container to store RPC->DT for Bx correction
Definition at line 71 of file RPCtoDTTranslator.cc.
References funct::abs(), bendingAngle(), simKBmtfDigis_cfi::bx, HltBtagPostValidation_cff::c, relativeConstraints::chamber, HLT_2018_cff::distance, hfClusterShapes_cfi::hits, RPCDetId::layer(), localXX(), m_rpcDigis, m_rpcdt_translated, m_rpchitsdt_translated, radialAngle(), RPCDetId::region(), RPCDetId::ring(), RPCDetId::roll(), fileinputsource_cfi::sec, RPCDetId::sector(), L1MuDTChambPhContainer::setContainer(), relativeConstraints::station, RPCDetId::station(), digitizers_cfi::strip, createJobs::tmp, and makeMuonMisalignmentScenario::wheel.
|
private |
Definition at line 52 of file RPCtoDTTranslator.h.
Referenced by run().
|
private |
Output PhContainer.
Definition at line 49 of file RPCtoDTTranslator.h.
Referenced by getDTContainer(), and run().
|
private |
Definition at line 50 of file RPCtoDTTranslator.h.
Referenced by getDTRPCHitsContainer(), and run().