CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiggsDQM.h
Go to the documentation of this file.
1 #ifndef HiggsDQM_H
2 #define HiggsDQM_H
3 
21 
22 // Trigger stuff
25 
31 
35 
37 
38 #include <iostream>
39 #include <fstream>
40 #include <string>
41 #include <vector>
42 #include <map>
43 
44 class DQMStore;
45 
46 class HiggsDQM: public edm::EDAnalyzer{
47 
48 public:
49 
50  HiggsDQM(const edm::ParameterSet& ps);
51  virtual ~HiggsDQM();
52 
53 protected:
54 
55  void beginJob();
56  void beginRun(edm::Run const& run,
57  edm::EventSetup const& eSetup);
58  void analyze(edm::Event const& e,
59  edm::EventSetup const& eSetup);
60  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg,
61  edm::EventSetup const& context) ;
62  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg,
63  edm::EventSetup const& c);
64  void endRun(edm::Run const& run,
65  edm::EventSetup const& eSetup);
66  void endJob();
67 
68 private:
69 
70  double Distance( const reco::Candidate & c1, const reco::Candidate & c2 );
71  double DistancePhi( const reco::Candidate & c1, const reco::Candidate & c2 );
72  double calcDeltaPhi(double phi1, double phi2);
73  void bookHistos(DQMStore * bei );
74 
75  unsigned long long m_cacheID_;
80  float pi;
81 
85 
86  // Variables from config file
98  double ptThrMu1_; // pt cut on the first muon for the Z^0
99  double ptThrMu2_; // pt cut on the second muon for the Z^0
100 
101  // Histograms
142 
143 
144 };
145 
146 
147 #endif
148 
149 /* Local Variables: */
150 /* show-trailing-whitespace: t */
151 /* truncate-lines: t */
152 /* End: */
MonitorElement * h_ePt
Definition: HiggsDQM.h:117
edm::EDGetTokenT< reco::CaloMETCollection > theCaloMETCollectionToken_
Definition: HiggsDQM.h:96
edm::EDGetTokenT< reco::GsfElectronCollection > theElectronCollectionToken_
Definition: HiggsDQM.h:94
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: HiggsDQM.cc:188
void endJob()
Definition: HiggsDQM.cc:582
MonitorElement * h_mPhi_TM
Definition: HiggsDQM.h:131
edm::EDGetTokenT< edm::TriggerResults > theTriggerResultsCollection_
Definition: HiggsDQM.h:91
bool isValidHltConfig_
Definition: HiggsDQM.h:84
MonitorElement * h_mPt_TM
Definition: HiggsDQM.h:129
MonitorElement * h_vertex_numTrks
Definition: HiggsDQM.h:105
int nLepton
Definition: HiggsDQM.h:114
int irun
Definition: HiggsDQM.h:77
MonitorElement * h_mEta_GMTM
Definition: HiggsDQM.h:121
MonitorElement * h_mPhi_GM
Definition: HiggsDQM.h:128
MonitorElement * h_mEta_TM
Definition: HiggsDQM.h:130
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
Definition: HiggsDQM.h:92
double ptThrMu1_
Definition: HiggsDQM.h:98
MonitorElement * h_pfMet
Definition: HiggsDQM.h:112
int nZMuMu
Definition: HiggsDQM.h:114
int nMuon
Definition: HiggsDQM.h:114
DQMStore * bei_
Definition: HiggsDQM.h:82
MonitorElement * h_mPt_STAM
Definition: HiggsDQM.h:132
int nElectron
Definition: HiggsDQM.h:114
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Definition: HiggsDQM.cc:202
MonitorElement * h_vertex_d0
Definition: HiggsDQM.h:104
void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: HiggsDQM.cc:570
MonitorElement * h_dimumass_GMGM
Definition: HiggsDQM.h:137
MonitorElement * h_ePhi
Definition: HiggsDQM.h:119
MonitorElement * h_jet_count
Definition: HiggsDQM.h:109
std::string theMuonTriggerPathToPass
Definition: HiggsDQM.h:88
int nHiggs
Definition: HiggsDQM.h:114
MonitorElement * h_mPt_GMPT
Definition: HiggsDQM.h:123
unsigned long long m_cacheID_
Definition: HiggsDQM.h:75
MonitorElement * h_pfMet_phi
Definition: HiggsDQM.h:113
double ptThrMu2_
Definition: HiggsDQM.h:99
reco::CandidateCollection * leptonscands_
Definition: HiggsDQM.h:78
void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
Definition: HiggsDQM.cc:262
edm::InputTag theCaloJetCollectionLabel_
Definition: HiggsDQM.h:90
float pi
Definition: HiggsDQM.h:80
MonitorElement * h_jet2_et
Definition: HiggsDQM.h:108
MonitorElement * h_mPhi_GMPT
Definition: HiggsDQM.h:125
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
Definition: HiggsDQM.cc:555
edm::EDGetTokenT< reco::CaloJetCollection > theCaloJetCollectionToken_
Definition: HiggsDQM.h:95
double Distance(const reco::Candidate &c1, const reco::Candidate &c2)
Definition: HiggsDQM.cc:101
int nZEE
Definition: HiggsDQM.h:114
MonitorElement * h_jet_et
Definition: HiggsDQM.h:107
int nfourlept
Definition: HiggsDQM.h:114
MonitorElement * h_eEta
Definition: HiggsDQM.h:118
double calcDeltaPhi(double phi1, double phi2)
Definition: HiggsDQM.cc:110
double DistancePhi(const reco::Candidate &c1, const reco::Candidate &c2)
Definition: HiggsDQM.cc:105
MonitorElement * h_eMultiplicity
Definition: HiggsDQM.h:115
MonitorElement * h_vertex_chi2
Definition: HiggsDQM.h:103
MonitorElement * h_mCombIso
Definition: HiggsDQM.h:136
MonitorElement * h_vertex_number
Definition: HiggsDQM.h:102
MonitorElement * h_eCombIso
Definition: HiggsDQM.h:135
edm::InputTag theTriggerResultsCollectionTag_
Definition: HiggsDQM.h:89
MonitorElement * h_dimumass_GMTM
Definition: HiggsDQM.h:138
int leptonflavor
Definition: HiggsDQM.h:79
MonitorElement * h_mEta_GMPT
Definition: HiggsDQM.h:124
HLTConfigProvider hltConfigProvider_
Definition: HiggsDQM.h:83
MonitorElement * h_vertex_sumTrks
Definition: HiggsDQM.h:106
MonitorElement * h_caloMet
Definition: HiggsDQM.h:110
MonitorElement * h_mPt_GMTM
Definition: HiggsDQM.h:120
HiggsDQM(const edm::ParameterSet &ps)
Definition: HiggsDQM.cc:122
MonitorElement * h_caloMet_phi
Definition: HiggsDQM.h:111
MonitorElement * h_mPhi_STAM
Definition: HiggsDQM.h:134
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollectionToken_
Definition: HiggsDQM.h:97
virtual ~HiggsDQM()
Definition: HiggsDQM.cc:165
MonitorElement * h_mEta_STAM
Definition: HiggsDQM.h:133
void bookHistos(DQMStore *bei)
Definition: HiggsDQM.cc:213
MonitorElement * h_mEta_GM
Definition: HiggsDQM.h:127
MonitorElement * h_dielemass
Definition: HiggsDQM.h:140
MonitorElement * h_mPt_GM
Definition: HiggsDQM.h:126
int nLooseIsolMu
Definition: HiggsDQM.h:114
int nLumiSecs_
Definition: HiggsDQM.h:76
MonitorElement * h_mPhi_GMTM
Definition: HiggsDQM.h:122
int nLooseIsolEle
Definition: HiggsDQM.h:114
MonitorElement * h_dimumass_TMTM
Definition: HiggsDQM.h:139
edm::EDGetTokenT< reco::MuonCollection > theMuonCollectionToken_
Definition: HiggsDQM.h:93
int nEvents_
Definition: HiggsDQM.h:77
Definition: Run.h:41
int ievt
Definition: HiggsDQM.h:77
MonitorElement * h_lepcounts
Definition: HiggsDQM.h:141
std::string theElecTriggerPathToPass
Definition: HiggsDQM.h:87
void beginJob()
Definition: HiggsDQM.cc:175
MonitorElement * h_mMultiplicity
Definition: HiggsDQM.h:116