Go to the documentation of this file. 1 #ifndef ERRORSANALYZER_HH
2 #define ERRORSANALYZER_HH
37 #include <TGraphAsymmErrors.h>
58 const TProfile* histoPlusErr,
59 const TProfile* histoMinusErr,
61 const TString& yLabel);
67 const std::vector<double>& parval,
68 const double& sigmaPt1,
69 const double& sigmaPt2);
73 const double& sigmaPt1,
74 const double& sigmaPt2);
126 #endif // RESOLUTIONANALYZER_HH
TProfile * sigmaMassVsEtaMinusErr_
TProfile * sigmaPtVsPtDiff_
TProfile * sigmaPtVsPtPlusErr_
std::vector< int > errorFactors_
ErrorsPropagationAnalyzer(const edm::ParameterSet &)
TProfile * sigmaMassOverMassVsEtaPlusErr_
TProfile * sigmaPtVsEtaMinusErr_
void drawHistograms(const TProfile *histo, const TProfile *histoPlusErr, const TProfile *histoMinusErr, const TString &type, const TString &yLabel)
TProfile * sigmaMassOverMassVsPt_
void analyze(const edm::Event &, const edm::EventSetup &) override
TProfile * sigmaPtVsEtaDiff_
std::vector< double > parameters_
TProfile * sigmaMassVsPtMinusErr_
std::vector< double > valuePlusError_
TProfile * sigmaPtVsEtaPlusErr_
reco::Particle::LorentzVector lorentzVector
TProfile * sigmaMassOverMassVsPtPlusErr_
TProfile * sigmaPtVsPtMinusErr_
TProfile * sigmaMassVsEtaPlusErr_
~ErrorsPropagationAnalyzer() override
TProfile * sigmaMassOverMassVsPtMinusErr_
TProfile * sigmaMassOverMassVsEta_
TProfile * sigmaMassOverMassVsEtaMinusErr_
TProfile * sigmaMassVsPt_
std::vector< double > valueMinusError_
TProfile * sigmaMassVsPtPlusErr_
TProfile * sigmaMassVsEta_
std::vector< double > errors_
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.