|
| PhotonMonitor (const edm::ParameterSet &) |
|
| ~PhotonMonitor () override throw () |
|
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) final |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
void | beginStream (edm::StreamID id) final |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
| DQMEDAnalyzer () |
|
void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
|
void | endRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
virtual bool | getCanSaveByLumi () |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
const EDProducer & | operator= (const EDProducer &)=delete |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbins, const double xmin, const double xmax, const bool bookDen=true) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const bool bookDen=true) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbinsX, const double xmin, const double xmax, const double ymin, const double ymax, const bool bookDen=true) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbinsX, const double xmin, const double xmax, const uint nbinsY, const double ymin, const double ymax, const bool bookDen=true) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const std::vector< double > &binningY, const bool bookDen=true) |
|
void | setMETitle (ObjME &me, const std::string &titleX, const std::string &titleY) |
|
| TriggerDQMBase ()=default |
|
virtual | ~TriggerDQMBase ()=default |
|
Definition at line 34 of file PhotonMonitor.cc.
Reimplemented from DQMEDAnalyzer.
Definition at line 279 of file PhotonMonitor.cc.
References funct::cos(), den_genTriggerEventFlag_, TriggerDQMBase::ObjME::denominator, diphotonMassME_, MillePedeFileConverter_cfg::e, pwdgSkimBPark_cfi::electrons, eleSelection_, eleToken_, PVValHelper::eta, dqm::impl::MonitorElement::Fill(), photons_cff::hadTowOverEm, hltPathsAreValid_, iEvent, dqmiolumiharvest::j, PDWG_EXODelayedJetMET_cff::jets, jetSelection_, jetToken_, eostools::ls(), metSelection_, metToken_, nelectrons_, njets_, nphotons_, num_genTriggerEventFlag_, TriggerDQMBase::ObjME::numerator, AlCaHLTBitMon_ParallelJobs::p, phi, photonEtaME_, photonEtaPhiME_, photonHoverEME_, photonME_, photonME_variableBinning_, photonPhiME_, photonr9ME_, BPHMonitor_cfi::photons, photonSelection_, photonToken_, photonVsLS_, DiDispStaMuonMonitor_cfi::pt, electrons_cff::r9, requireValidHLTPaths_, mathSSE::sqrt(), subphotonEtaME_, subphotonEtaPhiME_, subphotonHoverEME_, subphotonME_, subphotonPhiME_, and subphotonr9ME_.
302 std::vector<reco::PFJet>
jets;
304 if (jetHandle->size() <
njets_)
306 for (
auto const&
j : *jetHandle) {
315 std::vector<reco::GsfElectron>
electrons;
318 for (
auto const&
e : *eleHandle) {
327 std::vector<reco::Photon>
photons;
332 for (
auto const&
p : *photonHandle) {
340 int ls =
iEvent.id().luminosityBlock();
const bool requireValidHLTPaths_
StringCutObjectSelector< reco::Photon, true > photonSelection_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
StringCutObjectSelector< reco::PFJet, true > jetSelection_
StringCutObjectSelector< reco::MET, true > metSelection_
ObjME photonME_variableBinning_
edm::EDGetTokenT< reco::PhotonCollection > photonToken_
Cos< T >::type cos(const T &t)
MonitorElement * denominator
MonitorElement * numerator
edm::EDGetTokenT< reco::PFMETCollection > metToken_
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
edm::EDGetTokenT< reco::PFJetCollection > jetToken_
edm::EDGetTokenT< reco::GsfElectronCollection > eleToken_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
Implements DQMEDAnalyzer.
Definition at line 148 of file PhotonMonitor.cc.
References TriggerDQMBase::bookME(), den_genTriggerEventFlag_, diphoton_mass_binning_, diphotonMassME_, eta_binning_, folderName_, hltPathsAreValid_, hoe_binning_, ls_binning_, TriggerDQMBase::MEbinning::nbins, nphotons_, num_genTriggerEventFlag_, phi_binning_1, photon_binning_, photon_variable_binning_, photonEtaME_, photonEtaPhiME_, photonHoverEME_, photonME_, photonME_variableBinning_, photonPhiME_, photonr9ME_, photonVsLS_, r9_binning_, requireValidHLTPaths_, dqm::implementation::NavigatorBase::setCurrentFolder(), TriggerDQMBase::setMETitle(), AlCaHLTBitMon_QueryRunRegistry::string, subphotonEtaME_, subphotonEtaPhiME_, subphotonHoverEME_, subphotonME_, subphotonPhiME_, subphotonr9ME_, TriggerDQMBase::MEbinning::xmax, and TriggerDQMBase::MEbinning::xmin.
173 histname =
"photon_pt";
174 histtitle =
"photon PT";
178 histname =
"photon_pt_variable";
179 histtitle =
"photon PT";
183 histname =
"photonVsLS";
184 histtitle =
"photon pt vs LS";
196 histname =
"photon_phi";
197 histtitle =
"Photon phi";
201 histname =
"photon_eta";
202 histtitle =
"Photon eta";
206 histname =
"photon_r9";
207 histtitle =
"Photon r9";
211 histname =
"photon_hoE";
212 histtitle =
"Photon hoverE";
216 histname =
"photon_etaphi";
217 histtitle =
"Photon eta-phi";
232 histname =
"diphoton_mass";
233 histtitle =
"Diphoton mass";
237 histname =
"subphoton_pt";
238 histtitle =
"subphoton PT";
243 histname =
"subphoton_eta";
244 histtitle =
"subPhoton eta";
248 histname =
"subphoton_phi";
249 histtitle =
"subPhoton phi";
253 histname =
"subphoton_r9";
254 histtitle =
"subPhoton r9";
258 histname =
"subphoton_hoE";
259 histtitle =
"subPhoton hoverE";
263 histname =
"subphoton_etaphi";
264 histtitle =
"subPhoton eta-phi";
const MEbinning r9_binning_
const bool requireValidHLTPaths_
virtual void setCurrentFolder(std::string const &fullpath)
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
const std::string folderName_
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
MEbinning photon_binning_
ObjME photonME_variableBinning_
std::vector< double > diphoton_mass_binning_
const MEbinning hoe_binning_
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbins, const double xmin, const double xmax, const bool bookDen=true)
std::vector< double > photon_variable_binning_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
const MEbinning eta_binning_
const MEbinning phi_binning_1