CMS 3D CMS Logo

DQMExample_Step1.h
Go to the documentation of this file.
1 #ifndef DQMExample_Step1_H
2 #define DQMExample_Step1_H
3 
4 // Framework
8 
9 // event
12 
13 // DQM
16 
17 // Candidate handling
20 
21 // Electron
25 
26 // PFMET
29 
30 // Vertex utilities
33 
34 // CaloJets
36 
37 // Conversions
39 
40 // Trigger
45 
47 public:
49  ~DQMExample_Step1() override;
50 
51 protected:
52  void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override;
53  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
54  void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override;
55 
56 private:
57  // histos booking function
59 
60  // other functions
61  bool MediumEle(const edm::Event &iEvent, const edm::EventSetup &iESetup, const reco::GsfElectron &electron);
62  double Distance(const reco::Candidate &c1, const reco::Candidate &c2);
63  double DistancePhi(const reco::Candidate &c1, const reco::Candidate &c2);
64  double calcDeltaPhi(double phi1, double phi2);
65 
66  // private variables
68 
69  // variables from config file
80 
81  double ptThrL1_;
82  double ptThrL2_;
83  double ptThrJet_;
84  double ptThrMet_;
85 
87  int nBJets;
88 
89  // Histograms
91 
93 
101 
109 
114 
116 };
117 
118 #endif
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
DQMExample_Step1::h_jMultiplicity
MonitorElement * h_jMultiplicity
Definition: DQMExample_Step1.h:110
DQMExample_Step1::theElectronCollection_
edm::EDGetTokenT< reco::GsfElectronCollection > theElectronCollection_
Definition: DQMExample_Step1.h:70
CaloJet.h
DQMExample_Step1::DQMExample_Step1
DQMExample_Step1(const edm::ParameterSet &ps)
Definition: DQMExample_Step1.cc:21
DQMExample_Step1::h_eMultiplicity
MonitorElement * h_eMultiplicity
Definition: DQMExample_Step1.h:94
DQMExample_Step1::h_ePhi_leading_matched
MonitorElement * h_ePhi_leading_matched
Definition: DQMExample_Step1.h:100
DQMExample_Step1::~DQMExample_Step1
~DQMExample_Step1() override
Definition: DQMExample_Step1.cc:47
TriggerResults.h
ConversionTools.h
DQMExample_Step1::h_jPt_leading
MonitorElement * h_jPt_leading
Definition: DQMExample_Step1.h:111
DQMExample_Step1
Definition: DQMExample_Step1.h:46
DQMExample_Step1::theBSCollection_
edm::EDGetTokenT< reco::BeamSpot > theBSCollection_
Definition: DQMExample_Step1.h:75
edm::Run
Definition: Run.h:45
TriggerEvent.h
DQMExample_Step1::h_pfMet
MonitorElement * h_pfMet
Definition: DQMExample_Step1.h:92
edm::EDGetTokenT< reco::GsfElectronCollection >
DQMExample_Step1::h_eEta_leading_matched
MonitorElement * h_eEta_leading_matched
Definition: DQMExample_Step1.h:99
DQMExample_Step1::h_jEta_leading
MonitorElement * h_jEta_leading
Definition: DQMExample_Step1.h:112
DQMExample_Step1::triggerEvent_
edm::EDGetTokenT< trigger::TriggerEvent > triggerEvent_
Definition: DQMExample_Step1.h:76
DQMExample_Step1::h_eEta_leading_HLT_matched
MonitorElement * h_eEta_leading_HLT_matched
Definition: DQMExample_Step1.h:107
DQMExample_Step1::triggerResults_
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
Definition: DQMExample_Step1.h:77
DQMStore.h
DQMExample_Step1::Distance
double Distance(const reco::Candidate &c1, const reco::Candidate &c2)
Definition: DQMExample_Step1.cc:331
PFMETCollection.h
DQMExample_Step1::h_ePt_leading_HLT
MonitorElement * h_ePt_leading_HLT
Definition: DQMExample_Step1.h:103
CandidateFwd.h
DQMExample_Step1::h_ePt_diff
MonitorElement * h_ePt_diff
Definition: DQMExample_Step1.h:115
DQMExample_Step1::h_ePhi_leading
MonitorElement * h_ePhi_leading
Definition: DQMExample_Step1.h:97
DQMExample_Step1::thePfMETCollection_
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
Definition: DQMExample_Step1.h:73
DQMExample_Step1::ptThrJet_
double ptThrJet_
Definition: DQMExample_Step1.h:83
DQMExample_Step1::theConversionCollection_
edm::EDGetTokenT< reco::ConversionCollection > theConversionCollection_
Definition: DQMExample_Step1.h:71
DQMExample_Step1::theCaloJetCollection_
edm::EDGetTokenT< reco::CaloJetCollection > theCaloJetCollection_
Definition: DQMExample_Step1.h:72
Service.h
metsig::electron
Definition: SignAlgoResolutions.h:48
reco::GsfElectron
Definition: GsfElectron.h:35
GsfElectron.h
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMExample_Step1::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DQMExample_Step1.cc:62
Vertex.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
DQMExample_Step1::h_ePt_leading_HLT_matched
MonitorElement * h_ePt_leading_HLT_matched
Definition: DQMExample_Step1.h:106
GsfElectronFwd.h
edm::ParameterSet
Definition: ParameterSet.h:36
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
DQMExample_Step1::DistancePhi
double DistancePhi(const reco::Candidate &c1, const reco::Candidate &c2)
Definition: DQMExample_Step1.cc:333
Event.h
DQMExample_Step1::ptThrL1_
double ptThrL1_
Definition: DQMExample_Step1.h:81
PFMET.h
TriggerNames.h
iEvent
int iEvent
Definition: GenABIO.cc:224
alignmentValidation.c1
c1
do drawing
Definition: alignmentValidation.py:1025
DQMExample_Step1::h_jPhi_leading
MonitorElement * h_jPhi_leading
Definition: DQMExample_Step1.h:113
DQMExample_Step1::h_ePhi_leading_HLT_matched
MonitorElement * h_ePhi_leading_HLT_matched
Definition: DQMExample_Step1.h:108
edm::EventSetup
Definition: EventSetup.h:57
DQMExample_Step1::h_eEta_leading
MonitorElement * h_eEta_leading
Definition: DQMExample_Step1.h:96
DQMExample_Step1::dqmBeginRun
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: DQMExample_Step1.cc:55
DQMExample_Step1::h_eMultiplicity_HLT
MonitorElement * h_eMultiplicity_HLT
Definition: DQMExample_Step1.h:102
TriggerObject.h
InputTag.h
DQMExample_Step1::ptThrMet_
double ptThrMet_
Definition: DQMExample_Step1.h:84
reco::Candidate
Definition: Candidate.h:27
DQMExample_Step1::analyze
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
Definition: DQMExample_Step1.cc:72
DQMExample_Step1::triggerPath_
std::string triggerPath_
Definition: DQMExample_Step1.h:79
VertexFwd.h
DQMExample_Step1::h_vertex_number
MonitorElement * h_vertex_number
Definition: DQMExample_Step1.h:90
DQMExample_Step1::h_eEta_leading_HLT
MonitorElement * h_eEta_leading_HLT
Definition: DQMExample_Step1.h:104
Electron.h
DQMExample_Step1::nBJets
int nBJets
Definition: DQMExample_Step1.h:87
DQMExample_Step1::bookHistos
void bookHistos(DQMStore::IBooker &)
Definition: DQMExample_Step1.cc:289
DQMExample_Step1::h_ePhi_leading_HLT
MonitorElement * h_ePhi_leading_HLT
Definition: DQMExample_Step1.h:105
EventSetup.h
DQMExample_Step1::ptThrL2_
double ptThrL2_
Definition: DQMExample_Step1.h:82
DQMExample_Step1::thePVCollection_
edm::EDGetTokenT< reco::VertexCollection > thePVCollection_
Definition: DQMExample_Step1.h:74
DQMExample_Step1::MediumEle
bool MediumEle(const edm::Event &iEvent, const edm::EventSetup &iESetup, const reco::GsfElectron &electron)
Definition: DQMExample_Step1.cc:352
dqm::implementation::IBooker
Definition: DQMStore.h:43
DQMExample_Step1::triggerFilter_
edm::InputTag triggerFilter_
Definition: DQMExample_Step1.h:78
Candidate.h
ParameterSet.h
edm::Event
Definition: Event.h:73
DQMExample_Step1::nElectrons
int nElectrons
Definition: DQMExample_Step1.h:86
edm::InputTag
Definition: InputTag.h:15
DQMExample_Step1::calcDeltaPhi
double calcDeltaPhi(double phi1, double phi2)
Definition: DQMExample_Step1.cc:338
DQMExample_Step1::h_ePt_leading_matched
MonitorElement * h_ePt_leading_matched
Definition: DQMExample_Step1.h:98
DQMExample_Step1::PVPoint_
math::XYZPoint PVPoint_
Definition: DQMExample_Step1.h:67
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
DQMExample_Step1::h_ePt_leading
MonitorElement * h_ePt_leading
Definition: DQMExample_Step1.h:95