Go to the documentation of this file.
20 : m_Config(theConfig),
21 l1TMuonOverlapParamsToken_(
23 m_OMTFConfig(nullptr),
24 m_InputMaker(iC,
false),
27 m_OMTFConfigMaker(nullptr),
65 edm::LogError(
"L1TMuonOverlapTrackProducer") <<
"Could not retrieve parameters from Event Setup" << std::endl;
146 std::vector<AlgoMuon> algoCandidates;
151 std::vector<AlgoMuon> gbCandidates =
m_GhostBuster->select(algoCandidates);
154 std::vector<l1t::RegionalMuonCand> candMuons =
m_Sorter.
candidates(iProcessor, mtfType, gbCandidates);
157 for (
auto& candMuon : candMuons) {
158 candMuon.setHwQual(candMuon.hwQual() |
flag);
171 const std::vector<OMTFProcessor::resultsMap>&
results,
172 const std::vector<l1t::RegionalMuonCand>& candMuons) {
182 if (algoMuon.
getPt()) {
185 for (
auto& itKey :
results[iRefHit])
190 for (
auto& candMuon : candMuons)
std::unique_ptr< l1t::RegionalMuonCandBxCollection > reconstruct(const edm::Event &, const edm::EventSetup &)
omtfParams
OMTF ESProducer.
OMTFConfiguration * m_OMTFConfig
OMTF objects.
static const std::string input
xercesc::DOMElement * writeEventData(xercesc::DOMElement *aTopElement, const OmtfName &board, const OMTFinput &aInput)
T const * product() const
void loadAndFilterDigis(const edm::Event &)
std::unique_ptr< IGhostBuster > m_GhostBuster
edm::Handle< RPCDigiCollection > rpcDigis
unsigned int fwVersion() const
unsigned int nPhiBins() const
void getProcessorCandidates(unsigned int iProcessor, l1t::tftype mtfType, int bx, l1t::RegionalMuonCandBxCollection &myCandidates)
void sortRefHitResults(const std::vector< OMTFProcessor::resultsMap > &procResults, std::vector< AlgoMuon > &refHitCleanCands, int charge=0)
void initialiseXMLDocument(const std::string &docName)
edm::ESGetToken< L1TMuonOverlapParams, L1TMuonOverlapParamsRcd > l1TMuonOverlapParamsToken_
std::vector< l1t::RegionalMuonCand > candidates(unsigned int iProcessor, l1t::tftype mtfType, const std::vector< AlgoMuon > &algoCands)
void setNphiBins(unsigned int phiBins)
XMLConfigWriter * m_Writer
edm::Handle< CSCCorrelatedLCTDigiCollection > cscDigis
void finaliseXMLDocument(const std::string &fName)
void writeResultsData(xercesc::DOMElement *aTopElement, unsigned int iRegion, const Key &aKey, const OMTFResult &aResult)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
void configure(const L1TMuonOverlapParams *omtfParams)
bool dumpDetailedResultToXML
xercesc::DOMElement * writeEventHeader(unsigned int eventId, unsigned int mixedEventId=0)
unsigned int nTestRefHits() const
void writeResultToXML(unsigned int iProcessor, l1t::tftype mtfType, const OMTFinput &myInput, const std::vector< OMTFProcessor::resultsMap > &myResults, const std::vector< l1t::RegionalMuonCand > &candMuons)
OMTFinputMaker m_InputMaker
bool getData(T &iHolder) const
T getParameter(std::string const &) const
unsigned int nProcessors() const
edm::ParameterSet m_Config
void writeCandMuon(xercesc::DOMElement *aTopElement, const l1t::RegionalMuonCand &aCand)
bool configure(const OMTFConfiguration *omtfParams, const L1TMuonOverlapParams *omtfPatterns)
Fill GP map with patterns from CondFormats object.
const std::vector< OMTFProcessor::resultsMap > & processInput(unsigned int iProcessor, const OMTFinput &aInput)
xercesc::DOMElement * aTopElement
OMTFReconstruction(const edm::ParameterSet &, edm::ConsumesCollector &&)
edm::Handle< L1MuDTChambPhContainer > dtPhDigis
void initialize(const OMTFConfiguration *cfg)
void beginRun(edm::Run const &, edm::EventSetup const &)
edm::Handle< L1MuDTChambThContainer > dtThDigis
void writeAlgoMuon(xercesc::DOMElement *aTopElement, unsigned int iRefHit, const AlgoMuon &aMuon)
void push_back(int bx, T object)