#include <ElectronStudy.h>
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
ElectronStudy (const edm::ParameterSet &ps) | |
~ElectronStudy () | |
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 |
virtual | ~EDAnalyzer () |
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 Attributes | |
double | etaBins [NEtaBins+1] |
std::string | g4Label |
TH1F * | histoE1x1 [NPBins+1][NEtaBins+1] |
TH1F * | histoE3x3 [NPBins+1][NEtaBins+1] |
TH1F * | histoE5x5 [NPBins+1][NEtaBins+1] |
TH1F * | histoR1 [NPBins+1][NEtaBins+1] |
TH1F * | histoR2 [NPBins+1][NEtaBins+1] |
TH1F * | histoR3 [NPBins+1][NEtaBins+1] |
bool | histos |
std::string | hitLabEB |
std::string | hitLabEE |
int | hotZone |
double | pBins [NPBins+1] |
std::string | sourceLabel |
edm::EDGetTokenT< edm::PCaloHitContainer > | tok_EBhit_ |
edm::EDGetTokenT< edm::PCaloHitContainer > | tok_EEhit_ |
edm::EDGetTokenT< edm::SimTrackContainer > | tok_simTk_ |
edm::EDGetTokenT< edm::SimVertexContainer > | tok_simVtx_ |
int | verbose |
Static Private Attributes | |
static const int | NEtaBins = 3 |
static const int | NPBins = 8 |
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 33 of file ElectronStudy.h.
ElectronStudy::ElectronStudy | ( | const edm::ParameterSet & | ps | ) |
Definition at line 15 of file ElectronStudy.cc.
References etaBins, g4Label, edm::ParameterSet::getUntrackedParameter(), histoE1x1, histoE3x3, histoE5x5, histoR1, histoR2, histoR3, histos, hitLabEB, hitLabEE, hotZone, mps_fire::i, edm::Service< T >::isAvailable(), TFileService::make(), dataset::name, NEtaBins, NPBins, pBins, sourceLabel, AlCaHLTBitMon_QueryRunRegistry::string, compare::tfile, fftjetcommon_cfi::title, tok_EBhit_, tok_EEhit_, tok_simTk_, and tok_simVtx_.
|
inline |
Definition at line 38 of file ElectronStudy.h.
References analyze(), EnergyCorrector::c, and MillePedeFileConverter_cfg::e.
void ElectronStudy::analyze | ( | const edm::Event & | e, |
const edm::EventSetup & | c | ||
) |
Definition at line 88 of file ElectronStudy.cc.
References funct::abs(), ecalTB2006H4_GenSimDigiReco_cfg::bField, gather_cfg::cout, TauDecayModes::dec, DEFINE_FWK_MODULE, spr::propagatedTrackDirection::detIdECAL, heepElectronID_HEEPV50_CSA14_25ns_cff::e5x5, EcalBarrel, EcalEndcap, spr::eECALmatrix(), PVValHelper::eta, conversionPostprocessing_cfi::etaBin, etaBins, edm::EventID::event(), edm::EventSetup::get(), edm::Event::getByToken(), histoE1x1, histoE3x3, histoE5x5, histoR1, histoR2, histoR3, histos, spr::hotCrystal(), hotZone, hcalTTPDigis_cfi::id, edm::EventBase::id(), edm::HandleBase::isValid(), NEtaBins, NPBins, spr::propagatedTrackDirection::okECAL, AlCaHLTBitMon_ParallelJobs::p, pBins, edm::ESHandle< T >::product(), spr::propagateCALO(), diffTwoXMLs::r1, diffTwoXMLs::r2, edm::EventID::run(), DetId::subdetId(), tok_EBhit_, tok_EEhit_, tok_simTk_, and tok_simVtx_.
Referenced by ~ElectronStudy().
|
private |
Definition at line 46 of file ElectronStudy.h.
Referenced by analyze(), ElectronStudy(), QGLikelihoodCalculator.QGLikelihoodCalculator::findEntry(), QGLikelihoodCalculator.QGLikelihoodCalculator::init(), and QGLikelihoodCalculator.QGLikelihoodCalculator::isValidRange().
|
private |
Definition at line 53 of file ElectronStudy.h.
Referenced by ElectronStudy().
Definition at line 57 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
Definition at line 58 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
Definition at line 58 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
Definition at line 56 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
Definition at line 56 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
Definition at line 57 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
|
private |
Definition at line 55 of file ElectronStudy.h.
Referenced by analyze(), DisplayManager.DisplayManager::Draw(), and ElectronStudy().
|
private |
Definition at line 53 of file ElectronStudy.h.
Referenced by ElectronStudy().
|
private |
Definition at line 53 of file ElectronStudy.h.
Referenced by ElectronStudy().
|
private |
Definition at line 54 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
|
staticprivate |
Definition at line 44 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
|
staticprivate |
Definition at line 45 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
|
private |
Definition at line 46 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
|
private |
Definition at line 53 of file ElectronStudy.h.
Referenced by ElectronStudy().
|
private |
Definition at line 48 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
|
private |
Definition at line 49 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
|
private |
Definition at line 50 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
|
private |
Definition at line 51 of file ElectronStudy.h.
Referenced by analyze(), and ElectronStudy().
|
private |
Definition at line 54 of file ElectronStudy.h.
Referenced by python.diff_provenance.difference::list_diff(), python.diffProv.difference::list_diff(), python.diff_provenance.difference::module_diff(), python.diffProv.difference::module_diff(), python.diff_provenance.difference::onefilemodules(), python.diffProv.difference::onefilemodules(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer::process(), core.SkimAnalyzerCount.SkimAnalyzerCount::process(), objects.VertexAnalyzer.VertexAnalyzer::process(), and confdbOfflineConverter.OfflineConverter::query().