CMS 3D CMS Logo

HiggsDQM.h
Go to the documentation of this file.
1 #ifndef HiggsDQM_H
2 #define HiggsDQM_H
3 
20 
21 // Trigger stuff
23 
28 
32 
35 
36 #include <iostream>
37 #include <fstream>
38 #include <string>
39 #include <vector>
40 #include <map>
41 
42 class HiggsDQM : public DQMEDAnalyzer {
43 public:
44  HiggsDQM(const edm::ParameterSet& ps);
45  ~HiggsDQM() override;
46 
47 protected:
48  //Book histograms
49  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
50  void analyze(edm::Event const& e, edm::EventSetup const& eSetup) override;
51 
52 private:
53  double Distance(const reco::Candidate& c1, const reco::Candidate& c2);
54  double DistancePhi(const reco::Candidate& c1, const reco::Candidate& c2);
55  double calcDeltaPhi(double phi1, double phi2);
56  void bookHistos(DQMStore* bei);
57 
58  unsigned long long m_cacheID_;
62  float pi;
63 
64  // Variables from config file
76  double ptThrMu1_; // pt cut on the first muon for the Z^0
77  double ptThrMu2_; // pt cut on the second muon for the Z^0
78 
79  // Histograms
120 };
121 
122 #endif
123 
124 /* Local Variables: */
125 /* show-trailing-whitespace: t */
126 /* truncate-lines: t */
127 /* End: */
HiggsDQM::h_vertex_chi2
MonitorElement * h_vertex_chi2
Definition: HiggsDQM.h:81
HiggsDQM::nEvents_
int nEvents_
Definition: HiggsDQM.h:59
HiggsDQM::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: HiggsDQM.cc:162
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
TrajectoryStateOnSurface.h
Handle.h
CaloJet.h
HiggsDQM::theCaloJetCollectionToken_
edm::EDGetTokenT< reco::CaloJetCollection > theCaloJetCollectionToken_
Definition: HiggsDQM.h:73
HiggsDQM::h_vertex_sumTrks
MonitorElement * h_vertex_sumTrks
Definition: HiggsDQM.h:84
HiggsDQM::nfourlept
int nfourlept
Definition: HiggsDQM.h:92
ESHandle.h
TriggerResults.h
HiggsDQM::leptonscands_
reco::CandidateCollection * leptonscands_
Definition: HiggsDQM.h:60
HiggsDQM::h_mEta_TM
MonitorElement * h_mEta_TM
Definition: HiggsDQM.h:108
HiggsDQM::nZEE
int nZEE
Definition: HiggsDQM.h:92
HiggsDQM::h_eEta
MonitorElement * h_eEta
Definition: HiggsDQM.h:96
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< edm::TriggerResults >
LuminosityBlock.h
HiggsDQM::theTriggerResultsCollection_
edm::EDGetTokenT< edm::TriggerResults > theTriggerResultsCollection_
Definition: HiggsDQM.h:69
HiggsDQM::h_pfMet
MonitorElement * h_pfMet
Definition: HiggsDQM.h:90
HiggsDQM::nZMuMu
int nZMuMu
Definition: HiggsDQM.h:92
HiggsDQM::h_jet_et
MonitorElement * h_jet_et
Definition: HiggsDQM.h:85
DataKeyTags.h
Measurement1D.h
HiggsDQM::DistancePhi
double DistancePhi(const reco::Candidate &c1, const reco::Candidate &c2)
Definition: HiggsDQM.cc:100
HiggsDQM::h_mPhi_STAM
MonitorElement * h_mPhi_STAM
Definition: HiggsDQM.h:112
HiggsDQM::bookHistos
void bookHistos(DQMStore *bei)
DQMStore.h
PFMETCollection.h
HiggsDQM::h_eMultiplicity
MonitorElement * h_eMultiplicity
Definition: HiggsDQM.h:93
HiggsDQM::h_mPhi_GM
MonitorElement * h_mPhi_GM
Definition: HiggsDQM.h:106
HiggsDQM::h_ePt
MonitorElement * h_ePt
Definition: HiggsDQM.h:95
HiggsDQM::nLooseIsolEle
int nLooseIsolEle
Definition: HiggsDQM.h:92
CaloMETCollection.h
CandidateFwd.h
HiggsDQM::theElecTriggerPathToPass
std::string theElecTriggerPathToPass
Definition: HiggsDQM.h:65
HiggsDQM::h_mEta_GMPT
MonitorElement * h_mEta_GMPT
Definition: HiggsDQM.h:102
HiggsDQM::~HiggsDQM
~HiggsDQM() override
Definition: HiggsDQM.cc:150
HiggsDQM::h_mEta_GMTM
MonitorElement * h_mEta_GMTM
Definition: HiggsDQM.h:99
HiggsDQM::h_eCombIso
MonitorElement * h_eCombIso
Definition: HiggsDQM.h:113
HiggsDQM::theMuonCollectionToken_
edm::EDGetTokenT< reco::MuonCollection > theMuonCollectionToken_
Definition: HiggsDQM.h:71
HiggsDQM::h_dielemass
MonitorElement * h_dielemass
Definition: HiggsDQM.h:118
HiggsDQM::h_ePhi
MonitorElement * h_ePhi
Definition: HiggsDQM.h:97
HiggsDQM::thePfMETCollectionToken_
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollectionToken_
Definition: HiggsDQM.h:75
HiggsDQM::h_pfMet_phi
MonitorElement * h_pfMet_phi
Definition: HiggsDQM.h:91
dqm::legacy::DQMStore
Definition: DQMStore.h:727
HiggsDQM::theTriggerResultsCollectionTag_
edm::InputTag theTriggerResultsCollectionTag_
Definition: HiggsDQM.h:67
HiggsDQM::h_mPt_GM
MonitorElement * h_mPt_GM
Definition: HiggsDQM.h:104
MuonFwd.h
HiggsDQM::m_cacheID_
unsigned long long m_cacheID_
Definition: HiggsDQM.h:58
HiggsDQM::h_caloMet
MonitorElement * h_caloMet
Definition: HiggsDQM.h:88
Run.h
HiggsDQM::h_mPt_STAM
MonitorElement * h_mPt_STAM
Definition: HiggsDQM.h:110
HiggsDQM::h_mCombIso
MonitorElement * h_mCombIso
Definition: HiggsDQM.h:114
HiggsDQM::h_mPhi_GMPT
MonitorElement * h_mPhi_GMPT
Definition: HiggsDQM.h:103
HiggsDQM::h_mPt_GMPT
MonitorElement * h_mPt_GMPT
Definition: HiggsDQM.h:101
HiggsDQM::irun
int irun
Definition: HiggsDQM.h:59
HiggsDQM::theCaloMETCollectionToken_
edm::EDGetTokenT< reco::CaloMETCollection > theCaloMETCollectionToken_
Definition: HiggsDQM.h:74
DQMEDAnalyzer.h
HiggsDQM::h_mEta_STAM
MonitorElement * h_mEta_STAM
Definition: HiggsDQM.h:111
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
HiggsDQM::h_mPhi_TM
MonitorElement * h_mPhi_TM
Definition: HiggsDQM.h:109
HiggsDQM::analyze
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
Definition: HiggsDQM.cc:224
HiggsDQM::h_dimumass_GMGM
MonitorElement * h_dimumass_GMGM
Definition: HiggsDQM.h:115
METCollection.h
GsfElectronFwd.h
edm::ParameterSet
Definition: ParameterSet.h:47
HiggsDQM::leptonflavor
int leptonflavor
Definition: HiggsDQM.h:61
Event.h
HiggsDQM::h_vertex_number
MonitorElement * h_vertex_number
Definition: HiggsDQM.h:80
HiggsDQM::h_vertex_d0
MonitorElement * h_vertex_d0
Definition: HiggsDQM.h:82
HiggsDQM::pi
float pi
Definition: HiggsDQM.h:62
HiggsDQM::h_dimumass_GMTM
MonitorElement * h_dimumass_GMTM
Definition: HiggsDQM.h:116
HiggsDQM::h_lepcounts
MonitorElement * h_lepcounts
Definition: HiggsDQM.h:119
HiggsDQM::nMuon
int nMuon
Definition: HiggsDQM.h:92
HiggsDQM::h_jet_count
MonitorElement * h_jet_count
Definition: HiggsDQM.h:87
HiggsDQM::vertexToken_
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
Definition: HiggsDQM.h:70
HiggsDQM::h_vertex_numTrks
MonitorElement * h_vertex_numTrks
Definition: HiggsDQM.h:83
HiggsDQM::theMuonTriggerPathToPass
std::string theMuonTriggerPathToPass
Definition: HiggsDQM.h:66
alignmentValidation.c1
c1
do drawing
Definition: alignmentValidation.py:1025
HiggsDQM::theElectronCollectionToken_
edm::EDGetTokenT< reco::GsfElectronCollection > theElectronCollectionToken_
Definition: HiggsDQM.h:72
HiggsDQM::Distance
double Distance(const reco::Candidate &c1, const reco::Candidate &c2)
Definition: HiggsDQM.cc:98
edm::EventSetup
Definition: EventSetup.h:58
HiggsDQM::h_dimumass_TMTM
MonitorElement * h_dimumass_TMTM
Definition: HiggsDQM.h:117
HiggsDQM::calcDeltaPhi
double calcDeltaPhi(double phi1, double phi2)
Definition: HiggsDQM.cc:105
HiggsDQM::nLooseIsolMu
int nLooseIsolMu
Definition: HiggsDQM.h:92
InputTag.h
reco::Candidate
Definition: Candidate.h:27
HiggsDQM::HiggsDQM
HiggsDQM(const edm::ParameterSet &ps)
Definition: HiggsDQM.cc:118
VertexFwd.h
HiggsDQM::h_mPt_TM
MonitorElement * h_mPt_TM
Definition: HiggsDQM.h:107
HiggsDQM::h_mPhi_GMTM
MonitorElement * h_mPhi_GMTM
Definition: HiggsDQM.h:100
CaloCellGeometry.h
HiggsDQM::ptThrMu2_
double ptThrMu2_
Definition: HiggsDQM.h:77
HiggsDQM::h_mEta_GM
MonitorElement * h_mEta_GM
Definition: HiggsDQM.h:105
HiggsDQM
Definition: HiggsDQM.h:42
CaloGeometry.h
GlobalVector.h
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
HiggsDQM::nLepton
int nLepton
Definition: HiggsDQM.h:92
Candidate.h
ParameterSet.h
HiggsDQM::theCaloJetCollectionLabel_
edm::InputTag theCaloJetCollectionLabel_
Definition: HiggsDQM.h:68
HiggsDQM::nHiggs
int nHiggs
Definition: HiggsDQM.h:92
edm::Event
Definition: Event.h:73
HiggsDQM::ptThrMu1_
double ptThrMu1_
Definition: HiggsDQM.h:76
HiggsDQM::ievt
int ievt
Definition: HiggsDQM.h:59
HiggsDQM::h_caloMet_phi
MonitorElement * h_caloMet_phi
Definition: HiggsDQM.h:89
edm::InputTag
Definition: InputTag.h:15
HiggsDQM::h_mPt_GMTM
MonitorElement * h_mPt_GMTM
Definition: HiggsDQM.h:98
edm::OwnVector
Definition: OwnVector.h:24
HiggsDQM::h_jet2_et
MonitorElement * h_jet2_et
Definition: HiggsDQM.h:86
HiggsDQM::nElectron
int nElectron
Definition: HiggsDQM.h:92
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
HiggsDQM::h_mMultiplicity
MonitorElement * h_mMultiplicity
Definition: HiggsDQM.h:94