CMS 3D CMS Logo

L1GtPrescaleFactorsAndMasksTester.h
Go to the documentation of this file.
1 #ifndef L1GtConfigProducers_L1GtPrescaleFactorsAndMasksTester_h
2 #define L1GtConfigProducers_L1GtPrescaleFactorsAndMasksTester_h
3 
18 // system include files
19 
20 // user include files
21 // base class
23 
26 
27 // forward declarations
29 class L1GtTriggerMask;
30 
37 
38 // class declaration
40  : public edm::one::EDAnalyzer<edm::one::WatchRuns, edm::one::WatchLuminosityBlocks> {
41 public:
42  // constructor
44 
45  struct Tokens {
52  };
53 
54 private:
56  void beginRun(const edm::Run&, const edm::EventSetup&) override;
57 
59  void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&) override;
60 
62  void analyze(const edm::Event&, const edm::EventSetup&) override;
63 
65  void endLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&) override;
66 
68  void endRun(const edm::Run&, const edm::EventSetup&) override;
69 
70 private:
72  void retrieveL1EventSetup(const edm::EventSetup&, const Tokens&);
73 
75  void printL1EventSetup();
76 
77 private:
79 
84 
89 
94 
97 
98 private:
102 
106 
109 
113 };
114 
115 #endif /*L1GtConfigProducers_L1GtPrescaleFactorsAndMasksTester_h*/
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoAlgoTrigRcd > m_l1GtTmVetoAlgo
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks & veto masks
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
end luminosity block
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoTechTrigRcd > m_l1GtTmVetoTech
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > m_l1GtTmAlgo
bool m_retrieveInBeginRun
retrieve the records in beginRun, beginLuminosityBlock, analyze, respectively
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd > m_l1GtPfAlgo
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd > m_l1GtTmTech
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
void beginRun(const edm::Run &, const edm::EventSetup &) override
begin run
L1GtPrescaleFactorsAndMasksTester(const edm::ParameterSet &)
bool m_printInBeginRun
print the records in beginRun, beginLuminosityBlock, analyze, respectively
void endRun(const edm::Run &, const edm::EventSetup &) override
end run
void printL1EventSetup()
print the requred records
void analyze(const edm::Event &, const edm::EventSetup &) override
analyze
void retrieveL1EventSetup(const edm::EventSetup &, const Tokens &)
retrieve all the relevant L1 trigger event setup records
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
begin luminosity block
Definition: Run.h:45
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd > m_l1GtPfTech