#include <MCPhotonAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
MCPhotonAnalyzer (const edm::ParameterSet &) | |
~MCPhotonAnalyzer () 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) |
float | phiNormalization (float &a) |
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 MCPhotonAnalyzer.h.
|
explicit |
Definition at line 48 of file MCPhotonAnalyzer.cc.
|
override |
Definition at line 52 of file MCPhotonAnalyzer.cc.
|
override |
Loop over all MC photons in the event
Definition at line 180 of file MCPhotonAnalyzer.cc.
References gather_cfg::cout, edm::Event::getByLabel(), edm::EventBase::id(), cmsBatch::log, and funct::tan().
|
overridevirtual |
conversions
conversions with two tracks
electrons from conversions
Reimplemented from edm::EDAnalyzer.
Definition at line 60 of file MCPhotonAnalyzer.cc.
References TFileService::make(), and reco::return().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 315 of file MCPhotonAnalyzer.cc.
References gather_cfg::cout, reco::e1, reco::e2, SiPixelPhase1TrackClustersV_cfi::e3, vertexPlots::e4, mps_fire::i, createfilelist::int, reco::return(), and indexGen::s2.
|
private |
Definition at line 126 of file MCPhotonAnalyzer.cc.
References ETA, etaBarrelEndcap, cmsBatch::log, PI, R_ECAL, funct::tan(), and Z_Endcap.
|
private |
Definition at line 161 of file MCPhotonAnalyzer.cc.
|
private |
Definition at line 49 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 48 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 106 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 108 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 105 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 116 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 85 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 86 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 87 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 88 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 107 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 77 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 78 of file MCPhotonAnalyzer.h.
|
private |
Conversions with one track.
Definition at line 97 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 98 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 99 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 100 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 79 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 80 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 81 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 82 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 83 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 84 of file MCPhotonAnalyzer.h.
|
private |
Conversions with two tracks.
Definition at line 92 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 93 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 94 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 95 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 102 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 103 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 104 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 69 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 71 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 72 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 73 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 74 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 70 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 75 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 62 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 60 of file MCPhotonAnalyzer.h.
|
private |
global variable for the MC photon
Definition at line 59 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 54 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 55 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 114 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 113 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 111 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 110 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 65 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 63 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 64 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 44 of file MCPhotonAnalyzer.h.
|
private |
Definition at line 46 of file MCPhotonAnalyzer.h.