#include <MuonAnalysis/MomentumScaleCalibration/plugins/ErrorsAnalyzer.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) |
void | endJob () override |
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::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 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 45 of file ErrorsAnalyzer.cc.
|
explicit |
Definition at line 97 of file ErrorsAnalyzer.cc.
References gather_cfg::cout, errorFactors_, errors_, etaBins_, etaMax_, etaMin_, beamvalidation::exit(), fillValueError(), edm::ParameterSet::getParameter(), parameters_, ptBins_, ptMax_, ptMin_, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaMassVsPt_, sigmaMassVsPtMinusErr_, sigmaMassVsPtPlusErr_, sigmaPtVsEta_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, sigmaPtVsPt_, sigmaPtVsPtMinusErr_, and sigmaPtVsPtPlusErr_.
|
override |
Definition at line 155 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_.
|
overrideprivatevirtual |
|
private |
Definition at line 172 of file ErrorsAnalyzer.cc.
References svgfig::canvas(), timingPdfMaker::histo, mps_fire::i, sigmaMassVsEta_, sigmaMassVsEtaMinusErr_, sigmaMassVsEtaPlusErr_, sigmaPtVsEta_, sigmaPtVsEtaMinusErr_, sigmaPtVsEtaPlusErr_, runGCPTkAlMap::title, and contentValuesCheck::values.
Referenced by ~ErrorsAnalyzer().
|
inlineoverrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 58 of file ErrorsAnalyzer.cc.
|
private |
Definition at line 287 of file ErrorsAnalyzer.cc.
References gather_cfg::cout, MuScleFitUtils::debug, debug_, MuScleFitUtils::debugMassResol_, HLT_2023v12_cff::eta1, HLT_2023v12_cff::eta2, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, MuScleFitUtils::massResolution(), maxEvents_, parameters_, HLT_2023v12_cff::pt1, HLT_2023v12_cff::pt2, 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 141 of file ErrorsAnalyzer.cc.
References errorFactors_, errors_, mps_fire::i, parameters_, valueMinusError_, and valuePlusError_.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 70 of file ErrorsAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 74 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer(), and fillValueError().
|
private |
Definition at line 73 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer(), and fillValueError().
|
private |
Definition at line 67 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 69 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 68 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 62 of file ErrorsAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 63 of file ErrorsAnalyzer.cc.
Referenced by ~ErrorsAnalyzer().
|
private |
Definition at line 72 of file ErrorsAnalyzer.cc.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Types.EDAlias::clone(), Mixins._TypedParameterizable::copy(), ErrorsAnalyzer(), fillHistograms(), and fillValueError().
|
private |
Definition at line 64 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 66 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 65 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer().
|
private |
Definition at line 61 of file ErrorsAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 88 of file ErrorsAnalyzer.cc.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 90 of file ErrorsAnalyzer.cc.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 89 of file ErrorsAnalyzer.cc.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 92 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 94 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 93 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 79 of file ErrorsAnalyzer.cc.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 81 of file ErrorsAnalyzer.cc.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 80 of file ErrorsAnalyzer.cc.
Referenced by drawHistograms(), ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 83 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 85 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 84 of file ErrorsAnalyzer.cc.
Referenced by ErrorsAnalyzer(), fillHistograms(), and ~ErrorsAnalyzer().
|
private |
Definition at line 58 of file ErrorsAnalyzer.cc.
Referenced by fillHistograms().
|
private |
Definition at line 77 of file ErrorsAnalyzer.cc.
Referenced by fillHistograms(), and fillValueError().
|
private |
Definition at line 76 of file ErrorsAnalyzer.cc.
Referenced by fillHistograms(), and fillValueError().