CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Private Member Functions | Private Attributes
PhotonMonitor Class Reference

#include <PhotonMonitor.h>

Inheritance diagram for PhotonMonitor:
DQMEDAnalyzer edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 PhotonMonitor (const edm::ParameterSet &)
 
 ~PhotonMonitor () override
 
- Public Member Functions inherited from DQMEDAnalyzer
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
 
virtual void dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
virtual void dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
static void fillHistoLSPSetDescription (edm::ParameterSetDescription &pset)
 
static void fillHistoPSetDescription (edm::ParameterSetDescription &pset)
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Protected Member Functions

void analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void bookME (DQMStore::IBooker &, PhotonME &me, const std::string &histname, const std::string &histtitle, unsigned int nbins, double xmin, double xmax)
 
void bookME (DQMStore::IBooker &, PhotonME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX)
 
void bookME (DQMStore::IBooker &, PhotonME &me, const std::string &histname, const std::string &histtitle, unsigned int nbinsX, double xmin, double xmax, double ymin, double ymax)
 
void bookME (DQMStore::IBooker &, PhotonME &me, const std::string &histname, const std::string &histtitle, unsigned int nbinsX, double xmin, double xmax, unsigned int nbinsY, double ymin, double ymax)
 
void bookME (DQMStore::IBooker &, PhotonME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const std::vector< double > &binningY)
 
void setTitle (PhotonME &me, const std::string &titleX, const std::string &titleY)
 
- Protected Member Functions inherited from edm::ProducerBase
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Static Private Member Functions

static MEbinning getHistoLSPSet (edm::ParameterSet const &pset)
 
static MEbinning getHistoPSet (edm::ParameterSet const &pset)
 

Private Attributes

std::unique_ptr< GenericTriggerEventFlagden_genTriggerEventFlag_
 
std::vector< double > diphoton_mass_binning_
 
PhotonME diphotonMassME_
 
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
 
edm::EDGetTokenT< reco::GsfElectronCollectioneleToken_
 
const MEbinning eta_binning_ {N_ETA, -MAX_ETA, MAX_ETA}
 
std::string folderName_
 
std::string histoSuffix_
 
const MEbinning hoe_binning_ {N_r9, MIN_hoe, MAX_hoe}
 
StringCutObjectSelector< reco::PFJet, true > jetSelection_
 
edm::EDGetTokenT< reco::PFJetCollectionjetToken_
 
MEbinning ls_binning_
 
double MAX_ETA = 1.4442
 
double MAX_hoe = 0.02
 
double MAX_PHI1 = 3.2
 
double MAX_r9 = 1
 
StringCutObjectSelector< reco::MET, true > metSelection_
 
edm::EDGetTokenT< reco::PFMETCollectionmetToken_
 
double MIN_hoe = 0
 
double MIN_r9 = 0
 
unsigned int N_ETA = 34
 
unsigned int N_PHI1 = 64
 
unsigned int N_r9 = 50
 
unsigned int nelectrons_
 
unsigned int njets_
 
unsigned int nphotons_
 
std::unique_ptr< GenericTriggerEventFlagnum_genTriggerEventFlag_
 
const MEbinning phi_binning_1 {N_PHI1, -MAX_PHI1, MAX_PHI1}
 
MEbinning photon_binning_
 
std::vector< double > photon_variable_binning_
 
PhotonME photonEtaME_
 
PhotonME photonEtaPhiME_
 
PhotonME photonHoverEME_
 
PhotonME photonME_
 
PhotonME photonME_variableBinning_
 
PhotonME photonPhiME_
 
PhotonME photonr9ME_
 
StringCutObjectSelector< reco::Photon, true > photonSelection_
 
edm::EDGetTokenT< reco::PhotonCollectionphotonToken_
 
PhotonME photonVsLS_
 
const MEbinning r9_binning_ {N_r9, MIN_r9, MAX_r9}
 
PhotonME subphotonEtaME_
 
PhotonME subphotonEtaPhiME_
 
PhotonME subphotonHoverEME_
 
PhotonME subphotonME_
 
PhotonME subphotonME_variableBinning_
 
PhotonME subphotonPhiME_
 
PhotonME subphotonr9ME_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 55 of file PhotonMonitor.h.

Constructor & Destructor Documentation

PhotonMonitor::PhotonMonitor ( const edm::ParameterSet iConfig)

Definition at line 13 of file PhotonMonitor.cc.

References PhotonME::denominator, diphotonMassME_, PhotonME::numerator, photonEtaME_, photonEtaPhiME_, photonHoverEME_, photonME_, photonME_variableBinning_, photonPhiME_, photonr9ME_, photonVsLS_, subphotonEtaME_, subphotonEtaPhiME_, subphotonHoverEME_, subphotonME_, subphotonME_variableBinning_, subphotonPhiME_, subphotonr9ME_, and ~PhotonMonitor().

14  : folderName_(iConfig.getParameter<std::string>("FolderName")),
15  metToken_(consumes<reco::PFMETCollection>(iConfig.getParameter<edm::InputTag>("met"))),
16  jetToken_(mayConsume<reco::PFJetCollection>(iConfig.getParameter<edm::InputTag>("jets"))),
17  eleToken_(mayConsume<reco::GsfElectronCollection>(iConfig.getParameter<edm::InputTag>("electrons"))),
18  photonToken_(mayConsume<reco::PhotonCollection>(iConfig.getParameter<edm::InputTag>("photons"))),
20  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("photonBinning")),
22  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("massBinning")),
24  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("photonPSet"))),
28  iConfig.getParameter<edm::ParameterSet>("numGenericTriggerEventPSet"), consumesCollector(), *this)),
30  iConfig.getParameter<edm::ParameterSet>("denGenericTriggerEventPSet"), consumesCollector(), *this)),
31  metSelection_(iConfig.getParameter<std::string>("metSelection")),
32  jetSelection_(iConfig.getParameter<std::string>("jetSelection")),
33  eleSelection_(iConfig.getParameter<std::string>("eleSelection")),
34  photonSelection_(iConfig.getParameter<std::string>("photonSelection")),
35  njets_(iConfig.getParameter<unsigned int>("njets")),
36  nphotons_(iConfig.getParameter<unsigned int>("nphotons")),
37  nelectrons_(iConfig.getParameter<unsigned int>("nelectrons")) {
38  photonME_.numerator = nullptr;
39  photonME_.denominator = nullptr;
42  photonVsLS_.numerator = nullptr;
43  photonVsLS_.denominator = nullptr;
44  photonEtaME_.numerator = nullptr;
45  photonEtaME_.denominator = nullptr;
46  photonPhiME_.numerator = nullptr;
47  photonPhiME_.denominator = nullptr;
48  photonEtaPhiME_.numerator = nullptr;
49  photonEtaPhiME_.denominator = nullptr;
50  photonr9ME_.numerator = nullptr;
51  photonr9ME_.denominator = nullptr;
52  photonHoverEME_.numerator = nullptr;
53  photonHoverEME_.denominator = nullptr;
54 
55  diphotonMassME_.numerator = nullptr;
56  diphotonMassME_.denominator = nullptr;
57 
58  subphotonME_.numerator = nullptr;
59  subphotonME_.denominator = nullptr;
62  subphotonEtaME_.numerator = nullptr;
63  subphotonEtaME_.denominator = nullptr;
64  subphotonPhiME_.numerator = nullptr;
65  subphotonPhiME_.denominator = nullptr;
66  subphotonEtaPhiME_.numerator = nullptr;
68  subphotonr9ME_.numerator = nullptr;
69  subphotonr9ME_.denominator = nullptr;
70  subphotonHoverEME_.numerator = nullptr;
72 }
dqm::reco::MonitorElement * numerator
Definition: PhotonMonitor.h:48
T getParameter(std::string const &) const
unsigned int nelectrons_
StringCutObjectSelector< reco::Photon, true > photonSelection_
PhotonME photonEtaPhiME_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
StringCutObjectSelector< reco::PFJet, true > jetSelection_
PhotonME subphotonME_variableBinning_
MEbinning ls_binning_
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
PhotonME photonVsLS_
PhotonME subphotonPhiME_
PhotonME photonME_variableBinning_
PhotonME photonr9ME_
MEbinning photon_binning_
dqm::reco::MonitorElement * denominator
Definition: PhotonMonitor.h:49
StringCutObjectSelector< reco::MET, true > metSelection_
PhotonME diphotonMassME_
std::string folderName_
edm::EDGetTokenT< reco::PhotonCollection > photonToken_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
PhotonME photonHoverEME_
PhotonME photonPhiME_
std::vector< double > diphoton_mass_binning_
edm::EDGetTokenT< reco::PFMETCollection > metToken_
static MEbinning getHistoPSet(edm::ParameterSet const &pset)
PhotonME subphotonHoverEME_
PhotonME subphotonME_
PhotonME photonEtaME_
PhotonME subphotonEtaME_
unsigned int nphotons_
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
PhotonME subphotonr9ME_
PhotonME subphotonEtaPhiME_
edm::EDGetTokenT< reco::PFJetCollection > jetToken_
unsigned int njets_
PhotonME photonME_
edm::EDGetTokenT< reco::GsfElectronCollection > eleToken_
std::vector< double > photon_variable_binning_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
PhotonMonitor::~PhotonMonitor ( )
overridedefault

Referenced by PhotonMonitor().

Member Function Documentation

void PhotonMonitor::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 283 of file PhotonMonitor.cc.

References funct::cos(), den_genTriggerEventFlag_, PhotonME::denominator, diphotonMassME_, MillePedeFileConverter_cfg::e, pwdgSkimBPark_cfi::electrons, eleSelection_, eleToken_, PVValHelper::eta, dqm::impl::MonitorElement::Fill(), edm::Event::getByToken(), edm::EventBase::id(), dqmiolumiharvest::j, singleTopDQM_cfi::jets, jetSelection_, jetToken_, eostools::ls(), edm::EventID::luminosityBlock(), metSelection_, metToken_, nelectrons_, njets_, nphotons_, num_genTriggerEventFlag_, PhotonME::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, mathSSE::sqrt(), subphotonEtaME_, subphotonEtaPhiME_, subphotonHoverEME_, subphotonME_, subphotonPhiME_, and subphotonr9ME_.

283  {
284  // Filter out events if Trigger Filtering is requested
285  if (den_genTriggerEventFlag_->on() && !den_genTriggerEventFlag_->accept(iEvent, iSetup))
286  return;
287 
289  iEvent.getByToken(metToken_, metHandle);
290  reco::PFMET pfmet = metHandle->front();
291  if (!metSelection_(pfmet))
292  return;
293 
294  //float met = pfmet.pt();
295  // float phi = pfmet.phi();
296 
298  iEvent.getByToken(jetToken_, jetHandle);
299  std::vector<reco::PFJet> jets;
300  jets.clear();
301  if (jetHandle->size() < njets_)
302  return;
303  for (auto const& j : *jetHandle) {
304  if (jetSelection_(j))
305  jets.push_back(j);
306  }
307  if (jets.size() < njets_)
308  return;
309 
311  iEvent.getByToken(eleToken_, eleHandle);
312  std::vector<reco::GsfElectron> electrons;
313  if (eleHandle->size() < nelectrons_)
314  return;
315  for (auto const& e : *eleHandle) {
316  if (eleSelection_(e))
317  electrons.push_back(e);
318  }
319  if (electrons.size() < nelectrons_)
320  return;
321 
323  iEvent.getByToken(photonToken_, photonHandle);
324  std::vector<reco::Photon> photons;
325  photons.clear();
326 
327  if (photonHandle->size() < nphotons_)
328  return;
329  for (auto const& p : *photonHandle) {
330  if (photonSelection_(p))
331  photons.push_back(p);
332  }
333  if (photons.size() < nphotons_)
334  return;
335 
336  // filling histograms (denominator)
337  int ls = iEvent.id().luminosityBlock();
338  if (!(photons.empty()))
339 
340  {
341  photonME_.denominator->Fill(photons[0].pt());
343  photonPhiME_.denominator->Fill(photons[0].phi());
344  photonEtaME_.denominator->Fill(photons[0].eta());
345  photonVsLS_.denominator->Fill(ls, photons[0].pt());
346  photonEtaPhiME_.denominator->Fill(photons[0].eta(), photons[0].phi());
347  photonr9ME_.denominator->Fill(photons[0].r9());
348  photonHoverEME_.denominator->Fill(photons[0].hadTowOverEm());
349  }
350 
351  if (nphotons_ > 1)
352  //filling diphoton histograms
353  {
354  subphotonME_.denominator->Fill(photons[1].pt());
355  subphotonEtaME_.denominator->Fill(photons[1].eta());
356  subphotonPhiME_.denominator->Fill(photons[1].phi());
357  subphotonEtaPhiME_.denominator->Fill(photons[1].eta(), photons[1].phi());
358  subphotonr9ME_.denominator->Fill(photons[1].r9());
359  subphotonHoverEME_.denominator->Fill(photons[1].hadTowOverEm());
361  sqrt(2 * photons[0].pt() * photons[1].pt() *
362  (cosh(photons[0].eta() - photons[1].eta()) - cos(photons[0].phi() - photons[1].phi()))));
363  }
364 
365  // applying selection for numerator
366  if (num_genTriggerEventFlag_->on() && !num_genTriggerEventFlag_->accept(iEvent, iSetup))
367  return;
368 
369  // filling histograms (num_genTriggerEventFlag_)
370  if (!(photons.empty())) {
371  photonME_.numerator->Fill(photons[0].pt());
373  photonPhiME_.numerator->Fill(photons[0].phi());
374  photonEtaME_.numerator->Fill(photons[0].eta());
375  photonVsLS_.numerator->Fill(ls, photons[0].pt());
376  photonEtaPhiME_.numerator->Fill(photons[0].eta(), photons[0].phi());
377  photonr9ME_.numerator->Fill(photons[0].r9());
378  photonHoverEME_.numerator->Fill(photons[0].hadTowOverEm());
379  }
380  if (nphotons_ > 1)
381  //filling diphoton histograms
382  {
383  subphotonME_.numerator->Fill(photons[1].pt());
384  subphotonEtaME_.numerator->Fill(photons[1].eta());
385  subphotonPhiME_.numerator->Fill(photons[1].phi());
386  subphotonEtaPhiME_.numerator->Fill(photons[1].eta(), photons[1].phi());
387  subphotonr9ME_.numerator->Fill(photons[1].r9());
388  subphotonHoverEME_.numerator->Fill(photons[1].hadTowOverEm());
390  sqrt(2 * photons[0].pt() * photons[1].pt() *
391  (cosh(photons[0].eta() - photons[1].eta()) - cos(photons[0].phi() - photons[1].phi()))));
392  }
393 }
dqm::reco::MonitorElement * numerator
Definition: PhotonMonitor.h:48
unsigned int nelectrons_
StringCutObjectSelector< reco::Photon, true > photonSelection_
PhotonME photonEtaPhiME_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
StringCutObjectSelector< reco::PFJet, true > jetSelection_
PhotonME photonVsLS_
PhotonME subphotonPhiME_
PhotonME photonME_variableBinning_
PhotonME photonr9ME_
dqm::reco::MonitorElement * denominator
Definition: PhotonMonitor.h:49
void Fill(long long x)
StringCutObjectSelector< reco::MET, true > metSelection_
int iEvent
Definition: GenABIO.cc:224
PhotonME diphotonMassME_
edm::EDGetTokenT< reco::PhotonCollection > photonToken_
T sqrt(T t)
Definition: SSEVec.h:19
PhotonME photonHoverEME_
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
PhotonME photonPhiME_
edm::EDGetTokenT< reco::PFMETCollection > metToken_
PhotonME subphotonHoverEME_
PhotonME subphotonME_
PhotonME photonEtaME_
PhotonME subphotonEtaME_
unsigned int nphotons_
def ls(path, rec=False)
Definition: eostools.py:349
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
PhotonME subphotonr9ME_
PhotonME subphotonEtaPhiME_
edm::EDGetTokenT< reco::PFJetCollection > jetToken_
unsigned int njets_
PhotonME photonME_
edm::EDGetTokenT< reco::GsfElectronCollection > eleToken_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
void PhotonMonitor::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 162 of file PhotonMonitor.cc.

References bookME(), den_genTriggerEventFlag_, diphoton_mass_binning_, diphotonMassME_, eta_binning_, folderName_, hoe_binning_, ls_binning_, nphotons_, num_genTriggerEventFlag_, phi_binning_1, photon_binning_, photon_variable_binning_, photonEtaME_, photonEtaPhiME_, photonHoverEME_, photonME_, photonME_variableBinning_, photonPhiME_, photonr9ME_, photonVsLS_, r9_binning_, dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), setTitle(), AlCaHLTBitMon_QueryRunRegistry::string, subphotonEtaME_, subphotonEtaPhiME_, subphotonHoverEME_, subphotonME_, subphotonPhiME_, and subphotonr9ME_.

162  {
163  std::string histname, histtitle;
164 
165  std::string currentFolder = folderName_;
166  ibooker.setCurrentFolder(currentFolder);
167 
168  histname = "photon_pt";
169  histtitle = "photon PT";
170  bookME(ibooker, photonME_, histname, histtitle, photon_binning_.nbins, photon_binning_.xmin, photon_binning_.xmax);
171  setTitle(photonME_, "Photon pT [GeV]", "events / [GeV]");
172 
173  histname = "photon_pt_variable";
174  histtitle = "photon PT";
175  bookME(ibooker, photonME_variableBinning_, histname, histtitle, photon_variable_binning_);
176  setTitle(photonME_variableBinning_, "Photon pT [GeV]", "events / [GeV]");
177 
178  histname = "photonVsLS";
179  histtitle = "photon pt vs LS";
180  bookME(ibooker,
181  photonVsLS_,
182  histname,
183  histtitle,
184  ls_binning_.nbins,
185  ls_binning_.xmin,
186  ls_binning_.xmax,
187  photon_binning_.xmin,
188  photon_binning_.xmax);
189  setTitle(photonVsLS_, "LS", "Photon pT [GeV]");
190 
191  histname = "photon_phi";
192  histtitle = "Photon phi";
193  bookME(ibooker, photonPhiME_, histname, histtitle, phi_binning_1.nbins, phi_binning_1.xmin, phi_binning_1.xmax);
194  setTitle(photonPhiME_, "Photon #phi", "events / 0.1 rad");
195 
196  histname = "photon_eta";
197  histtitle = "Photon eta";
198  bookME(ibooker, photonEtaME_, histname, histtitle, eta_binning_.nbins, eta_binning_.xmin, eta_binning_.xmax);
199  setTitle(photonEtaME_, "Photon #eta", "events");
200 
201  histname = "photon_r9";
202  histtitle = "Photon r9";
203  bookME(ibooker, photonr9ME_, histname, histtitle, r9_binning_.nbins, r9_binning_.xmin, r9_binning_.xmax);
204  setTitle(photonr9ME_, "Photon r9", "events");
205 
206  histname = "photon_hoE";
207  histtitle = "Photon hoverE";
208  bookME(ibooker, photonHoverEME_, histname, histtitle, hoe_binning_.nbins, hoe_binning_.xmin, hoe_binning_.xmax);
209  setTitle(photonHoverEME_, "Photon hoE", "events");
210 
211  histname = "photon_etaphi";
212  histtitle = "Photon eta-phi";
213  bookME(ibooker,
215  histname,
216  histtitle,
217  eta_binning_.nbins,
218  eta_binning_.xmin,
219  eta_binning_.xmax,
220  phi_binning_1.nbins,
221  phi_binning_1.xmin,
222  phi_binning_1.xmax);
223  setTitle(photonEtaPhiME_, "#eta", "#phi");
224 
225  //for diphotons
226  if (nphotons_ > 1) {
227  histname = "diphoton_mass";
228  histtitle = "Diphoton mass";
229  bookME(ibooker, diphotonMassME_, histname, histtitle, diphoton_mass_binning_);
230  setTitle(diphotonMassME_, "Diphoton mass", "events / 0.1");
231 
232  histname = "subphoton_pt";
233  histtitle = "subphoton PT";
234  bookME(
235  ibooker, subphotonME_, histname, histtitle, photon_binning_.nbins, photon_binning_.xmin, photon_binning_.xmax);
236  setTitle(subphotonME_, "subPhoton pT [GeV]", "events / [GeV]");
237 
238  histname = "subphoton_eta";
239  histtitle = "subPhoton eta";
240  bookME(ibooker, subphotonEtaME_, histname, histtitle, eta_binning_.nbins, eta_binning_.xmin, eta_binning_.xmax);
241  setTitle(subphotonEtaME_, "subPhoton #eta", "events / 0.1");
242 
243  histname = "subphoton_phi";
244  histtitle = "subPhoton phi";
245  bookME(ibooker, subphotonPhiME_, histname, histtitle, phi_binning_1.nbins, phi_binning_1.xmin, phi_binning_1.xmax);
246  setTitle(subphotonPhiME_, "subPhoton #phi", "events / 0.1 rad");
247 
248  histname = "subphoton_r9";
249  histtitle = "subPhoton r9";
250  bookME(ibooker, subphotonr9ME_, histname, histtitle, r9_binning_.nbins, r9_binning_.xmin, r9_binning_.xmax);
251  setTitle(subphotonr9ME_, "subPhoton r9", "events");
252 
253  histname = "subphoton_hoE";
254  histtitle = "subPhoton hoverE";
255  bookME(ibooker, subphotonHoverEME_, histname, histtitle, hoe_binning_.nbins, hoe_binning_.xmin, hoe_binning_.xmax);
256  setTitle(subphotonHoverEME_, "subPhoton hoE", "events");
257 
258  histname = "subphoton_etaphi";
259  histtitle = "subPhoton eta-phi";
260  bookME(ibooker,
262  histname,
263  histtitle,
264  eta_binning_.nbins,
265  eta_binning_.xmin,
266  eta_binning_.xmax,
267  phi_binning_1.nbins,
268  phi_binning_1.xmin,
269  phi_binning_1.xmax);
270  setTitle(subphotonEtaPhiME_, "#eta", "#phi");
271  }
272  // Initialize the GenericTriggerEventFlag
274  num_genTriggerEventFlag_->initRun(iRun, iSetup);
276  den_genTriggerEventFlag_->initRun(iRun, iSetup);
277 }
const MEbinning r9_binning_
PhotonME photonEtaPhiME_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
MEbinning ls_binning_
PhotonME photonVsLS_
PhotonME subphotonPhiME_
PhotonME photonME_variableBinning_
PhotonME photonr9ME_
MEbinning photon_binning_
PhotonME diphotonMassME_
std::string folderName_
PhotonME photonHoverEME_
PhotonME photonPhiME_
std::vector< double > diphoton_mass_binning_
void setTitle(PhotonME &me, const std::string &titleX, const std::string &titleY)
PhotonME subphotonHoverEME_
PhotonME subphotonME_
PhotonME photonEtaME_
PhotonME subphotonEtaME_
unsigned int nphotons_
PhotonME subphotonr9ME_
PhotonME subphotonEtaPhiME_
const MEbinning hoe_binning_
PhotonME photonME_
std::vector< double > photon_variable_binning_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
const MEbinning eta_binning_
const MEbinning phi_binning_1
void bookME(DQMStore::IBooker &, PhotonME &me, const std::string &histname, const std::string &histtitle, unsigned int nbins, double xmin, double xmax)
void PhotonMonitor::bookME ( DQMStore::IBooker ibooker,
PhotonME me,
const std::string &  histname,
const std::string &  histtitle,
unsigned int  nbins,
double  xmin,
double  xmax 
)
protected

Definition at line 94 of file PhotonMonitor.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), PhotonME::denominator, and PhotonME::numerator.

Referenced by bookHistograms().

100  {
101  me.numerator = ibooker.book1D(histname + "_numerator", histtitle + " (numerator)", nbins, min, max);
102  me.denominator = ibooker.book1D(histname + "_denominator", histtitle + " (denominator)", nbins, min, max);
103 }
dqm::reco::MonitorElement * numerator
Definition: PhotonMonitor.h:48
dqm::reco::MonitorElement * denominator
Definition: PhotonMonitor.h:49
T min(T a, T b)
Definition: MathUtil.h:58
void PhotonMonitor::bookME ( DQMStore::IBooker ibooker,
PhotonME me,
const std::string &  histname,
const std::string &  histtitle,
const std::vector< double > &  binningX 
)
protected

Definition at line 104 of file PhotonMonitor.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), PhotonME::denominator, LaserClient_cfi::nbins, and PhotonME::numerator.

108  {
109  unsigned int nbins = binning.size() - 1;
110  std::vector<float> fbinning(binning.begin(), binning.end());
111  // float* arr = &fbinning[0];
112  float* arr = fbinning.data();
113  me.numerator = ibooker.book1D(histname + "_numerator", histtitle + " (numerator)", nbins, arr);
114  me.denominator = ibooker.book1D(histname + "_denominator", histtitle + " (denominator)", nbins, arr);
115 }
dqm::reco::MonitorElement * numerator
Definition: PhotonMonitor.h:48
dqm::reco::MonitorElement * denominator
Definition: PhotonMonitor.h:49
void PhotonMonitor::bookME ( DQMStore::IBooker ibooker,
PhotonME me,
const std::string &  histname,
const std::string &  histtitle,
unsigned int  nbinsX,
double  xmin,
double  xmax,
double  ymin,
double  ymax 
)
protected

Definition at line 116 of file PhotonMonitor.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::bookProfile(), PhotonME::denominator, and PhotonME::numerator.

124  {
125  me.numerator =
126  ibooker.bookProfile(histname + "_numerator", histtitle + " (numerator)", nbinsX, xmin, xmax, ymin, ymax);
127  me.denominator =
128  ibooker.bookProfile(histname + "_denominator", histtitle + " (denominator)", nbinsX, xmin, xmax, ymin, ymax);
129 }
dqm::reco::MonitorElement * numerator
Definition: PhotonMonitor.h:48
dqm::reco::MonitorElement * denominator
Definition: PhotonMonitor.h:49
void PhotonMonitor::bookME ( DQMStore::IBooker ibooker,
PhotonME me,
const std::string &  histname,
const std::string &  histtitle,
unsigned int  nbinsX,
double  xmin,
double  xmax,
unsigned int  nbinsY,
double  ymin,
double  ymax 
)
protected

Definition at line 130 of file PhotonMonitor.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), PhotonME::denominator, and PhotonME::numerator.

139  {
140  me.numerator =
141  ibooker.book2D(histname + "_numerator", histtitle + " (numerator)", nbinsX, xmin, xmax, nbinsY, ymin, ymax);
142  me.denominator =
143  ibooker.book2D(histname + "_denominator", histtitle + " (denominator)", nbinsX, xmin, xmax, nbinsY, ymin, ymax);
144 }
dqm::reco::MonitorElement * numerator
Definition: PhotonMonitor.h:48
dqm::reco::MonitorElement * denominator
Definition: PhotonMonitor.h:49
void PhotonMonitor::bookME ( DQMStore::IBooker ibooker,
PhotonME me,
const std::string &  histname,
const std::string &  histtitle,
const std::vector< double > &  binningX,
const std::vector< double > &  binningY 
)
protected

Definition at line 145 of file PhotonMonitor.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), PhotonME::denominator, hlt_dqm_clientPB-live_cfg::nbinsX, hlt_dqm_clientPB-live_cfg::nbinsY, and PhotonME::numerator.

150  {
151  unsigned int nbinsX = binningX.size() - 1;
152  std::vector<float> fbinningX(binningX.begin(), binningX.end());
153  float* arrX = &fbinningX[0];
154  unsigned int nbinsY = binningY.size() - 1;
155  std::vector<float> fbinningY(binningY.begin(), binningY.end());
156  float* arrY = &fbinningY[0];
157 
158  me.numerator = ibooker.book2D(histname + "_numerator", histtitle + " (numerator)", nbinsX, arrX, nbinsY, arrY);
159  me.denominator = ibooker.book2D(histname + "_denominator", histtitle + " (denominator)", nbinsX, arrX, nbinsY, arrY);
160 }
dqm::reco::MonitorElement * numerator
Definition: PhotonMonitor.h:48
dqm::reco::MonitorElement * denominator
Definition: PhotonMonitor.h:49
void PhotonMonitor::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 407 of file PhotonMonitor.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), trigObjTnPSource_cfi::bins, DEFINE_FWK_MODULE, fillHistoLSPSetDescription(), fillHistoPSetDescription(), SiStripSourceConfigTier0_cff::genericTriggerEventPSet, LumiMonitor_cff::histoPSet, HLT_2018_cff::InputTag, LumiMonitor_cff::lsPSet, BTaggingMonitor_cfi::metPSet, and AlCaHLTBitMon_QueryRunRegistry::string.

407  {
409  desc.add<std::string>("FolderName", "HLT/Photon");
410  desc.add<edm::InputTag>("met", edm::InputTag("pfMet"));
411  desc.add<edm::InputTag>("jets", edm::InputTag("ak4PFJetsCHS"));
412  desc.add<edm::InputTag>("electrons", edm::InputTag("gedGsfElectrons"));
413  desc.add<edm::InputTag>("photons", edm::InputTag("gedPhotons"));
414  desc.add<std::string>("metSelection", "pt > 0");
415  desc.add<std::string>("jetSelection", "pt > 0");
416  desc.add<std::string>("eleSelection", "pt > 0");
417  desc.add<std::string>(
418  "photonSelection",
419  "pt > 145 && eta<1.4442 && hadTowOverEm<0.0597 && full5x5_sigmaIetaIeta()<0.01031 && chargedHadronIso<1.295");
420  //desc.add<std::string>("photonSelection", "pt > 145");
421  desc.add<unsigned int>("njets", 0);
422  desc.add<unsigned int>("nelectrons", 0);
423  desc.add<unsigned int>("nphotons", 0);
424 
426  genericTriggerEventPSet.add<bool>("andOr");
427  genericTriggerEventPSet.add<edm::InputTag>("dcsInputTag", edm::InputTag("scalersRawToDigi"));
428  genericTriggerEventPSet.add<std::vector<int> >("dcsPartitions", {});
429  genericTriggerEventPSet.add<bool>("andOrDcs", false);
430  genericTriggerEventPSet.add<bool>("errorReplyDcs", true);
431  genericTriggerEventPSet.add<std::string>("dbLabel", "");
432  genericTriggerEventPSet.add<bool>("andOrHlt", true);
433  genericTriggerEventPSet.add<edm::InputTag>("hltInputTag", edm::InputTag("TriggerResults::HLT"));
434  genericTriggerEventPSet.add<std::vector<std::string> >("hltPaths", {});
435  genericTriggerEventPSet.add<std::string>("hltDBKey", "");
436  genericTriggerEventPSet.add<bool>("errorReplyHlt", false);
437  genericTriggerEventPSet.add<unsigned int>("verbosityLevel", 1);
438 
439  desc.add<edm::ParameterSetDescription>("numGenericTriggerEventPSet", genericTriggerEventPSet);
440  desc.add<edm::ParameterSetDescription>("denGenericTriggerEventPSet", genericTriggerEventPSet);
441 
444  fillHistoPSetDescription(metPSet);
445  histoPSet.add<edm::ParameterSetDescription>("photonPSet", metPSet);
446  std::vector<double> bins = {0., 20., 40., 60., 80., 90., 100., 110., 120., 130., 140., 150., 160.,
447  170., 180., 190., 200., 220., 240., 260., 280., 300., 350., 400., 450., 1000.};
448  histoPSet.add<std::vector<double> >("photonBinning", bins);
449  std::vector<double> massbins = {90., 91., 92., 93., 94., 95., 96., 97., 98., 99., 100., 101., 102.,
450  103., 104., 105., 106., 107., 108., 109., 110., 115., 120., 130., 150., 200.};
451  histoPSet.add<std::vector<double> >("massBinning", massbins);
454  histoPSet.add<edm::ParameterSetDescription>("lsPSet", lsPSet);
455 
456  desc.add<edm::ParameterSetDescription>("histoPSet", histoPSet);
457 
458  descriptions.add("photonMonitoring", desc);
459 }
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
void PhotonMonitor::fillHistoLSPSetDescription ( edm::ParameterSetDescription pset)
static

Definition at line 401 of file PhotonMonitor.cc.

References edm::ParameterSetDescription::add().

Referenced by fillDescriptions().

401  {
402  pset.add<unsigned int>("nbins", 2500);
403  pset.add<double>("xmin", 0.);
404  pset.add<double>("xmax", 2500.);
405 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void PhotonMonitor::fillHistoPSetDescription ( edm::ParameterSetDescription pset)
static

Definition at line 395 of file PhotonMonitor.cc.

References edm::ParameterSetDescription::add().

Referenced by fillDescriptions().

395  {
396  pset.add<unsigned int>("nbins");
397  pset.add<double>("xmin");
398  pset.add<double>("xmax");
399 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
MEbinning PhotonMonitor::getHistoLSPSet ( edm::ParameterSet const &  pset)
staticprivate

Definition at line 83 of file PhotonMonitor.cc.

References edm::ParameterSet::getParameter().

83  {
84  return MEbinning{pset.getParameter<unsigned int>("nbins"), 0., double(pset.getParameter<unsigned int>("nbins"))};
85 }
MEbinning PhotonMonitor::getHistoPSet ( edm::ParameterSet const &  pset)
staticprivate

Definition at line 75 of file PhotonMonitor.cc.

References edm::ParameterSet::getParameter().

75  {
76  return MEbinning{
77  pset.getParameter<unsigned int>("nbins"),
78  pset.getParameter<double>("xmin"),
79  pset.getParameter<double>("xmax"),
80  };
81 }
void PhotonMonitor::setTitle ( PhotonME me,
const std::string &  titleX,
const std::string &  titleY 
)
protected

Definition at line 87 of file PhotonMonitor.cc.

References PhotonME::denominator, PhotonME::numerator, and dqm::impl::MonitorElement::setAxisTitle().

Referenced by bookHistograms(), Vispa.Gui.PortWidget.PortWidget::setName(), and Vispa.Views.LineDecayView.LineDecayContainer::setPxlObject().

87  {
88  me.numerator->setAxisTitle(titleX, 1);
89  me.numerator->setAxisTitle(titleY, 2);
90  me.denominator->setAxisTitle(titleX, 1);
91  me.denominator->setAxisTitle(titleY, 2);
92 }
dqm::reco::MonitorElement * numerator
Definition: PhotonMonitor.h:48
dqm::reco::MonitorElement * denominator
Definition: PhotonMonitor.h:49
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)

Member Data Documentation

std::unique_ptr<GenericTriggerEventFlag> PhotonMonitor::den_genTriggerEventFlag_
private

Definition at line 163 of file PhotonMonitor.h.

Referenced by analyze(), and bookHistograms().

std::vector<double> PhotonMonitor::diphoton_mass_binning_
private

Definition at line 119 of file PhotonMonitor.h.

Referenced by bookHistograms().

PhotonME PhotonMonitor::diphotonMassME_
private

Definition at line 131 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

StringCutObjectSelector<reco::GsfElectron, true> PhotonMonitor::eleSelection_
private

Definition at line 167 of file PhotonMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::GsfElectronCollection> PhotonMonitor::eleToken_
private

Definition at line 115 of file PhotonMonitor.h.

Referenced by analyze().

const MEbinning PhotonMonitor::eta_binning_ {N_ETA, -MAX_ETA, MAX_ETA}
private

Definition at line 148 of file PhotonMonitor.h.

Referenced by bookHistograms().

std::string PhotonMonitor::folderName_
private

Definition at line 110 of file PhotonMonitor.h.

Referenced by bookHistograms().

std::string PhotonMonitor::histoSuffix_
private

Definition at line 111 of file PhotonMonitor.h.

const MEbinning PhotonMonitor::hoe_binning_ {N_r9, MIN_hoe, MAX_hoe}
private

Definition at line 157 of file PhotonMonitor.h.

Referenced by bookHistograms().

StringCutObjectSelector<reco::PFJet, true> PhotonMonitor::jetSelection_
private

Definition at line 166 of file PhotonMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::PFJetCollection> PhotonMonitor::jetToken_
private

Definition at line 114 of file PhotonMonitor.h.

Referenced by analyze().

MEbinning PhotonMonitor::ls_binning_
private

Definition at line 122 of file PhotonMonitor.h.

Referenced by bookHistograms().

double PhotonMonitor::MAX_ETA = 1.4442
private

Definition at line 146 of file PhotonMonitor.h.

double PhotonMonitor::MAX_hoe = 0.02
private

Definition at line 155 of file PhotonMonitor.h.

double PhotonMonitor::MAX_PHI1 = 3.2
private

Definition at line 142 of file PhotonMonitor.h.

double PhotonMonitor::MAX_r9 = 1
private

Definition at line 150 of file PhotonMonitor.h.

StringCutObjectSelector<reco::MET, true> PhotonMonitor::metSelection_
private

Definition at line 165 of file PhotonMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::PFMETCollection> PhotonMonitor::metToken_
private

Definition at line 113 of file PhotonMonitor.h.

Referenced by analyze().

double PhotonMonitor::MIN_hoe = 0
private

Definition at line 156 of file PhotonMonitor.h.

double PhotonMonitor::MIN_r9 = 0
private

Definition at line 151 of file PhotonMonitor.h.

unsigned int PhotonMonitor::N_ETA = 34
private

Definition at line 147 of file PhotonMonitor.h.

unsigned int PhotonMonitor::N_PHI1 = 64
private

Definition at line 143 of file PhotonMonitor.h.

unsigned int PhotonMonitor::N_r9 = 50
private

Definition at line 152 of file PhotonMonitor.h.

unsigned int PhotonMonitor::nelectrons_
private

Definition at line 171 of file PhotonMonitor.h.

Referenced by analyze().

unsigned int PhotonMonitor::njets_
private

Definition at line 169 of file PhotonMonitor.h.

Referenced by analyze().

unsigned int PhotonMonitor::nphotons_
private

Definition at line 170 of file PhotonMonitor.h.

Referenced by analyze(), and bookHistograms().

std::unique_ptr<GenericTriggerEventFlag> PhotonMonitor::num_genTriggerEventFlag_
private

Definition at line 162 of file PhotonMonitor.h.

Referenced by analyze(), and bookHistograms().

const MEbinning PhotonMonitor::phi_binning_1 {N_PHI1, -MAX_PHI1, MAX_PHI1}
private

Definition at line 144 of file PhotonMonitor.h.

Referenced by bookHistograms().

MEbinning PhotonMonitor::photon_binning_
private

Definition at line 121 of file PhotonMonitor.h.

Referenced by bookHistograms().

std::vector<double> PhotonMonitor::photon_variable_binning_
private

Definition at line 118 of file PhotonMonitor.h.

Referenced by bookHistograms().

PhotonME PhotonMonitor::photonEtaME_
private

Definition at line 133 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

PhotonME PhotonMonitor::photonEtaPhiME_
private

Definition at line 138 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

PhotonME PhotonMonitor::photonHoverEME_
private

Definition at line 140 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

PhotonME PhotonMonitor::photonME_
private

Definition at line 134 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

PhotonME PhotonMonitor::photonME_variableBinning_
private

Definition at line 136 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

PhotonME PhotonMonitor::photonPhiME_
private

Definition at line 135 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

PhotonME PhotonMonitor::photonr9ME_
private

Definition at line 139 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

StringCutObjectSelector<reco::Photon, true> PhotonMonitor::photonSelection_
private

Definition at line 168 of file PhotonMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::PhotonCollection> PhotonMonitor::photonToken_
private

Definition at line 116 of file PhotonMonitor.h.

Referenced by analyze().

PhotonME PhotonMonitor::photonVsLS_
private

Definition at line 137 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

const MEbinning PhotonMonitor::r9_binning_ {N_r9, MIN_r9, MAX_r9}
private

Definition at line 153 of file PhotonMonitor.h.

Referenced by bookHistograms().

PhotonME PhotonMonitor::subphotonEtaME_
private

Definition at line 124 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

PhotonME PhotonMonitor::subphotonEtaPhiME_
private

Definition at line 128 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

PhotonME PhotonMonitor::subphotonHoverEME_
private

Definition at line 130 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

PhotonME PhotonMonitor::subphotonME_
private

Definition at line 125 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

PhotonME PhotonMonitor::subphotonME_variableBinning_
private

Definition at line 127 of file PhotonMonitor.h.

Referenced by PhotonMonitor().

PhotonME PhotonMonitor::subphotonPhiME_
private

Definition at line 126 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().

PhotonME PhotonMonitor::subphotonr9ME_
private

Definition at line 129 of file PhotonMonitor.h.

Referenced by analyze(), bookHistograms(), and PhotonMonitor().