CMS 3D CMS Logo

OMTFPatternMaker.h
Go to the documentation of this file.
1 #ifndef OMTFPatternMaker_H
2 #define OMTFPatternMaker_H
3 
4 #include "xercesc/util/XercesDefs.hpp"
5 
11 
17 
19 
20 class OMTFProcessor;
21 class OMTFConfiguration;
22 class OMTFConfigMaker;
23 class OMTFinputMaker;
24 
25 class SimTrack;
26 
27 class XMLConfigWriter;
28 
29 namespace XERCES_CPP_NAMESPACE {
30  class DOMElement;
31  class DOMDocument;
32  class DOMImplementation;
33 } // namespace XERCES_CPP_NAMESPACE
34 
36 public:
38 
39  ~OMTFPatternMaker() override;
40 
41  void beginRun(edm::Run const &run, edm::EventSetup const &iSetup) override;
42 
43  void beginJob() override;
44 
45  void endJob() override;
46 
47  void analyze(const edm::Event &, const edm::EventSetup &) override;
48 
49 private:
50  const SimTrack *findSimMuon(const edm::Event &ev, const edm::EventSetup &es, const SimTrack *previous = nullptr);
51 
54 
60 
61  void writeMergedGPs();
62 
63  bool makeConnectionsMaps, makeGoldenPatterns, mergeXMLFiles;
64 
66  unsigned int nPdfAddrBits;
67 
73  xercesc::DOMElement *aTopElement;
76 };
77 
78 #endif
edm::EDGetTokenT< edm::SimTrackContainer > inputTokenSimHit
OMTFConfiguration * myOMTFConfig
OMTF objects.
bool ev
edm::EDGetTokenT< L1MuDTChambPhContainer > inputTokenDTPh
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
void beginJob()
Definition: Breakpoints.cc:14
OMTFConfigMaker * myOMTFConfigMaker
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > inputTokenCSC
xercesc::DOMElement * aTopElement
edm::InputTag g4SimTrackSrc
XMLConfigWriter * myWriter
OMTFProcessor * myOMTF
edm::EDGetTokenT< RPCDigiCollection > inputTokenRPC
unsigned int nPdfAddrBits
Original pdf width. read from configuration.
Definition: Run.h:45
edm::EDGetTokenT< L1MuDTChambThContainer > inputTokenDTTh
OMTFinputMaker * myInputMaker
edm::ParameterSet theConfig