CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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&) : edm::EDAnalyzer() {}
28  ~L1TMuonEndCapParamsViewer(void) override {}
29 };
30 
33  evSetup.get<L1TMuonEndCapParamsRcd>().get(handle1);
34  // evSetup.get<L1TMuonEndCapParamsRcd>().get( handle1 ) ;
35  std::shared_ptr<L1TMuonEndCapParams> ptr1(new L1TMuonEndCapParams(*(handle1.product())));
36 
37  cout << "L1TMuonEndCapParams: " << endl;
38  cout << " PtAssignVersion_ = " << ptr1->PtAssignVersion_ << endl;
39  cout << " firmwareVersion_ = " << ptr1->firmwareVersion_ << endl;
40  cout << " PhiMatchWindowSt1_ = " << ptr1->PhiMatchWindowSt1_ << endl;
41  cout << " PhiMatchWindowSt2_ = " << ptr1->PhiMatchWindowSt2_ << endl;
42  cout << " PhiMatchWindowSt3_ = " << ptr1->PhiMatchWindowSt3_ << endl;
43  cout << " PhiMatchWindowSt4_ = " << ptr1->PhiMatchWindowSt4_ << endl;
44 
52 }
53 
57 
L1TMuonEndCapParamsViewer(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
int iEvent
Definition: GenABIO.cc:224
void analyze(const edm::Event &, const edm::EventSetup &) override
T const * product() const
Definition: ESHandle.h:86
T get() const
Definition: EventSetup.h:82
tuple cout
Definition: gather_cfg.py:144