#include <Calibration/EcalCalibAlgos/src/miscalibExample.cc>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
miscalibExample (const edm::ParameterSet &) | |
~miscalibExample () 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 Attributes | |
std::string | BarrelHitsCollection_ |
std::string | correctedHybridSuperClusterCollection_ |
std::string | correctedHybridSuperClusterProducer_ |
std::string | ecalHitsProducer_ |
int | read_events |
std::string | rootfile_ |
TH1F * | scEnergy |
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) |
Description: Analyzer to fetch collection of objects from event and make simple plots
Implementation: \
Description: Perform single electron calibration (tested on TB data only).
Implementation: <Notes on="" implementation>="">
Definition at line 36 of file miscalibExample.h.
|
explicit |
Definition at line 65 of file miscalibExample.cc.
References correctedHybridSuperClusterCollection_, correctedHybridSuperClusterProducer_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), rootfile_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 75 of file miscalibExample.cc.
|
override |
Definition at line 114 of file miscalibExample.cc.
References correctedHybridSuperClusterCollection_, correctedHybridSuperClusterProducer_, correctedHybridSuperClusters_cfi::correctedHybridSuperClusters, edm::Event::getByLabel(), edm::HandleBase::isValid(), edm::Handle< T >::product(), read_events, and scEnergy.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 83 of file miscalibExample.cc.
References read_events, and scEnergy.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 94 of file miscalibExample.cc.
References gather_cfg::cout, f, read_events, rootfile_, and scEnergy.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 51 of file miscalibExample.h.
|
private |
Definition at line 50 of file miscalibExample.h.
Referenced by analyze(), and miscalibExample().
|
private |
Definition at line 49 of file miscalibExample.h.
Referenced by analyze(), and miscalibExample().
|
private |
Definition at line 52 of file miscalibExample.h.
|
private |
Definition at line 53 of file miscalibExample.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 48 of file miscalibExample.h.
Referenced by endJob(), and miscalibExample().
|
private |
Definition at line 55 of file miscalibExample.h.
Referenced by analyze(), beginJob(), and endJob().