CMS 3D CMS Logo

OMTFReconstruction.h
Go to the documentation of this file.
1 #ifndef OMTFReconstruction_H
2 #define OMTFReconstruction_H
3 
4 #include "xercesc/util/XercesDefs.hpp"
5 
8 
11 
16 
21 
25 
26 class OMTFProcessor;
27 class OMTFConfiguration;
28 class OMTFConfigMaker;
29 class XMLConfigWriter;
30 
31 namespace XERCES_CPP_NAMESPACE {
32  class DOMElement;
33  class DOMDocument;
34  class DOMImplementation;
35 } // namespace XERCES_CPP_NAMESPACE
36 
38 public:
40 
42 
43  void beginJob();
44 
45  void endJob();
46 
47  void beginRun(edm::Run const &, edm::EventSetup const &);
48 
49  std::unique_ptr<l1t::RegionalMuonCandBxCollection> reconstruct(const edm::Event &, const edm::EventSetup &);
50 
51 private:
53 
58 
60 
61  void loadAndFilterDigis(const edm::Event &);
62 
63  void getProcessorCandidates(unsigned int iProcessor,
64  l1t::tftype mtfType,
65  int bx,
66  l1t::RegionalMuonCandBxCollection &myCandidates);
67 
68  void writeResultToXML(unsigned int iProcessor,
69  l1t::tftype mtfType,
70  const OMTFinput &myInput,
71  const std::vector<OMTFProcessor::resultsMap> &myResults,
72  const std::vector<l1t::RegionalMuonCand> &candMuons);
73 
75  int bxMin, bxMax;
76 
81  std::unique_ptr<IGhostBuster> m_GhostBuster;
84  xercesc::DOMElement *aTopElement;
87 };
88 
89 #endif
OMTFReconstruction::reconstruct
std::unique_ptr< l1t::RegionalMuonCandBxCollection > reconstruct(const edm::Event &, const edm::EventSetup &)
Definition: OMTFReconstruction.cc:95
OMTFReconstruction::m_OMTFConfig
OMTFConfiguration * m_OMTFConfig
OMTF objects.
Definition: OMTFReconstruction.h:78
Handle.h
CSCCorrelatedLCTDigiCollection.h
OMTFReconstruction::m_OMTF
OMTFProcessor * m_OMTF
Definition: OMTFReconstruction.h:82
l1t::tftype
tftype
Definition: RegionalMuonCandFwd.h:8
OMTFReconstruction::loadAndFilterDigis
void loadAndFilterDigis(const edm::Event &)
Definition: OMTFReconstruction.cc:123
OMTFConfigMaker
Definition: OMTFConfigMaker.h:17
edm::Run
Definition: Run.h:45
OMTFReconstruction::m_GhostBuster
std::unique_ptr< IGhostBuster > m_GhostBuster
Definition: OMTFReconstruction.h:81
OMTFReconstruction::m_Sorter
OMTFSorter m_Sorter
Definition: OMTFReconstruction.h:80
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
OMTFReconstruction::rpcDigis
edm::Handle< RPCDigiCollection > rpcDigis
Definition: OMTFReconstruction.h:57
OMTFReconstruction::~OMTFReconstruction
~OMTFReconstruction()
Definition: OMTFReconstruction.cc:39
OMTFConfiguration
Definition: OMTFConfiguration.h:44
OMTFReconstruction::m_OMTFConfigMaker
OMTFConfigMaker * m_OMTFConfigMaker
Definition: OMTFReconstruction.h:85
L1MuDTChambThContainer.h
edm::Handle< L1MuDTChambPhContainer >
ESGetToken.h
OMTFSorter.h
OMTFReconstruction::getProcessorCandidates
void getProcessorCandidates(unsigned int iProcessor, l1t::tftype mtfType, int bx, l1t::RegionalMuonCandBxCollection &myCandidates)
Definition: OMTFReconstruction.cc:137
OMTFReconstruction::bxMin
int bxMin
Definition: OMTFReconstruction.h:75
BXVector< RegionalMuonCand >
OMTFReconstruction::l1TMuonOverlapParamsToken_
edm::ESGetToken< L1TMuonOverlapParams, L1TMuonOverlapParamsRcd > l1TMuonOverlapParamsToken_
Definition: OMTFReconstruction.h:59
OMTFProcessor
Definition: OMTFProcessor.h:19
OMTFReconstruction::m_Writer
XMLConfigWriter * m_Writer
Definition: OMTFReconstruction.h:86
OMTFReconstruction::cscDigis
edm::Handle< CSCCorrelatedLCTDigiCollection > cscDigis
Definition: OMTFReconstruction.h:56
OMTFReconstruction::dumpResultToXML
bool dumpResultToXML
Definition: OMTFReconstruction.h:74
XERCES_CPP_NAMESPACE
Definition: XmlConfigParser.h:12
OMTFSorter
Definition: OMTFSorter.h:17
OMTFReconstruction::beginJob
void beginJob()
Definition: OMTFReconstruction.cc:49
L1TMuonOverlapParams.h
edm::ParameterSet
Definition: ParameterSet.h:47
OMTFinputMaker.h
FrameworkfwdMostUsed.h
OMTFReconstruction::endJob
void endJob()
Definition: OMTFReconstruction.cc:55
OMTFinputMaker
Definition: OMTFinputMaker.h:19
OMTFReconstruction::dumpDetailedResultToXML
bool dumpDetailedResultToXML
Definition: OMTFReconstruction.h:74
edm::EventSetup
Definition: EventSetup.h:58
L1MuDTChambPhContainer.h
edm::ESGetToken< L1TMuonOverlapParams, L1TMuonOverlapParamsRcd >
OMTFReconstruction::writeResultToXML
void writeResultToXML(unsigned int iProcessor, l1t::tftype mtfType, const OMTFinput &myInput, const std::vector< OMTFProcessor::resultsMap > &myResults, const std::vector< l1t::RegionalMuonCand > &candMuons)
Definition: OMTFReconstruction.cc:170
OMTFReconstruction::m_InputMaker
OMTFinputMaker m_InputMaker
Definition: OMTFReconstruction.h:79
OMTFReconstruction::m_Config
edm::ParameterSet m_Config
Definition: OMTFReconstruction.h:52
OMTFReconstruction
Definition: OMTFReconstruction.h:37
RegionalMuonCand.h
RPCDigiCollection.h
OMTFReconstruction::aTopElement
xercesc::DOMElement * aTopElement
Definition: OMTFReconstruction.h:84
OMTFReconstruction::OMTFReconstruction
OMTFReconstruction(const edm::ParameterSet &, edm::ConsumesCollector &&)
Definition: OMTFReconstruction.cc:21
OMTFReconstruction::dtPhDigis
edm::Handle< L1MuDTChambPhContainer > dtPhDigis
Definition: OMTFReconstruction.h:54
L1TMuonOverlapParamsRcd.h
OMTFReconstruction::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: OMTFReconstruction.cc:63
RegionalMuonCandFwd.h
OMTFReconstruction::dtThDigis
edm::Handle< L1MuDTChambThContainer > dtThDigis
Definition: OMTFReconstruction.h:55
ParameterSet.h
edm::Event
Definition: Event.h:73
OMTFinput
Definition: OMTFinput.h:11
GhostBuster.h
XMLConfigWriter
Definition: XMLConfigWriter.h:28
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
OMTFReconstruction::bxMax
int bxMax
Definition: OMTFReconstruction.h:75