#include <MuonAnalysis/MomentumScaleCalibration/plugins/ErrorsAnalyzer.cc>
Public Member Functions | |
ErrorsAnalyzer (const edm::ParameterSet &) | |
~ErrorsAnalyzer () | |
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) |
virtual void | endJob () |
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 |
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 49 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_.
ErrorsAnalyzer::~ErrorsAnalyzer | ( | ) |
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_.
|
privatevirtual |
|
private |
Definition at line 80 of file ErrorsAnalyzer.cc.
References svgfig::canvas(), i, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaPtVsEta_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, indexGen::title, and makeHLTPrescaleTable::values.
Referenced by ~ErrorsAnalyzer().
|
inlineprivatevirtual |
|
private |
Definition at line 178 of file ErrorsAnalyzer.cc.
References gather_cfg::cout, MuScleFitUtils::debug, debug_, MuScleFitUtils::debugMassResol_, i, MuScleFitUtils::massResolution(), maxEvents_, parameters_, 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_, i, parameters_, valueMinusError_, and valuePlusError_.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 72 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 76 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), and fillValueError().
|
private |
Definition at line 75 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), and fillValueError().
|
private |
Definition at line 69 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 71 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 70 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 64 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 65 of file ErrorsAnalyzer.h.
Referenced by ~ErrorsAnalyzer().
|
private |
Definition at line 74 of file ErrorsAnalyzer.h.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Mixins._TypedParameterizable::copy(), ErrorsAnalyzer(), fillHistograms(), and fillValueError().
|
private |
Definition at line 66 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 68 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 67 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 63 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 90 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 91 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 94 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 95 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 81 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 82 of file ErrorsAnalyzer.h.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 85 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 86 of file ErrorsAnalyzer.h.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 60 of file ErrorsAnalyzer.h.
Referenced by fillHistograms().
|
private |
Definition at line 79 of file ErrorsAnalyzer.h.
Referenced by fillHistograms(), and fillValueError().
|
private |
Definition at line 78 of file ErrorsAnalyzer.h.
Referenced by fillHistograms(), and fillValueError().