CMS 3D CMS Logo

L1TMuonEndcapViewer.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  virtual void analyze(const edm::Event&, const edm::EventSetup&);
26 
27  explicit L1TMuonEndcapViewer(const edm::ParameterSet&) : edm::EDAnalyzer(){}
28  virtual ~L1TMuonEndcapViewer(void){}
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 
def analyze(function, filename, filter=None)
Definition: Profiling.py:11
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
int iEvent
Definition: GenABIO.cc:230
virtual void analyze(const edm::Event &, const edm::EventSetup &)
const T & get() const
Definition: EventSetup.h:56
virtual ~L1TMuonEndcapViewer(void)
HLT enums.
L1TMuonEndcapViewer(const edm::ParameterSet &)
T const * product() const
Definition: ESHandle.h:86