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 
14 
15 // Trigger stuff
18 
27 
32 
34 
35 #include <iostream>
36 #include <fstream>
37 #include <string>
38 #include <vector>
39 #include <map>
40 
41 class DQMStore;
42 
43 class HiggsDQM: public edm::EDAnalyzer{
44 
45 public:
46 
47  HiggsDQM(const edm::ParameterSet& ps);
48  virtual ~HiggsDQM();
49 
50 protected:
51 
52  void beginJob();
53  void beginRun(edm::Run const& run,
54  edm::EventSetup const& eSetup);
55  void analyze(edm::Event const& e,
56  edm::EventSetup const& eSetup);
57  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg,
58  edm::EventSetup const& context) ;
59  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg,
60  edm::EventSetup const& c);
61  void endRun(edm::Run const& run,
62  edm::EventSetup const& eSetup);
63  void endJob();
64 
65 private:
66 
67  double Distance( const reco::Candidate & c1, const reco::Candidate & c2 );
68  double DistancePhi( const reco::Candidate & c1, const reco::Candidate & c2 );
69  double calcDeltaPhi(double phi1, double phi2);
70  void bookHistos(DQMStore * bei );
71 
72  unsigned long long m_cacheID_;
77  float pi;
78 
82 
83  // Variables from config file
92  double ptThrMu1_; // pt cut on the first muon for the Z^0
93  double ptThrMu2_; // pt cut on the second muon for the Z^0
94 
95  // Histograms
136 
137 
138 };
139 
140 
141 #endif
MonitorElement * h_ePt
Definition: HiggsDQM.h:111
edm::InputTag theTriggerResultsCollection
Definition: HiggsDQM.h:86
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: HiggsDQM.cc:184
void endJob()
Definition: HiggsDQM.cc:665
MonitorElement * h_mPhi_TM
Definition: HiggsDQM.h:125
bool isValidHltConfig_
Definition: HiggsDQM.h:81
MonitorElement * h_mPt_TM
Definition: HiggsDQM.h:123
MonitorElement * h_vertex_numTrks
Definition: HiggsDQM.h:99
int nLepton
Definition: HiggsDQM.h:108
int irun
Definition: HiggsDQM.h:74
MonitorElement * h_mEta_GMTM
Definition: HiggsDQM.h:115
MonitorElement * h_mPhi_GM
Definition: HiggsDQM.h:122
MonitorElement * h_mEta_TM
Definition: HiggsDQM.h:124
double ptThrMu1_
Definition: HiggsDQM.h:92
MonitorElement * h_pfMet
Definition: HiggsDQM.h:106
int nZMuMu
Definition: HiggsDQM.h:108
edm::InputTag theCaloJetCollectionLabel
Definition: HiggsDQM.h:89
edm::InputTag thePfMETCollectionLabel
Definition: HiggsDQM.h:91
int nMuon
Definition: HiggsDQM.h:108
DQMStore * bei_
Definition: HiggsDQM.h:79
MonitorElement * h_mPt_STAM
Definition: HiggsDQM.h:126
int nElectron
Definition: HiggsDQM.h:108
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Definition: HiggsDQM.cc:198
MonitorElement * h_vertex_d0
Definition: HiggsDQM.h:98
void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: HiggsDQM.cc:653
MonitorElement * h_dimumass_GMGM
Definition: HiggsDQM.h:131
edm::InputTag theElectronCollectionLabel
Definition: HiggsDQM.h:88
MonitorElement * h_ePhi
Definition: HiggsDQM.h:113
MonitorElement * h_jet_count
Definition: HiggsDQM.h:103
std::string theMuonTriggerPathToPass
Definition: HiggsDQM.h:85
int nHiggs
Definition: HiggsDQM.h:108
MonitorElement * h_mPt_GMPT
Definition: HiggsDQM.h:117
unsigned long long m_cacheID_
Definition: HiggsDQM.h:72
MonitorElement * h_pfMet_phi
Definition: HiggsDQM.h:107
double ptThrMu2_
Definition: HiggsDQM.h:93
reco::CandidateCollection * leptonscands_
Definition: HiggsDQM.h:75
void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
Definition: HiggsDQM.cc:258
float pi
Definition: HiggsDQM.h:77
MonitorElement * h_jet2_et
Definition: HiggsDQM.h:102
MonitorElement * h_mPhi_GMPT
Definition: HiggsDQM.h:119
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
Definition: HiggsDQM.cc:638
double Distance(const reco::Candidate &c1, const reco::Candidate &c2)
Definition: HiggsDQM.cc:108
int nZEE
Definition: HiggsDQM.h:108
MonitorElement * h_jet_et
Definition: HiggsDQM.h:101
int nfourlept
Definition: HiggsDQM.h:108
MonitorElement * h_eEta
Definition: HiggsDQM.h:112
edm::InputTag theMuonCollectionLabel
Definition: HiggsDQM.h:87
double calcDeltaPhi(double phi1, double phi2)
Definition: HiggsDQM.cc:117
double DistancePhi(const reco::Candidate &c1, const reco::Candidate &c2)
Definition: HiggsDQM.cc:112
MonitorElement * h_eMultiplicity
Definition: HiggsDQM.h:109
MonitorElement * h_vertex_chi2
Definition: HiggsDQM.h:97
MonitorElement * h_mCombIso
Definition: HiggsDQM.h:130
MonitorElement * h_vertex_number
Definition: HiggsDQM.h:96
MonitorElement * h_eCombIso
Definition: HiggsDQM.h:129
MonitorElement * h_dimumass_GMTM
Definition: HiggsDQM.h:132
int leptonflavor
Definition: HiggsDQM.h:76
MonitorElement * h_mEta_GMPT
Definition: HiggsDQM.h:118
HLTConfigProvider hltConfigProvider_
Definition: HiggsDQM.h:80
MonitorElement * h_vertex_sumTrks
Definition: HiggsDQM.h:100
MonitorElement * h_caloMet
Definition: HiggsDQM.h:104
MonitorElement * h_mPt_GMTM
Definition: HiggsDQM.h:114
HiggsDQM(const edm::ParameterSet &ps)
Definition: HiggsDQM.cc:129
MonitorElement * h_caloMet_phi
Definition: HiggsDQM.h:105
MonitorElement * h_mPhi_STAM
Definition: HiggsDQM.h:128
virtual ~HiggsDQM()
Definition: HiggsDQM.cc:161
MonitorElement * h_mEta_STAM
Definition: HiggsDQM.h:127
void bookHistos(DQMStore *bei)
Definition: HiggsDQM.cc:209
MonitorElement * h_mEta_GM
Definition: HiggsDQM.h:121
MonitorElement * h_dielemass
Definition: HiggsDQM.h:134
MonitorElement * h_mPt_GM
Definition: HiggsDQM.h:120
int nLooseIsolMu
Definition: HiggsDQM.h:108
edm::InputTag theCaloMETCollectionLabel
Definition: HiggsDQM.h:90
int nLumiSecs_
Definition: HiggsDQM.h:73
MonitorElement * h_mPhi_GMTM
Definition: HiggsDQM.h:116
int nLooseIsolEle
Definition: HiggsDQM.h:108
MonitorElement * h_dimumass_TMTM
Definition: HiggsDQM.h:133
int nEvents_
Definition: HiggsDQM.h:74
Definition: Run.h:36
int ievt
Definition: HiggsDQM.h:74
MonitorElement * h_lepcounts
Definition: HiggsDQM.h:135
std::string theElecTriggerPathToPass
Definition: HiggsDQM.h:84
void beginJob()
Definition: HiggsDQM.cc:171
MonitorElement * h_mMultiplicity
Definition: HiggsDQM.h:110