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 
8 
15 
21 
23 
24 class OMTFProcessor;
25 class OMTFConfiguration;
26 class OMTFConfigMaker;
27 class OMTFinputMaker;
28 
29 class SimTrack;
30 
31 class XMLConfigWriter;
32 
33 namespace XERCES_CPP_NAMESPACE {
34  class DOMElement;
35  class DOMDocument;
36  class DOMImplementation;
37 } // namespace XERCES_CPP_NAMESPACE
38 
39 class OMTFPatternMaker : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
40 public:
42 
43  ~OMTFPatternMaker() override;
44 
45  void beginRun(edm::Run const &run, edm::EventSetup const &iSetup) override;
46 
47  void endRun(edm::Run const &, edm::EventSetup const &) override;
48 
49  void beginJob() override;
50 
51  void endJob() override;
52 
53  void analyze(const edm::Event &, const edm::EventSetup &) override;
54 
55 private:
56  const SimTrack *findSimMuon(const edm::Event &ev, const SimTrack *previous = nullptr);
57 
60 
66 
68 
69  void writeMergedGPs();
70 
72 
74  unsigned int nPdfAddrBits;
75 
81  xercesc::DOMElement *aTopElement;
84 };
85 
86 #endif
edm::EDGetTokenT< edm::SimTrackContainer > inputTokenSimHit
OMTFConfiguration * myOMTFConfig
OMTF objects.
void endRun(edm::Run const &, edm::EventSetup const &) override
OMTFPatternMaker(const edm::ParameterSet &cfg)
edm::EDGetTokenT< L1MuDTChambPhContainer > inputTokenDTPh
OMTFConfigMaker * myOMTFConfigMaker
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > inputTokenCSC
xercesc::DOMElement * aTopElement
edm::InputTag g4SimTrackSrc
void beginRun(edm::Run const &run, edm::EventSetup const &iSetup) override
XMLConfigWriter * myWriter
OMTFProcessor * myOMTF
void analyze(const edm::Event &, const edm::EventSetup &) override
void endJob() override
~OMTFPatternMaker() override
void beginJob() override
edm::ESGetToken< L1TMuonOverlapParams, L1TMuonOverlapParamsRcd > esTokenParams_
edm::EDGetTokenT< RPCDigiCollection > inputTokenRPC
unsigned int nPdfAddrBits
Original pdf width. read from configuration.
const SimTrack * findSimMuon(const edm::Event &ev, const SimTrack *previous=nullptr)
Definition: Run.h:45
edm::EDGetTokenT< L1MuDTChambThContainer > inputTokenDTTh
OMTFinputMaker * myInputMaker
edm::ParameterSet theConfig