#include <LA_Filler_Fitter.h>
Classes | |
struct | EnsembleSummary |
struct | Result |
Public Types | |
enum | Method { WIDTH =1<<0, FIRST_METHOD =1<<0, PROB1 =1<<1, AVGV2 =1<<2, AVGV3 =1<<3, RMSV2 =1<<4, RMSV3 =1<<5, LAST_METHOD =1<<5 } |
Public Member Functions | |
poly< std::string > | allAndOne (const unsigned width) const |
void | fill (TTree *, Book &) const |
void | fill_one_cluster (Book &, const poly< std::string > &, const unsigned, const float, const float, const float, const float) const |
poly< std::string > | granularity (const SiStripDetId, const float, const Long64_t, const float, const unsigned) const |
LA_Filler_Fitter (int methods, int M, int N, double low, double up, unsigned max) | |
LA_Filler_Fitter (int methods, bool layer, bool module, float localybin, unsigned stripbin, unsigned max) | |
void | summarize_ensembles (Book &) const |
poly< std::string > | varWidth (const unsigned width) const |
Static Public Member Functions | |
static std::map< std::string, std::vector< Result > > | ensemble_results (const Book &, const Method) |
static std::map< std::string, std::vector< EnsembleSummary > > | ensemble_summary (const Book &) |
static unsigned | find_rebin (const TH1 *const) |
static void | fit (Book &book) |
static void | fit_width_profile (Book &) |
static unsigned | layer_index (bool TIB, bool stereo, unsigned layer) |
static std::map< std::string, Result > | layer_results (const Book &, const Method) |
static std::string | layerLabel (const SiStripDetId) |
static void | make_and_fit_symmchi2 (Book &) |
static std::string | method (Method m, bool fit=true) |
static std::map< uint32_t, Result > | module_results (const Book &, const Method) |
static std::string | moduleLabel (const SiStripDetId) |
static std::pair< std::pair < float, float >, std::pair < float, float > > | offset_slope (const std::vector< EnsembleSummary > &) |
static float | pull (const std::vector< EnsembleSummary > &) |
static Result | result (Method, const std::string name, const Book &) |
static TH1 * | rms_profile (const std::string, const TProfile *const) |
static std::string | subdetLabel (const SiStripDetId) |
static TH1 * | subset_probability (const std::string name, const TH1 *const , const TH1 *const ) |
Private Attributes | |
const bool | byLayer_ |
const bool | byModule_ |
const int | ensembleBins_ |
const double | ensembleLow_ |
const int | ensembleSize_ |
const double | ensembleUp_ |
const float | localYbin_ |
const Long64_t | maxEvents_ |
const int | methods_ |
const unsigned | stripsPerBin_ |
Definition at line 14 of file LA_Filler_Fitter.h.
Enumerator | |
---|---|
WIDTH | |
FIRST_METHOD | |
PROB1 | |
AVGV2 | |
AVGV3 | |
RMSV2 | |
RMSV3 | |
LAST_METHOD |
Definition at line 38 of file LA_Filler_Fitter.h.
|
inline |
Definition at line 19 of file LA_Filler_Fitter.h.
|
inline |
Definition at line 29 of file LA_Filler_Fitter.h.
poly< std::string > LA_Filler_Fitter::allAndOne | ( | const unsigned | width | ) | const |
|
static |
Definition at line 73 of file LA_Results.cc.
References Book::begin(), Book::end(), method(), mergeVDriftHistosByStation::name, result(), and python.entryComment::results.
Referenced by summarize_ensembles().
|
static |
Definition at line 105 of file LA_Results.cc.
References newFWLiteAna::base, Book::begin(), Book::end(), LA_Filler_Fitter::EnsembleSummary::meanMeasured, LA_Filler_Fitter::EnsembleSummary::meanUncertainty, mergeVDriftHistosByStation::name, LA_Filler_Fitter::EnsembleSummary::pull, pull(), dt_dqm_sourceclient_common_cff::reco, alignCSCRings::s, LA_Filler_Fitter::EnsembleSummary::samples, LA_Filler_Fitter::EnsembleSummary::sigmaMeasured, edmLumisInFiles::summary, and LA_Filler_Fitter::EnsembleSummary::truth.
Referenced by sistrip::EnsembleCalibrationLA::write_ensembles_text().
void LA_Filler_Fitter::fill | ( | TTree * | tree, |
Book & | book | ||
) | const |
Definition at line 8 of file LA_Filler.cc.
References funct::cos(), cond::rpcobgas::detid, ensembleBins_, fill_one_cluster(), granularity(), i, localYbin_, maxEvents_, N, stripsPerBin_, SiStripDetId::subDetector(), swap(), funct::tan(), SiStripDetId::TIB, and SiStripDetId::TOB.
Referenced by sistrip::EnsembleCalibrationLA::endJob(), and sistrip::MeasureLA::MeasureLA().
void LA_Filler_Fitter::fill_one_cluster | ( | Book & | book, |
const poly< std::string > & | gran, | ||
const unsigned | width, | ||
const float | variance, | ||
const float | tthetaL, | ||
const float | tthetaT, | ||
const float | BdotY | ||
) | const |
Definition at line 45 of file LA_Filler.cc.
References allAndOne(), ensembleBins_, Book::fill(), method(), methods_, varWidth(), and WIDTH.
Referenced by fill().
|
static |
Definition at line 81 of file LA_Fitter.cc.
References begin, end, i, max(), timingPdfMaker::mean, min, and plotscripts::rms().
Referenced by make_and_fit_symmchi2().
|
inlinestatic |
Definition at line 87 of file LA_Filler_Fitter.h.
References fit_width_profile(), and make_and_fit_symmchi2().
Referenced by sistrip::EnsembleCalibrationLA::endJob(), fit_width_profile(), sistrip::MeasureLA::MeasureLA(), method(), and offset_slope().
|
static |
Definition at line 10 of file LA_Fitter.cc.
References Book::begin(), Book::end(), Book::erase(), fit(), max(), method(), min, AlCaHLTBitMon_ParallelJobs::p, and WIDTH.
Referenced by fit().
poly< std::string > LA_Filler_Fitter::granularity | ( | const SiStripDetId | detid, |
const float | tthetaL, | ||
const Long64_t | TFE_index, | ||
const float | localy, | ||
const unsigned | apvstrip | ||
) | const |
Definition at line 72 of file LA_Filler.cc.
References abs, byLayer_, byModule_, ensembleBins_, ensembleLow_, ensembleSize_, ensembleUp_, layerLabel(), localYbin_, moduleLabel(), stripsPerBin_, and subdetLabel().
Referenced by fill().
|
inlinestatic |
Definition at line 84 of file LA_Filler_Fitter.h.
Referenced by sistrip::MeasureLA::calibration_key(), and sistrip::EnsembleCalibrationLA::write_ensembles_text().
|
static |
Definition at line 63 of file LA_Results.cc.
References Book::begin(), Book::end(), method(), mergeVDriftHistosByStation::name, result(), and python.entryComment::results.
Referenced by sistrip::MeasureLA::process_reports().
|
static |
Definition at line 92 of file LA_Filler.cc.
References cond::rpcobgas::detid, TOBDetId::layer(), TIBDetId::layer(), SiStripDetId::stereo(), SiStripDetId::subDetector(), subdetLabel(), and SiStripDetId::TOB.
Referenced by granularity(), and sistrip::MeasureLA::summarize_module_muH_byLayer().
|
static |
Definition at line 34 of file LA_Fitter.cc.
References cond::ecalcond::all, AVGV2, AVGV3, newFWLiteAna::base, Book::begin(), combineCards::bins, Book::book(), Book::end(), Book::find(), find_rebin(), estimatePileup::hist, max(), method(), PROB1, rms_profile(), RMSV2, RMSV3, subset_probability(), and SymmetryFit::symmetryChi2().
Referenced by fit().
|
inlinestatic |
Definition at line 45 of file LA_Filler_Fitter.h.
References AVGV2, AVGV3, fit(), SymmetryFit::name(), PROB1, RMSV2, RMSV3, and WIDTH.
Referenced by ensemble_results(), fill_one_cluster(), fit_width_profile(), layer_results(), make_and_fit_symmchi2(), module_results(), result(), sistrip::MeasureLA::summarize_module_muH_byLayer(), varWidth(), sistrip::MeasureLA::write_report_plots(), and sistrip::MeasureLA::write_report_text_ms().
|
static |
Definition at line 51 of file LA_Results.cc.
References Book::begin(), cond::rpcobgas::detid, Book::end(), method(), result(), and python.entryComment::results.
Referenced by sistrip::MeasureLA::process_reports(), and sistrip::MeasureLA::summarize_module_muH_byLayer().
|
static |
Definition at line 90 of file LA_Filler.cc.
References cond::rpcobgas::detid, and subdetLabel().
Referenced by granularity().
|
static |
Definition at line 130 of file LA_Results.cc.
References dtNoiseDBValidation_cfg::cerr, alignCSCRings::e, fit(), LA_Filler_Fitter::EnsembleSummary::meanMeasured, LA_Filler_Fitter::EnsembleSummary::truth, x, and detailsBasic3DVector::y.
Referenced by sistrip::EnsembleCalibrationLA::write_ensembles_text().
|
static |
Definition at line 152 of file LA_Results.cc.
References AlCaHLTBitMon_ParallelJobs::p, funct::pow(), LA_Filler_Fitter::EnsembleSummary::pull, and w().
Referenced by ensemble_summary(), and sistrip::EnsembleCalibrationLA::write_ensembles_text().
|
static |
Definition at line 14 of file LA_Results.cc.
References AVGV2, AVGV3, newFWLiteAna::base, LA_Filler_Fitter::Result::chi2, LA_Filler_Fitter::Result::entries, f, LA_Filler_Fitter::Result::field, h, LA_Filler_Fitter::Result::measured, method(), mergeVDriftHistosByStation::name, LA_Filler_Fitter::Result::ndof, AlCaHLTBitMon_ParallelJobs::p, PROB1, LA_Filler_Fitter::Result::reco, dt_dqm_sourceclient_common_cff::reco, RMSV2, RMSV3, and WIDTH.
Referenced by ensemble_results(), layer_results(), and module_results().
|
static |
Definition at line 95 of file LA_Fitter.cc.
References combineCards::bins, i, plotscripts::rms(), and mathSSE::sqrt().
Referenced by make_and_fit_symmchi2().
|
static |
Definition at line 88 of file LA_Filler.cc.
References SiStripDetId::subDetector(), and SiStripDetId::TOB.
Referenced by granularity(), layerLabel(), and moduleLabel().
|
static |
Definition at line 108 of file LA_Fitter.cc.
References combineCards::bins, i, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::s, and mathSSE::sqrt().
Referenced by make_and_fit_symmchi2().
void LA_Filler_Fitter::summarize_ensembles | ( | Book & | book | ) | const |
Definition at line 83 of file LA_Results.cc.
References ensemble_results(), ensembleBins_, ensembleLow_, ensembleUp_, Book::fill(), FIRST_METHOD, g, LAST_METHOD, m, LA_Filler_Fitter::Result::measured, methods_, mergeVDriftHistosByStation::name, AlCaHLTBitMon_ParallelJobs::p, errorMatrix2Lands_multiChannel::pad, LA_Filler_Fitter::Result::reco, and python.entryComment::results.
Referenced by sistrip::EnsembleCalibrationLA::endJob().
poly< std::string > LA_Filler_Fitter::varWidth | ( | const unsigned | width | ) | const |
Definition at line 64 of file LA_Filler.cc.
References AVGV2, AVGV3, method(), methods_, RMSV2, and RMSV3.
Referenced by fill_one_cluster().
|
private |
Definition at line 108 of file LA_Filler_Fitter.h.
Referenced by granularity().
|
private |
Definition at line 108 of file LA_Filler_Fitter.h.
Referenced by granularity().
|
private |
Definition at line 106 of file LA_Filler_Fitter.h.
Referenced by fill(), fill_one_cluster(), granularity(), and summarize_ensembles().
|
private |
Definition at line 107 of file LA_Filler_Fitter.h.
Referenced by granularity(), and summarize_ensembles().
|
private |
Definition at line 106 of file LA_Filler_Fitter.h.
Referenced by granularity().
|
private |
Definition at line 107 of file LA_Filler_Fitter.h.
Referenced by granularity(), and summarize_ensembles().
|
private |
Definition at line 109 of file LA_Filler_Fitter.h.
Referenced by fill(), and granularity().
|
private |
Definition at line 111 of file LA_Filler_Fitter.h.
Referenced by fill().
|
private |
Definition at line 112 of file LA_Filler_Fitter.h.
Referenced by fill_one_cluster(), summarize_ensembles(), and varWidth().
|
private |
Definition at line 110 of file LA_Filler_Fitter.h.
Referenced by fill(), and granularity().