#include <OMTFinputMaker.h>
Public Member Functions | |
bool | acceptDigi (const CSCDetId &cscDetId, unsigned int iProcessor, l1t::tftype procType) override |
void | addCSCstubs (MuonStubPtrs2D &muonStubsInLayers, unsigned int rawid, const CSCCorrelatedLCTDigi &digi, unsigned int iProcessor, l1t::tftype procTyp) override |
CscDigiToStubsConverterOmtf (const OMTFConfiguration *config, const OmtfAngleConverter *angleConverter, edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > inputTokenCsc) | |
~CscDigiToStubsConverterOmtf () override | |
Public Member Functions inherited from CscDigiToStubsConverter | |
CscDigiToStubsConverter (const ProcConfigurationBase *config, edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > inputTokenCsc) | |
void | loadDigis (const edm::Event &event) override |
void | makeStubs (MuonStubPtrs2D &muonStubsInLayers, unsigned int iProcessor, l1t::tftype procTyp, int bxFrom, int bxTo, std::vector< std::unique_ptr< IOMTFEmulationObserver > > &observers) override |
~CscDigiToStubsConverter () override | |
Public Member Functions inherited from DigiToStubsConverterBase | |
virtual | ~DigiToStubsConverterBase () |
Private Attributes | |
const OmtfAngleConverter * | angleConverter = nullptr |
const OMTFConfiguration * | config = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from CscDigiToStubsConverter | |
const ProcConfigurationBase * | config |
edm::Handle< CSCCorrelatedLCTDigiCollection > | cscDigis |
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > | inputTokenCsc |
bool | mergePhiAndTheta = true |
Definition at line 50 of file OMTFinputMaker.h.
|
inline |
Definition at line 52 of file OMTFinputMaker.h.
|
inlineoverride |
Definition at line 57 of file OMTFinputMaker.h.
|
overridevirtual |
Reimplemented from CscDigiToStubsConverter.
Definition at line 130 of file OMTFinputMaker.cc.
References l1t::emtf_neg, l1t::emtf_pos, l1t::omtf_neg, and l1t::omtf_pos.
|
overridevirtual |
Accept CSC digis only up to eta=1.26. The nominal OMTF range is up to 1.24, but cutting at 1.24 kill efficiency at the edge. 1.26 is one eta bin above nominal.
Implements CscDigiToStubsConverter.
Definition at line 83 of file OMTFinputMaker.cc.
References OMTFinputMaker::addStub(), angleConverter, MuonStub::bx, MuonStub::CSC_PHI_ETA, MuonStub::detId, MuonStub::etaHw, CSCCorrelatedLCTDigi::getBX(), OmtfAngleConverter::getGlobalEta(), OMTFinputMaker::getInputNumber(), CSCCorrelatedLCTDigi::getPattern(), AngleConverterBase::getProcessorPhi(), OMTFinputMaker::getProcessorPhiZero(), CSCCorrelatedLCTDigi::getQuality(), MuonStub::logicLayer, MuonStub::phiBHw, MuonStub::phiHw, MuonStub::qualityHw, MuonStub::r, alignCSCRings::r, and MuonStub::type.
|
private |
Definition at line 70 of file OMTFinputMaker.h.
Referenced by addCSCstubs().
|
private |
Definition at line 69 of file OMTFinputMaker.h.