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&) : edm::EDAnalyzer(){}
28  ~L1TMuonEndCapParamsViewer(void) override{}
29 };
30 
32 
34  evSetup.get<L1TMuonEndCapParamsRcd>().get( handle1 ) ;
35 // evSetup.get<L1TMuonEndCapParamsRcd>().get( handle1 ) ;
36  boost::shared_ptr<L1TMuonEndCapParams> ptr1(new L1TMuonEndCapParams(*(handle1.product ())));
37 
38  cout<<"L1TMuonEndCapParams: "<<endl;
39  cout<<" PtAssignVersion_ = "<<ptr1->PtAssignVersion_<<endl;
40  cout<<" firmwareVersion_ = "<<ptr1->firmwareVersion_<<endl;
41  cout<<" PhiMatchWindowSt1_ = "<<ptr1->PhiMatchWindowSt1_<<endl;
42  cout<<" PhiMatchWindowSt2_ = "<<ptr1->PhiMatchWindowSt2_<<endl;
43  cout<<" PhiMatchWindowSt3_ = "<<ptr1->PhiMatchWindowSt3_<<endl;
44  cout<<" PhiMatchWindowSt4_ = "<<ptr1->PhiMatchWindowSt4_<<endl;
45 
53 }
54 
58 
60 
L1TMuonEndCapParamsViewer(const edm::ParameterSet &)
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
int iEvent
Definition: GenABIO.cc:230
void analyze(const edm::Event &, const edm::EventSetup &) override
HLT enums.
T get() const
Definition: EventSetup.h:63
T const * product() const
Definition: ESHandle.h:86