CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
B2GDQM.h
Go to the documentation of this file.
1 #ifndef B2GDQM_H
2 #define B2GDQM_H
3 
14 
15 // Trigger stuff
18 
27 
32 
34 
35 // ParticleFlow
37 
38 // EGamma
43 
44 // Muon
49 
50 // Tau
54 
55 // Jets
59 
60 
61 // Photon
64 
65 // MET
73 
74 //
77 
78 #include <iostream>
79 #include <fstream>
80 #include <string>
81 #include <vector>
82 #include <map>
83 
84 class DQMStore;
85 
86 class B2GDQM: public edm::EDAnalyzer{
87 
88 public:
89 
90  B2GDQM(const edm::ParameterSet& ps);
91  virtual ~B2GDQM();
92 
93 protected:
94 
95  virtual void beginJob();
96  virtual void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
97  virtual void analyze(edm::Event const& e, edm::EventSetup const& eSetup);
98  virtual void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
99  virtual void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
100  virtual void endRun(edm::Run const& run, edm::EventSetup const& eSetup);
101  virtual void endJob();
102 
103  //Diagnostic
104  //virtual void analyzeMultiJetsTrigger(edm::Event const& e);
105 
106 
107 
108  virtual void analyzeEventInterpretation(edm::Event const& e, edm::EventSetup const& eSetup);
109 
110 
111 private:
112 
113  void bookHistos(DQMStore * bei );
114 
117 
121 
122  // Variables from config file
125 
127 
128 
129 
130 
131  std::vector<edm::InputTag> jetLabels_;
132  std::vector< edm::EDGetTokenT< edm::View<reco::Jet> > > jetTokens_;
135 
136 
138  // Parameters
140 
141  std::vector<double> jetPtMins_;
142 
145  // Histograms
147  std::vector<MonitorElement*> pfJet_pt;
148  std::vector<MonitorElement*> pfJet_y;
149  std::vector<MonitorElement*> pfJet_phi;
150  std::vector<MonitorElement*> pfJet_m;
151  std::vector<MonitorElement*> pfJet_chef;
152  std::vector<MonitorElement*> pfJet_nhef;
153  std::vector<MonitorElement*> pfJet_cemf;
154  std::vector<MonitorElement*> pfJet_nemf;
155  std::vector<MonitorElement*> boostedJet_subjetPt;
156  std::vector<MonitorElement*> boostedJet_subjetY;
157  std::vector<MonitorElement*> boostedJet_subjetPhi;
158  std::vector<MonitorElement*> boostedJet_subjetM;
159  std::vector<MonitorElement*> boostedJet_subjetN;
160  std::vector<MonitorElement*> boostedJet_massDrop;
161  std::vector<MonitorElement*> boostedJet_minMass;
164 
165 
166 
167 };
168 
169 
170 #endif
std::vector< MonitorElement * > pfJet_nhef
Definition: B2GDQM.h:152
std::vector< MonitorElement * > boostedJet_subjetY
Definition: B2GDQM.h:156
std::vector< MonitorElement * > pfJet_phi
Definition: B2GDQM.h:149
MonitorElement * pfMet_pt
Definition: B2GDQM.h:162
void bookHistos(DQMStore *bei)
Definition: B2GDQM.cc:163
DQMStore * bei_
Definition: B2GDQM.h:118
std::vector< MonitorElement * > pfJet_cemf
Definition: B2GDQM.h:153
std::vector< MonitorElement * > pfJet_nemf
Definition: B2GDQM.h:154
std::vector< double > jetPtMins_
Definition: B2GDQM.h:141
edm::InputTag theTriggerResultsCollection
Definition: B2GDQM.h:123
std::vector< MonitorElement * > boostedJet_subjetPhi
Definition: B2GDQM.h:157
virtual void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Definition: B2GDQM.cc:154
int ievt
Definition: B2GDQM.h:116
std::vector< MonitorElement * > pfJet_y
Definition: B2GDQM.h:148
virtual void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: B2GDQM.cc:325
Definition: B2GDQM.h:86
HLTConfigProvider hltConfigProvider_
Definition: B2GDQM.h:119
std::string PFJetCorService_
Definition: B2GDQM.h:143
int irun
Definition: B2GDQM.h:116
std::vector< MonitorElement * > boostedJet_subjetN
Definition: B2GDQM.h:159
std::vector< MonitorElement * > boostedJet_subjetPt
Definition: B2GDQM.h:155
int nLumiSecs_
Definition: B2GDQM.h:115
virtual void beginJob()
Definition: B2GDQM.cc:123
std::vector< edm::InputTag > jetLabels_
Definition: B2GDQM.h:131
std::vector< MonitorElement * > boostedJet_minMass
Definition: B2GDQM.h:161
B2GDQM(const edm::ParameterSet &ps)
Definition: B2GDQM.cc:83
std::vector< MonitorElement * > pfJet_m
Definition: B2GDQM.h:150
edm::EDGetTokenT< edm::TriggerResults > triggerToken_
Definition: B2GDQM.h:124
bool isValidHltConfig_
Definition: B2GDQM.h:120
std::vector< edm::EDGetTokenT< edm::View< reco::Jet > > > jetTokens_
Definition: B2GDQM.h:132
int nEvents_
Definition: B2GDQM.h:116
std::vector< MonitorElement * > pfJet_pt
Definition: B2GDQM.h:147
edm::Handle< edm::TriggerResults > triggerResults_
Definition: B2GDQM.h:126
std::vector< MonitorElement * > boostedJet_massDrop
Definition: B2GDQM.h:160
virtual void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: B2GDQM.cc:132
virtual void endJob()
Definition: B2GDQM.cc:332
std::vector< MonitorElement * > pfJet_chef
Definition: B2GDQM.h:151
edm::EDGetTokenT< std::vector< reco::PFMET > > PFMETToken_
Definition: B2GDQM.h:134
virtual void analyzeEventInterpretation(edm::Event const &e, edm::EventSetup const &eSetup)
Definition: B2GDQM.cc:211
virtual void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
Definition: B2GDQM.cc:313
virtual ~B2GDQM()
Definition: B2GDQM.cc:115
MonitorElement * pfMet_phi
Definition: B2GDQM.h:163
Definition: Run.h:41
edm::InputTag PFMETLabel_
Definition: B2GDQM.h:133
std::vector< MonitorElement * > boostedJet_subjetM
Definition: B2GDQM.h:158
virtual void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
Definition: B2GDQM.cc:205