Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
float | etaTransformation (float a, float b) |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Description: Get Photon collection from the event and make very basic histos
Definition at line 40 of file SimplePhotonAnalyzer.cc.
Definition at line 42 of file SimplePhotonAnalyzer.cc.
Definition at line 43 of file SimplePhotonAnalyzer.cc.
|
explicit |
Definition at line 98 of file SimplePhotonAnalyzer.cc.
References barrelEcalHits_, endcapEcalHits_, edm::ParameterSet::getParameter(), mcProducer_, pfEgammaCandidates_, photonCollection_, photonCollectionProducer_, sample_, AlCaHLTBitMon_QueryRunRegistry::string, valueMapPFCandPhoton_, and vertexProducer_.
|
override |
Definition at line 117 of file SimplePhotonAnalyzer.cc.
|
overridevirtual |
Match reconstructed photon candidates with the nearest generated photonPho;
Plot kinematic disctributions for matched photons
Implements edm::one::EDAnalyzerBase.
Definition at line 202 of file SimplePhotonAnalyzer.cc.
References gather_cfg::cout, dumpMFGeometry_cfg::delta, spr::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, reco::Photon::ecalRecHitSumEtConeDR04(), reco::LeafCandidate::energy(), reco::LeafCandidate::et(), PVValHelper::eta, reco::LeafCandidate::eta(), etaTransformation(), dqm::impl::MonitorElement::Fill(), reco::PFCandidate::gamma, GenParticle::GenParticle, edm::Event::getByLabel(), edm::HepMCProduct::GetEvent(), h1_deltaEta_, h1_deltaEtaSC_, h1_deltaPhi_, h1_pho_E_, h1_pho_ecalIsoBarrel_, h1_pho_ecalIsoEndcap_, h1_pho_Et_, h1_pho_Eta_, h1_pho_hcalIsoBarrel_, h1_pho_hcalIsoEndcap_, h1_pho_hOverEBarrel_, h1_pho_hOverEEndcap_, h1_pho_Phi_, h1_pho_R9Barrel_, h1_pho_R9Endcap_, h1_pho_sigmaIetaIetaBarrel_, h1_pho_sigmaIetaIetaEndcap_, h1_pho_trkIsoBarrel_, h1_pho_trkIsoEndcap_, h1_recEoverTrueEBarrel_, h1_recEoverTrueEEndcap_, h1_scEta_, reco::Photon::hadronicOverEm(), reco::Photon::hcalTowerSumEtConeDR04(), EgHLTOffHistBins_cfi::hOverE, edm::EventBase::id(), edm::Ref< C, T, F >::isNonnull(), edm::HandleBase::isValid(), edm::InputTag::label(), muonTagProbeFilters_cff::matched, mcProducer_, AlCaHLTBitMon_ParallelJobs::p, parents, pfEgammaCandidates_, reco::LeafCandidate::phi(), nanoDQM_cff::Photon, ExoticaDQM_cfi::photonCollection, photonCollection_, photonCollectionProducer_, HLTObjectMonitor_cfi::photonEta, HLTObjectMonitor_cfi::photonPhi, pi, funct::pow(), edm::Handle< T >::product(), reco::Photon::r9(), electrons_cff::r9, reco::Photon::sigmaIetaIeta(), edm::ValueMap< T >::size(), mathSSE::sqrt(), reco::Photon::superCluster(), reco::Photon::trkSumPtSolidConeDR04(), and valueMapPFCandPhoton_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 122 of file SimplePhotonAnalyzer.cc.
References dqm::implementation::IBooker::book1D(), dbe_, HLT_2022v11_cff::dPhi, h1_deltaEta_, h1_deltaEtaSC_, h1_deltaPhi_, h1_pho_E_, h1_pho_ecalIsoBarrel_, h1_pho_ecalIsoEndcap_, h1_pho_Et_, h1_pho_Eta_, h1_pho_hcalIsoBarrel_, h1_pho_hcalIsoEndcap_, h1_pho_hOverEBarrel_, h1_pho_hOverEEndcap_, h1_pho_Phi_, h1_pho_R9Barrel_, h1_pho_R9Endcap_, h1_pho_sigmaIetaIetaBarrel_, h1_pho_sigmaIetaIetaEndcap_, h1_pho_trkIsoBarrel_, h1_pho_trkIsoEndcap_, h1_recEoverTrueEBarrel_, h1_recEoverTrueEEndcap_, h1_scEta_, SiPixelOfflineDQM_source_cff::hiRes, Utilities::operator, and sample_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 396 of file SimplePhotonAnalyzer.cc.
|
private |
Definition at line 358 of file SimplePhotonAnalyzer.cc.
References ETA, etaBarrelEndcap, dqm-mbProfile::log, PI, R_ECAL, funct::tan(), Z_Endcap, and ZEcal.
Referenced by analyze().
|
private |
Definition at line 61 of file SimplePhotonAnalyzer.cc.
Referenced by SimplePhotonAnalyzer().
|
private |
Definition at line 67 of file SimplePhotonAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 62 of file SimplePhotonAnalyzer.cc.
Referenced by SimplePhotonAnalyzer().
|
private |
Definition at line 90 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 70 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 91 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 71 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 81 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 82 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 72 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 73 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 83 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 84 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 80 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 74 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 75 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 76 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 77 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 78 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 85 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 86 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 88 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 89 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 69 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 56 of file SimplePhotonAnalyzer.cc.
|
private |
Definition at line 55 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and SimplePhotonAnalyzer().
|
private |
Definition at line 60 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and SimplePhotonAnalyzer().
|
private |
Definition at line 58 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and SimplePhotonAnalyzer().
|
private |
Definition at line 57 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and SimplePhotonAnalyzer().
|
private |
Definition at line 65 of file SimplePhotonAnalyzer.cc.
Referenced by beginJob(), and SimplePhotonAnalyzer().
|
private |
Definition at line 59 of file SimplePhotonAnalyzer.cc.
Referenced by analyze(), and SimplePhotonAnalyzer().
|
private |
Definition at line 64 of file SimplePhotonAnalyzer.cc.
Referenced by SimplePhotonAnalyzer().