20 m_OMTFConfig(0), m_OMTF(0), aTopElement(0), m_OMTFConfigMaker(0), m_Writer(0){}
24 m_Config(theConfig), m_OMTFConfig(0), m_OMTF(0), aTopElement(0), m_OMTFConfigMaker(0), m_Writer(0) {
64 omtfRcd.
get(omtfParamsHandle);
69 edm::LogError(
"L1TMuonOverlapTrackProducer") <<
"Could not retrieve parameters from Event Setup" << std::endl;
132 iProcessor, mtfType);
137 std::vector<AlgoMuon> algoCandidates;
145 std::vector<l1t::RegionalMuonCand> candMuons =
m_Sorter.
candidates(iProcessor, mtfType, algoCandidates);
148 for (
auto & candMuon : candMuons) {
149 candMuon.setHwQual( candMuon.hwQual() | flag);
159 const std::vector<OMTFProcessor::resultsMap> &
results,
160 const std::vector<l1t::RegionalMuonCand> & candMuons ){
171 if(algoMuon.
getPt()) {
174 for(
auto & itKey: results[iRefHit])
T getParameter(std::string const &) const
EventNumber_t event() const
void getProcessorCandidates(unsigned int iProcessor, l1t::tftype mtfType, int bx, l1t::RegionalMuonCandBxCollection &myCandidates)
bool configure(const OMTFConfiguration *omtfParams, const L1TMuonOverlapParams *omtfPatterns)
Fill GP map with patterns from CondFormats object.
OMTFConfiguration * m_OMTFConfig
OMTF objects.
void initialiseXMLDocument(const std::string &docName)
xercesc::DOMElement * aTopElement
unsigned int nPhiBins() const
xercesc::DOMElement * writeEventData(xercesc::DOMElement *aTopElement, const OmtfName &board, const OMTFinput &aInput)
unsigned int nProcessors() const
static std::string const input
void loadAndFilterDigis(const edm::Event &)
void setNphiBins(unsigned int phiBins)
void beginRun(edm::Run const &run, edm::EventSetup const &iSetup)
void writeResultsData(xercesc::DOMElement *aTopElement, unsigned int iRegion, const Key &aKey, const OMTFResult &aResult)
OMTFGhostBuster m_GhostBuster
void writeResultToXML(unsigned int iProcessor, l1t::tftype mtfType, const OMTFinput &myInput, const std::vector< OMTFProcessor::resultsMap > &myResults, const std::vector< l1t::RegionalMuonCand > &candMuons)
tuple omtfParams
OMTF ESProducer.
void get(HolderT &iHolder) const
std::auto_ptr< l1t::RegionalMuonCandBxCollection > reconstruct(const edm::Event &, const edm::EventSetup &)
void writeCandMuon(xercesc::DOMElement *aTopElement, const l1t::RegionalMuonCand &aCand)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
bool dumpDetailedResultToXML
edm::Handle< RPCDigiCollection > rpcDigis
XMLConfigWriter * m_Writer
void configure(const L1TMuonOverlapParams *omtfParams)
T const * product() const
edm::Handle< L1MuDTChambThContainer > dtThDigis
void sortRefHitResults(const std::vector< OMTFProcessor::resultsMap > &procResults, std::vector< AlgoMuon > &refHitCleanCands, int charge=0)
OMTFinputMaker m_InputMaker
edm::Handle< L1MuDTChambPhContainer > dtPhDigis
const std::vector< OMTFProcessor::resultsMap > & processInput(unsigned int iProcessor, const OMTFinput &aInput)
void finaliseXMLDocument(const std::string &fName)
void writeAlgoMuon(xercesc::DOMElement *aTopElement, unsigned int iRefHit, const AlgoMuon &aMuon)
xercesc::DOMElement * writeEventHeader(unsigned int eventId, unsigned int mixedEventId=0)
std::vector< l1t::RegionalMuonCand > candidates(unsigned int iProcessor, l1t::tftype mtfType, const std::vector< AlgoMuon > &algoCands)
void setNphiBins(unsigned int phiBins)
edm::ParameterSet m_Config
void select(std::vector< AlgoMuon > &refHitCands, int charge=0)
unsigned int nTestRefHits() const
edm::Handle< CSCCorrelatedLCTDigiCollection > cscDigis
void push_back(int bx, T object)