CMS 3D CMS Logo

L1TMuonEndCapParamsViewer.cc
Go to the documentation of this file.
1 #include <iomanip>
2 #include <iostream>
3 
5 
8 
11 
14 //#include "CondFormats/DataRecord/interface/L1TMuonEndCapParamsRcd.h"
19 
20 #include <iostream>
21 using namespace std;
22 
24 public:
25  void analyze(const edm::Event&, const edm::EventSetup&) override;
26 
27  explicit L1TMuonEndCapParamsViewer(const edm::ParameterSet&) : token_{esConsumes()} {}
28 
29 private:
31 };
32 
34  L1TMuonEndCapParams const& ptr1 = evSetup.getData(token_);
35 
36  cout << "L1TMuonEndCapParams: " << endl;
37  cout << " PtAssignVersion_ = " << ptr1.PtAssignVersion_ << endl;
38  cout << " firmwareVersion_ = " << ptr1.firmwareVersion_ << endl;
39  cout << " PhiMatchWindowSt1_ = " << ptr1.PhiMatchWindowSt1_ << endl;
40  cout << " PhiMatchWindowSt2_ = " << ptr1.PhiMatchWindowSt2_ << endl;
41  cout << " PhiMatchWindowSt3_ = " << ptr1.PhiMatchWindowSt3_ << endl;
42  cout << " PhiMatchWindowSt4_ = " << ptr1.PhiMatchWindowSt4_ << endl;
43 
51 }
52 
56 
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
L1TMuonEndCapParamsViewer(const edm::ParameterSet &)
edm::ESGetToken< L1TMuonEndCapParams, L1TMuonEndCapParamsRcd > token_
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
int iEvent
Definition: GenABIO.cc:224
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
bool getData(T &iHolder) const
Definition: EventSetup.h:122
void analyze(const edm::Event &, const edm::EventSetup &) override