#include <MuonAnalysis/MomentumScaleCalibration/plugins/ErrorsPropagationAnalyzer.cc>
Public Member Functions | |
ErrorsPropagationAnalyzer (const edm::ParameterSet &) | |
~ErrorsPropagationAnalyzer () | |
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 |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 49 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 61 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, 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 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, MuScleFitUtils::mMu2, funct::pow(), MuScleFitUtils::resolutionFunction, resolutionFunctionBase< T >::sigmaCotgTh(), resolutionFunctionBase< T >::sigmaPhi(), funct::sin(), and mathSSE::sqrt().
|
private |
Definition at line 84 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 90 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), and fillValueError().
|
private |
Definition at line 89 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and fillValueError().
|
private |
Definition at line 81 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 83 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 86 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 82 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 86 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 76 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 77 of file ErrorsPropagationAnalyzer.h.
Referenced by ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 88 of file ErrorsPropagationAnalyzer.h.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Mixins._TypedParameterizable::copy(), ErrorsPropagationAnalyzer(), fillHistograms(), and fillValueError().
|
private |
Definition at line 78 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 80 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 86 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 79 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer().
|
private |
Definition at line 86 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 75 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 115 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 116 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 119 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 120 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 107 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 108 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 111 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 112 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 95 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 103 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 97 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 96 of file ErrorsPropagationAnalyzer.h.
Referenced by drawHistograms(), ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 99 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 104 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 100 of file ErrorsPropagationAnalyzer.h.
Referenced by ErrorsPropagationAnalyzer(), fillHistograms(), and ~ErrorsPropagationAnalyzer().
|
private |
Definition at line 74 of file ErrorsPropagationAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 93 of file ErrorsPropagationAnalyzer.h.
Referenced by fillValueError().
|
private |
Definition at line 92 of file ErrorsPropagationAnalyzer.h.
Referenced by fillValueError().