#include <PhotonsWithConversionsAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
PhotonsWithConversionsAnalyzer (const edm::ParameterSet &) | |
~PhotonsWithConversionsAnalyzer () override | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () 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 | |
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 |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
float | etaTransformation (float a, float b) |
Private Attributes | |
TFile * | fOutputFile_ |
std::string | fOutputFileName_ |
TH2F * | h2_tk_inPtVsR_ |
TH2F * | h2_tk_nHitsVsR_ |
TH1F * | h_deltaEta_ |
TH1F * | h_deltaPhi_ |
TH1F * | h_ErecoEMC_ |
TH1F * | h_MCConvE_ |
TH1F * | h_MCConvEta_ |
TH1F * | h_MCConvPt_ |
TH1F * | h_MCphoE_ |
TH1F * | h_MCphoEta_ |
TH1F * | h_MCphoPhi_ |
TH1F * | h_phoE_ |
TH1F * | h_phoEta_ |
TH1F * | h_phoPhi_ |
TH1F * | h_scE_ |
TH1F * | h_scEt_ |
TH1F * | h_scEta_ |
TH1F * | h_scPhi_ |
std::string | HepMCLabel |
int | nEvt_ |
int | nMatched_ |
int | nMCPho_ |
std::string | photonCollection_ |
std::string | photonCollectionProducer_ |
std::string | SimHitLabel |
std::string | SimTkLabel |
std::string | SimVtxLabel |
PhotonMCTruthFinder * | thePhotonMCTruthFinder_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 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) |
Definition at line 22 of file PhotonsWithConversionsAnalyzer.h.
|
explicit |
Definition at line 51 of file PhotonsWithConversionsAnalyzer.cc.
References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 63 of file PhotonsWithConversionsAnalyzer.cc.
|
override |
Loop over recontructed photons
End loop over Reco particles
End loop over MC particles
Definition at line 162 of file PhotonsWithConversionsAnalyzer.cc.
References conversions_cfi::conversions, gather_cfg::cout, delta, spr::deltaEta, hiPixelPairStep_cff::deltaPhi, HcalObjRepresent::Fill(), edm::Event::getByLabel(), mps_fire::i, edm::EventBase::id(), correctedPhotons_cfi::photonCollection, Geom::pi(), funct::pow(), edm::Handle< T >::product(), edm::RefVector< C, T, F >::size(), mathSSE::sqrt(), l1t::tracks, and Geom::twoPi().
|
overridevirtual |
Reco - MC
Reimplemented from edm::EDAnalyzer.
Definition at line 71 of file PhotonsWithConversionsAnalyzer.cc.
References TFileService::make(), and reco::return().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 324 of file PhotonsWithConversionsAnalyzer.cc.
References gather_cfg::cout, and reco::return().
|
private |
Definition at line 122 of file PhotonsWithConversionsAnalyzer.cc.
References ETA, etaBarrelEndcap, cmsBatch::log, PI, R_ECAL, funct::tan(), and Z_Endcap.
|
private |
Definition at line 45 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 44 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 92 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 90 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 63 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 62 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 61 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 74 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 76 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 75 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 67 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 69 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 68 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 85 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 86 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 87 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 80 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 81 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 82 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 83 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 52 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 48 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 50 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 49 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 59 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 58 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 55 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 53 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 54 of file PhotonsWithConversionsAnalyzer.h.
|
private |
Definition at line 42 of file PhotonsWithConversionsAnalyzer.h.