#include <MuonAnalysis/MomentumScaleCalibration/plugins/ErrorsPropagationAnalyzer.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, const TString &yLabel) |
void | endJob () override |
void | fillHistograms () |
void | fillValueError () |
double | massResolution (const lorentzVector &mu1, const lorentzVector &mu2, const std::vector< double > &parval, const double &sigmaPt1, const double &sigmaPt2) |
Modified method to take into account the error. More... | |
double | massResolution (const lorentzVector &mu1, const lorentzVector &mu2, double *parval, const double &sigmaPt1, const double &sigmaPt2) |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
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) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 46 of file ErrorsPropagationAnalyzer.cc.
|
explicit |
Definition at line 123 of file ErrorsPropagationAnalyzer.cc.
References gather_cfg::cout, errorFactors_, errors_, etaBins_, etaMax_, etaMin_, beamvalidation::exit(), fillValueError(), edm::ParameterSet::getParameter(), parameters_, ptBins_, ptMax_, ptMin_, sigmaMassOverMassVsEta_, sigmaMassOverMassVsEtaMinusErr_, sigmaMassOverMassVsEtaPlusErr_, sigmaMassOverMassVsPt_, sigmaMassOverMassVsPtMinusErr_, sigmaMassOverMassVsPtPlusErr_, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaMassVsPt_, sigmaMassVsPtMinusErr_, sigmaMassVsPtPlusErr_, sigmaPtVsEta_, sigmaPtVsEtaDiff_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, sigmaPtVsPt_, sigmaPtVsPtDiff_, sigmaPtVsPtMinusErr_, and sigmaPtVsPtPlusErr_.
|
override |
Definition at line 202 of file ErrorsPropagationAnalyzer.cc.
References drawHistograms(), fillHistograms(), download_sqlite_cfg::outputFile, outputFileName_, sigmaMassOverMassVsEta_, sigmaMassOverMassVsEtaMinusErr_, sigmaMassOverMassVsEtaPlusErr_, sigmaMassOverMassVsPt_, sigmaMassOverMassVsPtMinusErr_, sigmaMassOverMassVsPtPlusErr_, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaMassVsPt_, sigmaMassVsPtMinusErr_, sigmaMassVsPtPlusErr_, sigmaPtVsEta_, sigmaPtVsEtaDiff_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, sigmaPtVsPt_, sigmaPtVsPtDiff_, sigmaPtVsPtMinusErr_, and sigmaPtVsPtPlusErr_.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 368 of file ErrorsPropagationAnalyzer.cc.
|
private |
Definition at line 233 of file ErrorsPropagationAnalyzer.cc.
References svgfig::canvas(), timingPdfMaker::histo, mps_fire::i, sigmaMassOverMassVsEta_, sigmaMassOverMassVsEtaMinusErr_, sigmaMassOverMassVsEtaPlusErr_, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaPtVsEta_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, runGCPTkAlMap::title, and contentValuesCheck::values.
Referenced by ~ErrorsPropagationAnalyzer().
|
inlineoverrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 60 of file ErrorsPropagationAnalyzer.cc.
|
private |
Definition at line 448 of file ErrorsPropagationAnalyzer.cc.
References gather_cfg::cout, MuScleFitUtils::debug, debug_, MuScleFitUtils::debugMassResol_, errors_, HLT_2022v12_cff::eta1, HLT_2022v12_cff::eta2, etaMaxCut_, etaMinCut_, mps_fire::i, EgHLTOffHistBins_cfi::mass, massResolution(), maxEvents_, parameters_, HLT_2022v12_cff::pt1, HLT_2022v12_cff::pt2, ptMaxCut_, ptMinCut_, RootTreeHandler::readTree(), MuScleFitUtils::resfind, resolFitType_, MuScleFitUtils::resolutionFunction, resolutionFunctionService(), resolutionFunctionVecService(), sigmaMassOverMassVsEta_, sigmaMassOverMassVsEtaMinusErr_, sigmaMassOverMassVsEtaPlusErr_, sigmaMassOverMassVsPt_, sigmaMassOverMassVsPtMinusErr_, sigmaMassOverMassVsPtPlusErr_, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaMassVsPt_, sigmaMassVsPtMinusErr_, sigmaMassVsPtPlusErr_, resolutionFunctionBase< T >::sigmaPt(), resolutionFunctionBase< T >::sigmaPtError(), sigmaPtVsEta_, sigmaPtVsEtaDiff_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, sigmaPtVsPt_, sigmaPtVsPtDiff_, sigmaPtVsPtMinusErr_, sigmaPtVsPtPlusErr_, SigmaPtDiff::squaredDiff(), and treeFileName_.
Referenced by ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 188 of file ErrorsPropagationAnalyzer.cc.
References errorFactors_, errors_, mps_fire::i, parameters_, valueMinusError_, and valuePlusError_.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Modified method to take into account the error.
Definition at line 370 of file ErrorsPropagationAnalyzer.cc.
References triggerObjects_cff::id, createfilelist::int, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by fillHistograms().
|
private |
Definition at line 386 of file ErrorsPropagationAnalyzer.cc.
References funct::cos(), resolutionFunctionBase< T >::covPt1Pt2(), HLT_2022v12_cff::eta1, HLT_2022v12_cff::eta2, JetChargeProducer_cfi::exp, EgHLTOffHistBins_cfi::mass, MuScleFitUtils::mMu2, funct::pow(), HLT_2022v12_cff::pt1, HLT_2022v12_cff::pt2, MuScleFitUtils::resolutionFunction, resolutionFunctionBase< T >::sigmaCotgTh(), resolutionFunctionBase< T >::sigmaPhi(), funct::sin(), and mathSSE::sqrt().
|
private |
Definition at line 83 of file ErrorsPropagationAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 89 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), and fillValueError().
|
private |
Definition at line 88 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and fillValueError().
|
private |
Definition at line 80 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 82 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 85 of file ErrorsPropagationAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 81 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 85 of file ErrorsPropagationAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 75 of file ErrorsPropagationAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 76 of file ErrorsPropagationAnalyzer.cc.
Referenced by ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 87 of file ErrorsPropagationAnalyzer.cc.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Types.EDAlias::clone(), Mixins._TypedParameterizable::copy(), ErrorsPropagationAnalyzer(), fillHistograms(), and fillValueError().
|
private |
Definition at line 77 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 79 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 85 of file ErrorsPropagationAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 78 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 85 of file ErrorsPropagationAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 74 of file ErrorsPropagationAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 114 of file ErrorsPropagationAnalyzer.cc.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 116 of file ErrorsPropagationAnalyzer.cc.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 115 of file ErrorsPropagationAnalyzer.cc.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 118 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 120 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 119 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 106 of file ErrorsPropagationAnalyzer.cc.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 108 of file ErrorsPropagationAnalyzer.cc.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 107 of file ErrorsPropagationAnalyzer.cc.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 110 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 112 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 111 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 94 of file ErrorsPropagationAnalyzer.cc.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 102 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 96 of file ErrorsPropagationAnalyzer.cc.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 95 of file ErrorsPropagationAnalyzer.cc.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 98 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 103 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 100 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 99 of file ErrorsPropagationAnalyzer.cc.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 73 of file ErrorsPropagationAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 92 of file ErrorsPropagationAnalyzer.cc.
Referenced by fillValueError().
|
private |
Definition at line 91 of file ErrorsPropagationAnalyzer.cc.
Referenced by fillValueError().