#include <MuonAnalysis/MomentumScaleCalibration/plugins/ErrorsAnalyzer.cc>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | drawHistograms (const TProfile *histo, const TProfile *histoPlusErr, const TProfile *histoMinusErr, const TString &type) |
void | endJob () override |
void | fillHistograms () |
void | fillValueError () |
Private Attributes | |
bool | debug_ |
std::vector< int > | errorFactors_ |
std::vector< double > | errors_ |
int | etaBins_ |
double | etaMax_ |
double | etaMin_ |
uint32_t | maxEvents_ |
TString | outputFileName_ |
std::vector< double > | parameters_ |
int | ptBins_ |
double | ptMax_ |
double | ptMin_ |
int | resolFitType_ |
TProfile * | sigmaMassVsEta_ |
TProfile * | sigmaMassVsEtaMinusErr_ |
TProfile * | sigmaMassVsEtaPlusErr_ |
TProfile * | sigmaMassVsPt_ |
TProfile * | sigmaMassVsPtMinusErr_ |
TProfile * | sigmaMassVsPtPlusErr_ |
TProfile * | sigmaPtVsEta_ |
TProfile * | sigmaPtVsEtaMinusErr_ |
TProfile * | sigmaPtVsEtaPlusErr_ |
TProfile * | sigmaPtVsPt_ |
TProfile * | sigmaPtVsPtMinusErr_ |
TProfile * | sigmaPtVsPtPlusErr_ |
TString | treeFileName_ |
std::vector< double > | valueMinusError_ |
std::vector< double > | valuePlusError_ |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ESProduct , Transition Tr = Transition::Event> | |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, ESInputTag const &tag) |
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: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 48 of file ErrorsAnalyzer.h.
|
explicit |
Definition at line 6 of file ErrorsAnalyzer.cc.
References gather_cfg::cout, errorFactors_, errors_, etaBins_, etaMax_, etaMin_, cmsRelvalreport::exit, fillValueError(), edm::ParameterSet::getParameter(), parameters_, ptBins_, ptMax_, ptMin_, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaMassVsPt_, sigmaMassVsPtMinusErr_, sigmaMassVsPtPlusErr_, sigmaPtVsEta_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, sigmaPtVsPt_, sigmaPtVsPtMinusErr_, and sigmaPtVsPtPlusErr_.
|
override |
Definition at line 62 of file ErrorsAnalyzer.cc.
References drawHistograms(), fillHistograms(), download_sqlite_cfg::outputFile, outputFileName_, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaMassVsPt_, sigmaMassVsPtMinusErr_, sigmaMassVsPtPlusErr_, sigmaPtVsEta_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, sigmaPtVsPt_, sigmaPtVsPtMinusErr_, and sigmaPtVsPtPlusErr_.
|
overrideprivate |
Definition at line 177 of file ErrorsAnalyzer.cc.
|
private |
Definition at line 80 of file ErrorsAnalyzer.cc.
References svgfig::canvas(), mps_fire::i, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaPtVsEta_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, fftjetcommon_cfi::title, and MuonErrorMatrixValues_cff::values.
Referenced by ~ErrorsAnalyzer().
|
inlineoverrideprivatevirtual |
|
private |
Definition at line 181 of file ErrorsAnalyzer.cc.
References gather_cfg::cout, MuScleFitUtils::debug, debug_, MuScleFitUtils::debugMassResol_, DEFINE_FWK_MODULE, mps_fire::i, MuScleFitUtils::massResolution(), maxEvents_, parameters_, hiDetachedQuadStep_cff::pt1, hiDetachedQuadStep_cff::pt2, RootTreeHandler::readTree(), MuScleFitUtils::resfind, resolFitType_, MuScleFitUtils::resolutionFunction, resolutionFunctionService(), resolutionFunctionVecService(), sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaMassVsPt_, sigmaMassVsPtMinusErr_, sigmaMassVsPtPlusErr_, resolutionFunctionBase< T >::sigmaPt(), sigmaPtVsEta_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, sigmaPtVsPt_, sigmaPtVsPtMinusErr_, sigmaPtVsPtPlusErr_, treeFileName_, valueMinusError_, and valuePlusError_.
Referenced by ~ErrorsAnalyzer().
|
private |
Definition at line 47 of file ErrorsAnalyzer.cc.
References errorFactors_, errors_, mps_fire::i, parameters_, valueMinusError_, and valuePlusError_.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 71 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 75 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), and fillValueError().
|
private |
Definition at line 74 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), and fillValueError().
|
private |
Definition at line 68 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 70 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 69 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 63 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 64 of file ErrorsAnalyzer.h.
Referenced by ~ErrorsAnalyzer().
|
private |
Definition at line 73 of file ErrorsAnalyzer.h.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Mixins._TypedParameterizable::copy(), ErrorsAnalyzer(), fillHistograms(), and fillValueError().
|
private |
Definition at line 65 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 67 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 66 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 62 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 89 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 91 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 90 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 93 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 95 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 94 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 80 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 82 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 81 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 84 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 86 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 85 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 59 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 78 of file ErrorsAnalyzer.h.
Referenced by fillHistograms(), and fillValueError().
|
private |
Definition at line 77 of file ErrorsAnalyzer.h.
Referenced by fillHistograms(), and fillValueError().