#include <EnsembleCalibrationLA.h>
Classes | |
struct | MethodCalibrations |
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | endJob () |
void | endRun (const edm::Run &, const edm::EventSetup &) |
EnsembleCalibrationLA (const edm::ParameterSet &) | |
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 Member Functions | |
void | write_calibrations () const |
void | write_ensembles_plots (const Book &) const |
void | write_ensembles_text (const Book &) |
void | write_samples_plots (const Book &) const |
Private Attributes | |
std::map< std::string, MethodCalibrations > | calibrations |
const double | highBin |
const std::string | inFileLocation |
const std::vector< std::string > | inputFiles |
const double | lowBin |
const unsigned | maxEvents |
const unsigned | nbins |
const std::string | Prefix |
const unsigned | samples |
const TrackerTopology * | tTopo_ |
std::vector< int > | vMethods |
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 9 of file EnsembleCalibrationLA.h.
|
explicit |
Definition at line 14 of file EnsembleCalibrationLA.cc.
|
inline |
Definition at line 14 of file EnsembleCalibrationLA.h.
References endJob(), endRun(), write_calibrations(), write_ensembles_plots(), write_ensembles_text(), and write_samples_plots().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 26 of file EnsembleCalibrationLA.cc.
References FrontierConditions_GlobalTag_cff::file, LA_Filler_Fitter::fill(), LA_Filler_Fitter::fit(), highBin, inFileLocation, inputFiles, lowBin, maxEvents, AlcaSiPixelAliHarvester0T_cff::method, nbins, samples, AlCaHLTBitMon_QueryRunRegistry::string, LA_Filler_Fitter::summarize_ensembles(), tTopo_, vMethods, write_calibrations(), write_ensembles_plots(), write_ensembles_text(), and write_samples_plots().
Referenced by analyze(), and o2olib.O2ORunMgr::executeJob().
void sistrip::EnsembleCalibrationLA::endRun | ( | const edm::Run & | , |
const edm::EventSetup & | eSetup | ||
) |
Definition at line 45 of file EnsembleCalibrationLA.cc.
References edm::EventSetup::get(), edm::ESHandle< T >::product(), and tTopo_.
Referenced by analyze().
|
private |
Definition at line 110 of file EnsembleCalibrationLA.cc.
References calibrations, FrontierConditions_GlobalTag_cff::file, mps_fire::i, MillePedeFileConverter_cfg::out, and Prefix.
Referenced by analyze(), endJob(), and write_samples_plots().
|
private |
Definition at line 94 of file EnsembleCalibrationLA.cc.
References Book::begin(), Book::end(), FrontierConditions_GlobalTag_cff::file, create_public_lumi_plots::hist, Prefix, and write_samples_plots().
Referenced by analyze(), endJob(), and write_ensembles_text().
|
private |
Definition at line 52 of file EnsembleCalibrationLA.cc.
References calibrations, gather_cfg::cout, LA_Filler_Fitter::ensemble_summary(), FrontierConditions_GlobalTag_cff::file, cmsPerfStripChart::format, diffTreeTool::index, diffTwoXMLs::label, LA_Filler_Fitter::layer_index(), geometryCSVtoXML::line, LA_Filler_Fitter::offset_slope(), MillePedeFileConverter_cfg::out, Prefix, LA_Filler_Fitter::pull(), AlCaHLTBitMon_QueryRunRegistry::string, heppy_report::summary, sistrip::TIB, and write_ensembles_plots().
Referenced by analyze(), and endJob().
|
private |
Definition at line 102 of file EnsembleCalibrationLA.cc.
References Book::begin(), Book::end(), FrontierConditions_GlobalTag_cff::file, create_public_lumi_plots::hist, Prefix, and write_calibrations().
Referenced by analyze(), endJob(), and write_ensembles_plots().
|
private |
Definition at line 40 of file EnsembleCalibrationLA.h.
Referenced by write_calibrations(), and write_ensembles_text().
|
private |
Definition at line 28 of file EnsembleCalibrationLA.h.
Referenced by endJob().
|
private |
Definition at line 26 of file EnsembleCalibrationLA.h.
Referenced by endJob().
|
private |
Definition at line 25 of file EnsembleCalibrationLA.h.
Referenced by endJob(), and VarParsing.VarParsing::parseArguments().
|
private |
Definition at line 28 of file EnsembleCalibrationLA.h.
Referenced by endJob().
|
private |
Definition at line 27 of file EnsembleCalibrationLA.h.
Referenced by endJob().
|
private |
Definition at line 27 of file EnsembleCalibrationLA.h.
Referenced by python.rootplot.utilities.Hist::__init_TGraph(), python.rootplot.utilities.Hist::__len__(), python.rootplot.root2matplotlib.Hist::_prepare_xaxis(), python.rootplot.root2matplotlib.Hist::_prepare_yaxis(), python.rootplot.utilities.Hist::av_xerr(), python.rootplot.utilities.Hist::av_yerr(), python.rootplot.utilities.Hist::delete_bin(), python.rootplot.utilities.Hist::divide(), endJob(), python.rootplot.utilities.Hist::TGraph(), and python.rootplot.utilities.Hist::TH1F().
|
private |
Definition at line 26 of file EnsembleCalibrationLA.h.
Referenced by write_calibrations(), write_ensembles_plots(), write_ensembles_text(), and write_samples_plots().
|
private |
Definition at line 27 of file EnsembleCalibrationLA.h.
Referenced by endJob().
|
private |
Definition at line 42 of file EnsembleCalibrationLA.h.
|
private |
Definition at line 29 of file EnsembleCalibrationLA.h.
Referenced by endJob().