CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
edm::ESGetToken< L1TMuonOverlapParams, L1TMuonOverlapParamsRcd > l1TMuonOverlapParamsToken_
void getProcessorCandidates(unsigned int iProcessor, l1t::tftype mtfType, int bx, l1t::RegionalMuonCandBxCollection &myCandidates)
OMTFConfiguration * m_OMTFConfig
OMTF objects.
xercesc::DOMElement * aTopElement
std::unique_ptr< IGhostBuster > m_GhostBuster
void loadAndFilterDigis(const edm::Event &)
std::unique_ptr< l1t::RegionalMuonCandBxCollection > reconstruct(const edm::Event &, const edm::EventSetup &)
OMTFProcessor * m_OMTF
void beginRun(edm::Run const &, edm::EventSetup const &)
void writeResultToXML(unsigned int iProcessor, l1t::tftype mtfType, const OMTFinput &myInput, const std::vector< OMTFProcessor::resultsMap > &myResults, const std::vector< l1t::RegionalMuonCand > &candMuons)
edm::Handle< RPCDigiCollection > rpcDigis
XMLConfigWriter * m_Writer
OMTFReconstruction(const edm::ParameterSet &, edm::ConsumesCollector &&)
edm::Handle< L1MuDTChambThContainer > dtThDigis
OMTFinputMaker m_InputMaker
edm::Handle< L1MuDTChambPhContainer > dtPhDigis
OMTFConfigMaker * m_OMTFConfigMaker
edm::ParameterSet m_Config
edm::Handle< CSCCorrelatedLCTDigiCollection > cscDigis
Definition: Run.h:45