#include <DTRPCBxCorrection.h>
Public Member Functions | |
DTRPCBxCorrection (L1MuDTChambPhContainer, L1MuDTChambPhContainer) | |
L1MuDTChambPhContainer | getDTContainer () |
Return Output PhContainer. More... | |
void | run (const edm::EventSetup &c) |
~DTRPCBxCorrection () | |
Static Public Member Functions | |
static int | deltaPhi (int dt_phi, int rpc_strip) |
static int | nRPCHits (L1MuTMChambPhContainer inCon, int bx, int wh, int sec, int st) |
static int | nRPCHits (L1MuDTChambPhContainer inCon, int bx, int wh, int sec, int st) |
Public Attributes | |
edm::ESHandle< L1TTwinMuxParams > | tmParamsHandle |
Private Member Functions | |
void | BxCorrection (int track_seg) |
int | flipBit (int inv) |
int | sign (float) |
Private Attributes | |
int | m_DphiWindow |
L1MuDTChambPhContainer | m_dt_tsshifted |
std::vector< L1MuDTChambPhDigi > | m_l1ttma_out |
L1MuDTChambPhContainer | m_phiDTDigis |
L1MuDTChambPhContainer | m_phiRPCDigis |
int | m_QualityLimit |
Definition at line 32 of file DTRPCBxCorrection.h.
DTRPCBxCorrection::DTRPCBxCorrection | ( | L1MuDTChambPhContainer | inphiDTDigis, |
L1MuDTChambPhContainer | inphiRPCDigis | ||
) |
Definition at line 21 of file DTRPCBxCorrection.cc.
|
inline |
Definition at line 35 of file DTRPCBxCorrection.h.
References HltBtagPostValidation_cff::c, and run().
|
private |
Concatanate all vectors in one
Shift primitives if vector>0
XXX: Source of discrepancies in order to send as second TS the two prims must come from different halves of the station this information does not exist in data 'simulate' this information by requiring different sign in phis and dphi>100
if there is no shift then put the original primitive
Definition at line 42 of file DTRPCBxCorrection.cc.
References l1GtPatternGenerator_cfi::bx, L1MuDTChambPhDigi::BxCnt(), L1MuDTChambPhDigi::bxNum(), L1MuTMChambPhContainer::chPhiSegm(), L1MuDTChambPhDigi::code(), dumpMFGeometry_cfg::delta, deltaPhi(), HLT_2018_cff::distance, flipBit(), L1MuDTChambPhContainer::getContainer(), m_DphiWindow, m_l1ttma_out, m_phiDTDigis, m_phiRPCDigis, m_QualityLimit, nhits, nRPCHits(), L1MuDTChambPhDigi::phi(), L1MuDTChambPhDigi::phiB(), L1MuDTChambPhDigi::scNum(), L1MuTMChambPhContainer::setContainer(), sign(), relativeConstraints::station, L1MuDTChambPhDigi::stNum(), L1MuDTChambPhDigi::Ts2Tag(), makeMuonMisalignmentScenario::wheel, and L1MuDTChambPhDigi::whNum().
Referenced by flipBit(), and run().
|
static |
Definition at line 195 of file DTRPCBxCorrection.cc.
References funct::abs(), and HLT_2018_cff::delta_phi.
Referenced by BxCorrection(), getDTContainer(), and DTLowQMatching::Matching().
|
inlineprivate |
Definition at line 50 of file DTRPCBxCorrection.h.
References BxCorrection().
Referenced by BxCorrection().
|
inline |
Return Output PhContainer.
Definition at line 42 of file DTRPCBxCorrection.h.
References l1GtPatternGenerator_cfi::bx, deltaPhi(), m_dt_tsshifted, nRPCHits(), fileinputsource_cfi::sec, and sign().
|
static |
Definition at line 208 of file DTRPCBxCorrection.cc.
References L1MuTMChambPhContainer::getContainer(), mps_fire::i, and findQualityFiles::size.
Referenced by BxCorrection(), getDTContainer(), DTLowQMatching::Matching(), and IOPrinter::run().
|
static |
Definition at line 219 of file DTRPCBxCorrection.cc.
References L1MuDTChambPhContainer::getContainer(), mps_fire::i, and findQualityFiles::size.
void DTRPCBxCorrection::run | ( | const edm::EventSetup & | c | ) |
Definition at line 28 of file DTRPCBxCorrection.cc.
References BxCorrection(), edm::EventSetup::get(), edm::eventsetup::EventSetupRecordImplementation< T >::get(), L1TTwinMuxParams::get_DphiWindowBxShift(), L1TTwinMuxParams::get_USERPCBXFORDTBELOWQUALITY(), m_DphiWindow, m_dt_tsshifted, m_l1ttma_out, m_QualityLimit, edm::ESHandle< T >::product(), L1MuDTChambPhContainer::setContainer(), and tmParamsHandle.
Referenced by ~DTRPCBxCorrection().
|
private |
Definition at line 200 of file DTRPCBxCorrection.cc.
Referenced by BxCorrection(), and getDTContainer().
|
private |
Definition at line 62 of file DTRPCBxCorrection.h.
Referenced by BxCorrection(), and run().
|
private |
Definition at line 57 of file DTRPCBxCorrection.h.
Referenced by getDTContainer(), and run().
|
private |
Definition at line 59 of file DTRPCBxCorrection.h.
Referenced by BxCorrection(), and run().
|
private |
Definition at line 55 of file DTRPCBxCorrection.h.
Referenced by BxCorrection().
|
private |
Definition at line 56 of file DTRPCBxCorrection.h.
Referenced by BxCorrection().
|
private |
Definition at line 61 of file DTRPCBxCorrection.h.
Referenced by BxCorrection(), and run().
edm::ESHandle<L1TTwinMuxParams> DTRPCBxCorrection::tmParamsHandle |
Definition at line 39 of file DTRPCBxCorrection.h.
Referenced by run().