#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.
References mps_check::array, l1GtPatternGenerator_cfi::bx, constexpr, createfilelist::int, operator[](), or, findQualityFiles::size, relativeConstraints::station, digitizers_cfi::strip, and makeMuonMisalignmentScenario::wheel.
|
static |
Definition at line 389 of file RPCtoDTTranslator.cc.
References createfilelist::int.
Referenced by getDTRPCHitsContainer(), and run().
|
inline |
Return Output PhContainer.
Definition at line 38 of file RPCtoDTTranslator.h.
References m_rpcdt_translated.
|
inline |
Definition at line 39 of file RPCtoDTTranslator.h.
References bendingAngle(), localX(), localXX(), m_rpchitsdt_translated, and radialAngle().
|
static |
function - will be replaced by LUTs(?)
Orientaion of RPCs
—Orientaion
Definition at line 372 of file RPCtoDTTranslator.cc.
References funct::abs(), RPCRoll::centreOfStrip(), edm::EventSetup::get(), PV3DBase< T, PVType, FrameType >::phi(), RPCGeometry::roll(), GeomDet::toGlobal(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by getDTRPCHitsContainer(), and IOPrinter::run().
|
static |
Definition at line 398 of file RPCtoDTTranslator.cc.
References dttmaxenums::R, and funct::tan().
Referenced by getDTRPCHitsContainer(), and run().
|
static |
function - will be replaced by LUTs(?)
Definition at line 349 of file RPCtoDTTranslator.cc.
References RPCRoll::centreOfStrip(), edm::EventSetup::get(), RPCRoll::id(), createfilelist::int, PV3DBase< T, PVType, FrameType >::phi(), Geom::pi(), RPCGeometry::roll(), and GeomDet::toGlobal().
Referenced by getDTRPCHitsContainer(), 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(), l1GtPatternGenerator_cfi::bx, 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().