#include <MuonAnalysis/MomentumScaleCalibration/plugins/ErrorsPropagationAnalyzer.cc>
Public Member Functions | |
ErrorsPropagationAnalyzer (const edm::ParameterSet &) | |
~ErrorsPropagationAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
void | drawHistograms (const TProfile *histo, const TProfile *histoPlusErr, const TProfile *histoMinusErr, const TString &type, const TString &yLabel) |
virtual void | endJob () |
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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 50 of file ErrorsPropagationAnalyzer.h.
|
explicit |
Definition at line 6 of file ErrorsPropagationAnalyzer.cc.
References gather_cfg::cout, errorFactors_, errors_, etaBins_, etaMax_, etaMin_, cmsRelvalreport::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_.
ErrorsPropagationAnalyzer::~ErrorsPropagationAnalyzer | ( | ) |
Definition at line 77 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_.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 211 of file ErrorsPropagationAnalyzer.cc.
|
private |
Definition at line 101 of file ErrorsPropagationAnalyzer.cc.
References svgfig::canvas(), i, sigmaMassOverMassVsEta_, sigmaMassOverMassVsEtaMinusErr_, sigmaMassOverMassVsEtaPlusErr_, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaPtVsEta_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, indexGen::title, and makeHLTPrescaleTable::values.
Referenced by ~ErrorsPropagationAnalyzer().
|
inlineprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 62 of file ErrorsPropagationAnalyzer.h.
|
private |
Definition at line 286 of file ErrorsPropagationAnalyzer.cc.
References gather_cfg::cout, MuScleFitUtils::debug, debug_, MuScleFitUtils::debugMassResol_, errors_, etaMaxCut_, etaMinCut_, i, scaleCards::mass, massResolution(), maxEvents_, parameters_, 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 62 of file ErrorsPropagationAnalyzer.cc.
References errorFactors_, errors_, i, parameters_, valueMinusError_, and valuePlusError_.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Modified method to take into account the error.
Definition at line 215 of file ErrorsPropagationAnalyzer.cc.
References errorMatrix2Lands_multiChannel::id, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by fillHistograms().
|
private |
Definition at line 232 of file ErrorsPropagationAnalyzer.cc.
References funct::cos(), resolutionFunctionBase< T >::covPt1Pt2(), create_public_lumi_plots::exp, scaleCards::mass, MuScleFitUtils::mMu2, funct::pow(), MuScleFitUtils::resolutionFunction, resolutionFunctionBase< T >::sigmaCotgTh(), resolutionFunctionBase< T >::sigmaPhi(), funct::sin(), and mathSSE::sqrt().
|
private |
Definition at line 85 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 91 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), and fillValueError().
|
private |
Definition at line 90 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and fillValueError().
|
private |
Definition at line 82 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 84 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 87 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 83 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 87 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 77 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 78 of file ErrorsPropagationAnalyzer.h.
Referenced by ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 89 of file ErrorsPropagationAnalyzer.h.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Mixins._TypedParameterizable::copy(), ErrorsPropagationAnalyzer(), fillHistograms(), and fillValueError().
|
private |
Definition at line 79 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 81 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 87 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 80 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 87 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 76 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 116 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 118 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 117 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 120 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 122 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 121 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 108 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 110 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 109 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 112 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 114 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 113 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 96 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 104 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 98 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 97 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 100 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 105 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 102 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 101 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 75 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 94 of file ErrorsPropagationAnalyzer.h.
Referenced by fillValueError().
|
private |
Definition at line 93 of file ErrorsPropagationAnalyzer.h.
Referenced by fillValueError().