Private Member Functions | |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | calculateCorrections (std::vector< float >, std::vector< float > &, float &) |
void | endJob () final |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final |
void | endRun (edm::Run const &runSeg, const edm::EventSetup &iSetup) final |
void | endRunProduce (edm::Run &runSeg, const edm::EventSetup &iSetup) final |
void | estimateType1Frac (std::vector< float >, float &) |
void | evaluateCorrectionResiduals (std::vector< float >) |
float | getMaximum (std::vector< float >) |
void | makeCorrectionTemplate () |
void | resetBlock () |
Private Attributes | |
unsigned int | approxLumiBlockSize_ |
std::vector< float > | correctionScaleFactors_ |
std::vector< float > | correctionTemplate_ |
TH1F * | corrlumiAvg_h |
unsigned int | countLumi_ |
std::vector< float > | errOnLumiByBX_ |
std::vector< float > | events_ |
TFile * | histoFile |
TList * | hlist |
unsigned int | iBlock =0 |
TH1F * | lumiAvg_h |
std::map< std::pair< unsigned int, unsigned int >, unsigned int > | lumiInfoCounter |
std::map< std::pair< unsigned int, unsigned int >, LumiInfo * > | lumiInfoMap |
std::map< std::pair< unsigned int, unsigned int >, LumiInfo * >::iterator | lumiInfoMapIterator |
std::map< unsigned int, LumiInfo * > | lumiInfoMapPerLS |
edm::EDGetTokenT< LumiInfo > | lumiInfoToken |
std::vector< unsigned int > | lumiSections |
unsigned int | maxLS =3500 |
float | mean_type1_residual |
float | mean_type1_residual_unc |
float | mean_type2_residual |
float | mean_type2_residual_unc |
unsigned int | minimumNumberOfEvents |
unsigned int | nTrain |
float | overallCorrection_ |
LumiCorrections * | pccCorrections |
std::string | pccSrc_ |
edm::Service< cond::service::PoolDBOutputService > | poolDbService |
std::string | prodInst_ |
std::vector< float > | rawlumiBX_ |
TH1F * | scaleFactorAvg_h |
unsigned int | thisLS |
std::vector< float > | totalLumiByBX_ |
std::vector< float > | totalLumiByBXAvg_ |
float | type1Frac |
TGraphErrors * | type1FracGraph |
TH1F * | type1FracHist |
MonitorElement * | Type1FracMon |
TGraphErrors * | type1resGraph |
TH1F * | type1resHist |
MonitorElement * | Type1ResMon |
double | type2_a_ |
double | type2_b_ |
TGraphErrors * | type2resGraph |
TH1F * | type2resHist |
MonitorElement * | Type2ResMon |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
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) |
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) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 55 of file CorrPCCProducer.cc.
|
explicit |
Definition at line 137 of file CorrPCCProducer.cc.
References approxLumiBlockSize_, correctionScaleFactors_, correctionTemplate_, countLumi_, events_, edm::ParameterSet::getParameter(), histoFile, lumiInfoToken, makeCorrectionTemplate(), minimumNumberOfEvents, LumiConstants::numBX, pccSrc_, prodInst_, resetBlock(), totalLumiByBX_, totalLumiByBXAvg_, type1FracGraph, type1resGraph, type2_a_, type2_b_, and type2resGraph.
|
override |
Definition at line 181 of file CorrPCCProducer.cc.
|
finalprivate |
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
Definition at line 636 of file CorrPCCProducer.cc.
References DQMStore::IBooker::book1D(), maxLS, DQMStore::IBooker::setCurrentFolder(), Type1FracMon, Type1ResMon, and Type2ResMon.
|
private |
Definition at line 297 of file CorrPCCProducer.cc.
References correctionTemplate_, estimateType1Frac(), evaluateCorrectionResiduals(), getMaximum(), mps_fire::i, SiStripPI::max, LumiConstants::numBX, electronIdCutBased_cfi::threshold, and type1Frac.
Referenced by endRunProduce().
|
finalprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 643 of file CorrPCCProducer.cc.
References DEFINE_FWK_MODULE, histoFile, type1FracGraph, type1resGraph, and type2resGraph.
Referenced by o2olib.O2ORunMgr::executeJob().
|
finalprivate |
Definition at line 363 of file CorrPCCProducer.cc.
References errOnLumiByBX_, events_, edm::LuminosityBlock::getByToken(), LumiInfo::getErrorLumiAllBX(), LumiInfo::getInstLumiAllBX(), lumiInfoMapPerLS, lumiInfoToken, edm::LuminosityBlockBase::luminosityBlock(), lumiSections, minimumNumberOfEvents, LumiConstants::numBX, edm::Handle< T >::product(), thisLS, and totalLumiByBX_.
|
finalprivate |
Definition at line 397 of file CorrPCCProducer.cc.
|
finalprivate |
Definition at line 401 of file CorrPCCProducer.cc.
References approxLumiBlockSize_, calculateCorrections(), correctionScaleFactors_, corrlumiAvg_h, gather_cfg::cout, errOnLumiByBX_, events_, plotBeamSpotDB::first, objects.autophobj::float, histoFile, mps_fire::i, iBlock, edm::RunBase::id(), edm::Service< T >::isAvailable(), lumiAvg_h, lumiInfoCounter, lumiInfoMap, lumiInfoMapIterator, lumiInfoMapPerLS, lumiSections, maxLS, mean_type1_residual, mean_type1_residual_unc, mean_type2_residual, mean_type2_residual_unc, LumiConstants::numBX, overallCorrection_, pccCorrections, poolDbService, rawlumiBX_, resetBlock(), edm::RunID::run(), edm::RunBase::run(), scaleFactorAvg_h, MonitorElement::setBinContent(), MonitorElement::setBinError(), LumiCorrections::setCorrectionsBX(), LumiCorrections::setOverallCorrection(), LumiCorrections::setType1Fraction(), LumiCorrections::setType1Residual(), LumiCorrections::setType2Residual(), thisLS, totalLumiByBX_, totalLumiByBXAvg_, type1Frac, type1FracGraph, type1FracHist, Type1FracMon, type1resGraph, type1resHist, Type1ResMon, type2resGraph, type2resHist, Type2ResMon, and cond::service::PoolDBOutputService::writeOne().
|
private |
Definition at line 207 of file CorrPCCProducer.cc.
References correctionTemplate_, evaluateCorrectionResiduals(), mps_fire::i, gen::k, mean_type1_residual, and LumiConstants::numBX.
Referenced by calculateCorrections().
|
private |
Definition at line 240 of file CorrPCCProducer.cc.
References getMaximum(), histoFile, mean_type1_residual, mean_type1_residual_unc, mean_type2_residual, mean_type2_residual_unc, nTrain, LumiConstants::numBX, and electronIdCutBased_cfi::threshold.
Referenced by calculateCorrections(), and estimateType1Frac().
|
private |
Definition at line 194 of file CorrPCCProducer.cc.
References mps_fire::i.
Referenced by calculateCorrections(), and evaluateCorrectionResiduals().
|
private |
Definition at line 186 of file CorrPCCProducer.cc.
References correctionTemplate_, JetChargeProducer_cfi::exp, LumiConstants::numBX, type2_a_, and type2_b_.
Referenced by CorrPCCProducer().
|
private |
Definition at line 627 of file CorrPCCProducer.cc.
References correctionScaleFactors_, events_, LumiConstants::numBX, totalLumiByBX_, and totalLumiByBXAvg_.
Referenced by CorrPCCProducer(), and endRunProduce().
|
private |
Definition at line 124 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), and endRunProduce().
|
private |
Definition at line 87 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), endRunProduce(), and resetBlock().
|
private |
Definition at line 86 of file CorrPCCProducer.cc.
Referenced by calculateCorrections(), CorrPCCProducer(), estimateType1Frac(), and makeCorrectionTemplate().
|
private |
Definition at line 99 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 123 of file CorrPCCProducer.cc.
Referenced by beginLuminosityBlock(), and CorrPCCProducer().
|
private |
Definition at line 82 of file CorrPCCProducer.cc.
Referenced by endLuminosityBlock(), and endRunProduce().
|
private |
Definition at line 85 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), endLuminosityBlock(), endRunProduce(), and resetBlock().
|
private |
Definition at line 115 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), endJob(), endRunProduce(), and evaluateCorrectionResiduals().
|
private |
Definition at line 114 of file CorrPCCProducer.cc.
|
private |
Definition at line 90 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 101 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 97 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 96 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 95 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 93 of file CorrPCCProducer.cc.
Referenced by endLuminosityBlock(), and endRunProduce().
|
private |
Definition at line 77 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), and endLuminosityBlock().
|
private |
Definition at line 94 of file CorrPCCProducer.cc.
Referenced by endLuminosityBlock(), and endRunProduce().
|
private |
Definition at line 106 of file CorrPCCProducer.cc.
Referenced by bookHistograms(), and endRunProduce().
|
private |
Definition at line 118 of file CorrPCCProducer.cc.
Referenced by endRunProduce(), estimateType1Frac(), and evaluateCorrectionResiduals().
|
private |
Definition at line 120 of file CorrPCCProducer.cc.
Referenced by endRunProduce(), and evaluateCorrectionResiduals().
|
private |
Definition at line 119 of file CorrPCCProducer.cc.
Referenced by endRunProduce(), and evaluateCorrectionResiduals().
|
private |
Definition at line 121 of file CorrPCCProducer.cc.
Referenced by endRunProduce(), and evaluateCorrectionResiduals().
|
private |
Definition at line 91 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), and endLuminosityBlock().
|
private |
Definition at line 122 of file CorrPCCProducer.cc.
Referenced by evaluateCorrectionResiduals().
|
private |
Definition at line 88 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 131 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 78 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer().
|
private |
Definition at line 133 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 79 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer().
|
private |
Definition at line 81 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 100 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 125 of file CorrPCCProducer.cc.
Referenced by endLuminosityBlock(), and endRunProduce().
|
private |
Definition at line 83 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), endLuminosityBlock(), endRunProduce(), and resetBlock().
|
private |
Definition at line 84 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), endRunProduce(), and resetBlock().
|
private |
Definition at line 117 of file CorrPCCProducer.cc.
Referenced by calculateCorrections(), and endRunProduce().
|
private |
Definition at line 111 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), endJob(), and endRunProduce().
|
private |
Definition at line 102 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 107 of file CorrPCCProducer.cc.
Referenced by bookHistograms(), and endRunProduce().
|
private |
Definition at line 112 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), endJob(), and endRunProduce().
|
private |
Definition at line 103 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 108 of file CorrPCCProducer.cc.
Referenced by bookHistograms(), and endRunProduce().
|
private |
Definition at line 127 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), and makeCorrectionTemplate().
|
private |
Definition at line 128 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), and makeCorrectionTemplate().
|
private |
Definition at line 113 of file CorrPCCProducer.cc.
Referenced by CorrPCCProducer(), endJob(), and endRunProduce().
|
private |
Definition at line 104 of file CorrPCCProducer.cc.
Referenced by endRunProduce().
|
private |
Definition at line 109 of file CorrPCCProducer.cc.
Referenced by bookHistograms(), and endRunProduce().