#include <OMTFReconstruction.h>
Public Member Functions | |
void | beginJob () |
void | beginRun (edm::Run const &run, edm::EventSetup const &iSetup) |
void | endJob () |
OMTFReconstruction () | |
OMTFReconstruction (const edm::ParameterSet &) | |
std::auto_ptr < l1t::RegionalMuonCandBxCollection > | reconstruct (const edm::Event &, const edm::EventSetup &) |
~OMTFReconstruction () | |
Private Member Functions | |
void | getProcessorCandidates (unsigned int iProcessor, l1t::tftype mtfType, int bx, l1t::RegionalMuonCandBxCollection &myCandidates) |
void | loadAndFilterDigis (const edm::Event &) |
void | writeResultToXML (unsigned int iProcessor, const OMTFinput &myInput, const std::vector< OMTFProcessor::resultsMap > &myResults) |
Private Attributes | |
xercesc::DOMElement * | aTopElement |
edm::Handle < CSCCorrelatedLCTDigiCollection > | cscDigis |
edm::Handle < L1MuDTChambPhContainer > | dtPhDigis |
edm::Handle < L1MuDTChambThContainer > | dtThDigis |
bool | dumpDetailedResultToXML |
bool | dumpResultToXML |
edm::ParameterSet | m_Config |
OMTFGhostBuster | m_GhostBuster |
OMTFinputMaker | m_InputMaker |
OMTFProcessor * | m_OMTF |
OMTFConfiguration * | m_OMTFConfig |
OMTF objects. More... | |
OMTFConfigMaker * | m_OMTFConfigMaker |
OMTFSorter | m_Sorter |
XMLConfigWriter * | m_Writer |
edm::Handle< RPCDigiCollection > | rpcDigis |
Definition at line 36 of file OMTFReconstruction.h.
OMTFReconstruction::OMTFReconstruction | ( | ) |
Definition at line 18 of file OMTFReconstruction.cc.
OMTFReconstruction::OMTFReconstruction | ( | const edm::ParameterSet & | theConfig | ) |
Definition at line 21 of file OMTFReconstruction.cc.
References dumpDetailedResultToXML, dumpResultToXML, edm::ParameterSet::exists(), MainPageGenerator::fName, edm::ParameterSet::getParameter(), XMLConfigWriter::initialiseXMLDocument(), m_Config, m_Writer, and AlCaHLTBitMon_QueryRunRegistry::string.
OMTFReconstruction::~OMTFReconstruction | ( | ) |
Definition at line 42 of file OMTFReconstruction.cc.
References m_OMTF, m_OMTFConfig, and m_Writer.
void OMTFReconstruction::beginJob | ( | void | ) |
Definition at line 52 of file OMTFReconstruction.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), m_Config, m_OMTF, and m_OMTFConfig.
Referenced by L1TMuonOverlapTrackProducer::beginJob().
void OMTFReconstruction::beginRun | ( | edm::Run const & | run, |
edm::EventSetup const & | iSetup | ||
) |
If configuration is read from XML do not look at the DB.
Definition at line 72 of file OMTFReconstruction.cc.
References OMTFProcessor::configure(), OMTFConfiguration::configure(), edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), edm::ParameterSet::getParameter(), m_Config, m_OMTF, m_OMTFConfig, and fakeOmtfParams_cff::omtfParams.
Referenced by L1TMuonOverlapTrackProducer::beginRun().
void OMTFReconstruction::endJob | ( | void | ) |
Definition at line 62 of file OMTFReconstruction.cc.
References dumpResultToXML, XMLConfigWriter::finaliseXMLDocument(), MainPageGenerator::fName, edm::ParameterSet::getParameter(), m_Config, m_Writer, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1TMuonOverlapTrackProducer::endJob().
|
private |
Definition at line 131 of file OMTFReconstruction.cc.
References OMTFinputMaker::buildInputForProcessor(), cscDigis, dtPhDigis, dtThDigis, input, m_GhostBuster, m_InputMaker, m_OMTF, m_Sorter, OMTFProcessor::processInput(), edm::Handle< T >::product(), mps_update::results, rpcDigis, OMTFGhostBuster::select(), OMTFSorter::sortProcessorAndFillCandidates(), OMTFSorter::sortRefHitResults(), and writeResultToXML().
Referenced by reconstruct().
|
private |
Definition at line 117 of file OMTFReconstruction.cc.
References cscDigis, dtPhDigis, dtThDigis, edm::Event::getByLabel(), edm::ParameterSet::getParameter(), m_Config, and rpcDigis.
Referenced by reconstruct().
std::auto_ptr< l1t::RegionalMuonCandBxCollection > OMTFReconstruction::reconstruct | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup | ||
) |
The order is important: first put omtf_pos candidates, then omtf_neg.
Definition at line 93 of file OMTFReconstruction.cc.
References aTopElement, objects.IsoTrackAnalyzer::candidates, dumpResultToXML, edm::EventID::event(), getProcessorCandidates(), edm::EventBase::id(), OMTFinputMaker::initialize(), OMTFConfiguration::instance(), loadAndFilterDigis(), m_InputMaker, m_Writer, OMTFConfiguration::nProcessors, l1t::omtf_neg, l1t::omtf_pos, and XMLConfigWriter::writeEventHeader().
Referenced by L1TMuonOverlapTrackProducer::produce().
|
private |
Dump only regions, where a candidate was found
Definition at line 153 of file OMTFReconstruction.cc.
References aTopElement, dumpDetailedResultToXML, dumpResultToXML, AlgoMuon::getPt(), OMTFConfiguration::instance(), m_Sorter, m_Writer, OMTFConfiguration::nTestRefHits, OMTFSorter::sortRefHitResults(), XMLConfigWriter::writeCandidateData(), XMLConfigWriter::writeEventData(), and XMLConfigWriter::writeResultsData().
Referenced by getProcessorCandidates().
|
private |
Definition at line 79 of file OMTFReconstruction.h.
Referenced by reconstruct(), and writeResultToXML().
|
private |
Definition at line 58 of file OMTFReconstruction.h.
Referenced by getProcessorCandidates(), and loadAndFilterDigis().
|
private |
Definition at line 56 of file OMTFReconstruction.h.
Referenced by getProcessorCandidates(), and loadAndFilterDigis().
|
private |
Definition at line 57 of file OMTFReconstruction.h.
Referenced by getProcessorCandidates(), and loadAndFilterDigis().
|
private |
Definition at line 70 of file OMTFReconstruction.h.
Referenced by OMTFReconstruction(), and writeResultToXML().
|
private |
Definition at line 70 of file OMTFReconstruction.h.
Referenced by endJob(), OMTFReconstruction(), reconstruct(), and writeResultToXML().
|
private |
Definition at line 54 of file OMTFReconstruction.h.
Referenced by beginJob(), beginRun(), endJob(), loadAndFilterDigis(), and OMTFReconstruction().
|
private |
Definition at line 76 of file OMTFReconstruction.h.
Referenced by getProcessorCandidates().
|
private |
Definition at line 74 of file OMTFReconstruction.h.
Referenced by getProcessorCandidates(), and reconstruct().
|
private |
Definition at line 77 of file OMTFReconstruction.h.
Referenced by beginJob(), beginRun(), getProcessorCandidates(), and ~OMTFReconstruction().
|
private |
OMTF objects.
Definition at line 73 of file OMTFReconstruction.h.
Referenced by beginJob(), beginRun(), and ~OMTFReconstruction().
|
private |
Definition at line 80 of file OMTFReconstruction.h.
|
private |
Definition at line 75 of file OMTFReconstruction.h.
Referenced by getProcessorCandidates(), and writeResultToXML().
|
private |
Definition at line 81 of file OMTFReconstruction.h.
Referenced by endJob(), OMTFReconstruction(), reconstruct(), writeResultToXML(), and ~OMTFReconstruction().
|
private |
Definition at line 59 of file OMTFReconstruction.h.
Referenced by getProcessorCandidates(), and loadAndFilterDigis().