19 m_OMTFConfig(0), m_OMTF(0), aTopElement(0), m_OMTFConfigMaker(0), m_Writer(0){}
22 m_Config(theConfig), m_OMTFConfig(0), m_OMTF(0), aTopElement(0), m_OMTFConfigMaker(0), m_Writer(0) {
26 edm::LogError(
"L1TMuonOverlapTrackProducer")<<
"omtf configuration not found in cfg.py";
80 omtfParamsRcd.
get(omtfParamsHandle);
84 edm::LogError(
"L1TMuonOverlapTrackProducer") <<
"Could not retrieve parameters from Event Setup" << std::endl;
138 iProcessor, mtfType);
142 std::vector<AlgoMuon> algoCandidates;
154 const std::vector<OMTFProcessor::resultsMap> &
results){
165 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)
OMTFConfiguration * m_OMTFConfig
OMTF objects.
void sortProcessorAndFillCandidates(unsigned int iProcessor, l1t::tftype mtfType, const std::vector< AlgoMuon > &algoCands, l1t::RegionalMuonCandBxCollection &sortedCands, int bx, int charge=0)
void initialiseXMLDocument(const std::string &docName)
xercesc::DOMElement * aTopElement
bool exists(std::string const ¶meterName) const
checks if a parameter exists
xercesc::DOMElement * writeEventData(xercesc::DOMElement *aTopElement, unsigned int iProcessor, const OMTFinput &aInput)
bool configure(XMLConfigReader *aReader)
Fill GP map with patterns from XML file.
void writeResultToXML(unsigned int iProcessor, const OMTFinput &myInput, const std::vector< OMTFProcessor::resultsMap > &myResults)
static std::string const input
void loadAndFilterDigis(const edm::Event &)
void beginRun(edm::Run const &run, edm::EventSetup const &iSetup)
void writeResultsData(xercesc::DOMElement *aTopElement, unsigned int iRegion, const Key &aKey, const OMTFResult &aResult)
void configure(XMLConfigReader *aReader)
OMTFGhostBuster m_GhostBuster
unsigned int nTestRefHits
tuple omtfParams
OMTF ESProducer.
void get(HolderT &iHolder) const
std::auto_ptr< l1t::RegionalMuonCandBxCollection > reconstruct(const edm::Event &, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
bool dumpDetailedResultToXML
edm::Handle< RPCDigiCollection > rpcDigis
XMLConfigWriter * m_Writer
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)
xercesc::DOMElement * writeEventHeader(unsigned int eventId, unsigned int mixedEventId=0)
edm::ParameterSet m_Config
void select(std::vector< AlgoMuon > &refHitCands, int charge=0)
static const OMTFConfiguration * instance()
void writeCandidateData(xercesc::DOMElement *aTopElement, unsigned int iRefHit, const AlgoMuon &aCand)
edm::Handle< CSCCorrelatedLCTDigiCollection > cscDigis