#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 | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (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_, beamvalidation::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 64 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_.
|
overrideprivatevirtual |
|
private |
Definition at line 81 of file ErrorsAnalyzer.cc.
References svgfig::canvas(), timingPdfMaker::histo, mps_fire::i, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaPtVsEta_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, runGCPTkAlMap::title, and contentValuesCheck::values.
Referenced by ~ErrorsAnalyzer().
|
inlineoverrideprivatevirtual |
|
private |
Definition at line 196 of file ErrorsAnalyzer.cc.
References gather_cfg::cout, MuScleFitUtils::debug, debug_, MuScleFitUtils::debugMassResol_, HLT_FULL_cff::eta1, HLT_FULL_cff::eta2, mps_fire::i, MuScleFitUtils::massResolution(), maxEvents_, parameters_, HLT_FULL_cff::pt1, HLT_FULL_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 50 of file ErrorsAnalyzer.cc.
References errorFactors_, errors_, mps_fire::i, parameters_, valueMinusError_, and valuePlusError_.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 73 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 77 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), and fillValueError().
|
private |
Definition at line 76 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), and fillValueError().
|
private |
Definition at line 70 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 72 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 71 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 65 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 66 of file ErrorsAnalyzer.h.
Referenced by ~ErrorsAnalyzer().
|
private |
Definition at line 75 of file ErrorsAnalyzer.h.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Types.EDAlias::clone(), Mixins._TypedParameterizable::copy(), ErrorsAnalyzer(), fillHistograms(), and fillValueError().
|
private |
Definition at line 67 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 69 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 68 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 64 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 91 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 93 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 92 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 95 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 97 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 96 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 82 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 84 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 83 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 86 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 88 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 87 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 61 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 80 of file ErrorsAnalyzer.h.
Referenced by fillHistograms(), and fillValueError().
|
private |
Definition at line 79 of file ErrorsAnalyzer.h.
Referenced by fillHistograms(), and fillValueError().