#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, const TrackerTopology *tTopo) | |
LA_Filler_Fitter (int methods, bool layer, bool module, float localybin, unsigned stripbin, unsigned max, const TrackerTopology *tTopo) | |
std::string | layerLabel (const SiStripDetId) const |
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 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_ |
const TrackerTopology * | tTopo_ |
Definition at line 14 of file LA_Filler_Fitter.h.
Enumerator | |
---|---|
WIDTH | |
FIRST_METHOD | |
PROB1 | |
AVGV2 | |
AVGV3 | |
RMSV2 | |
RMSV3 | |
LAST_METHOD |
Definition at line 50 of file LA_Filler_Fitter.h.
|
inline |
Definition at line 17 of file LA_Filler_Fitter.h.
|
inline |
Definition at line 31 of file LA_Filler_Fitter.h.
poly< std::string > LA_Filler_Fitter::allAndOne | ( | const unsigned | width | ) | const |
Definition at line 77 of file LA_Filler.cc.
References ApeEstimator_cff::width.
Referenced by fill_one_cluster().
|
static |
Definition at line 78 of file LA_Results.cc.
References Book::begin(), Book::end(), visualization-live-secondInstance_cfg::m, method(), Skims_PA_cff::name, result(), bookConverter::results, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by summarize_ensembles().
|
static |
Definition at line 114 of file LA_Results.cc.
References newFWLiteAna::base, Book::begin(), Book::end(), Skims_PA_cff::name, pull(), alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and edmLumisInFiles::summary.
Referenced by sistrip::EnsembleCalibrationLA::write_ensembles_text().
void LA_Filler_Fitter::fill | ( | TTree * | tree, |
Book & | book | ||
) | const |
Definition at line 7 of file LA_Filler.cc.
References funct::cos(), ensembleBins_, fill_one_cluster(), granularity(), mps_fire::i, localYbin_, maxEvents_, N, Validation_hcalonly_cfi::sign, stripsPerBin_, SiStripDetId::subDetector(), edm::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 59 of file LA_Filler.cc.
References allAndOne(), ensembleBins_, Book::fill(), method(), methods_, varWidth(), ApeEstimator_cff::width, and WIDTH.
Referenced by fill().
|
static |
Definition at line 104 of file LA_Fitter.cc.
References mps_fire::end, gpuVertexFinder::hist, mps_fire::i, SiStripPI::max, SiStripPI::mean, SiStripPI::min, and SiStripPI::rms.
Referenced by make_and_fit_symmchi2().
|
inlinestatic |
Definition at line 110 of file LA_Filler_Fitter.h.
References fit_width_profile(), and make_and_fit_symmchi2().
Referenced by sistrip::EnsembleCalibrationLA::endJob(), sistrip::MeasureLA::MeasureLA(), and trackingPlots.Iteration::modules().
|
static |
Definition at line 8 of file LA_Fitter.cc.
References Book::begin(), Book::end(), Book::erase(), SiStripPI::max, method(), SiStripPI::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 94 of file LA_Filler.cc.
References funct::abs(), byLayer_, byModule_, ensembleBins_, ensembleLow_, ensembleSize_, ensembleUp_, layerLabel(), localYbin_, moduleLabel(), stripsPerBin_, subdetLabel(), and cond::impl::to_string().
Referenced by fill().
|
inlinestatic |
Definition at line 105 of file LA_Filler_Fitter.h.
References phase1PixelTopology::layer, and SectorBuilder_Tib_cff::TIB.
Referenced by sistrip::MeasureLA::calibration_key(), and sistrip::EnsembleCalibrationLA::write_ensembles_text().
|
static |
Definition at line 69 of file LA_Results.cc.
References Book::begin(), Book::end(), visualization-live-secondInstance_cfg::m, method(), Skims_PA_cff::name, result(), bookConverter::results, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by sistrip::MeasureLA::process_reports().
std::string LA_Filler_Fitter::layerLabel | ( | const SiStripDetId | detid | ) | const |
Definition at line 127 of file LA_Filler.cc.
References phase1PixelTopology::layer, DetId::subdetId(), subdetLabel(), StripSubdetector::TIB, TrackerTopology::tibLayer(), TrackerTopology::tibStereo(), cond::impl::to_string(), TrackerTopology::tobLayer(), TrackerTopology::tobStereo(), and tTopo_.
Referenced by granularity(), and sistrip::MeasureLA::summarize_module_muH_byLayer().
|
static |
Definition at line 40 of file LA_Fitter.cc.
References python.cmstools::all(), AVGV2, AVGV3, newFWLiteAna::base, Book::begin(), trigObjTnPSource_cfi::bins, Book::book(), hltPixelTracks_cff::chi2, Book::end(), Book::find(), find_rebin(), mps_check::guess, gpuVertexFinder::hist, SiStripPI::max, method(), PROB1, FastTimerService_cff::range, rms_profile(), RMSV2, RMSV3, AlCaHLTBitMon_QueryRunRegistry::string, subset_probability(), and SymmetryFit::symmetryChi2().
Referenced by fit().
|
inlinestatic |
Definition at line 61 of file LA_Filler_Fitter.h.
References AVGV2, AVGV3, visualization-live-secondInstance_cfg::m, 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 59 of file LA_Results.cc.
References Book::begin(), Book::end(), visualization-live-secondInstance_cfg::m, method(), result(), bookConverter::results, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by sistrip::MeasureLA::process_reports(), and sistrip::MeasureLA::summarize_module_muH_byLayer().
|
static |
Definition at line 124 of file LA_Filler.cc.
References subdetLabel(), and cond::impl::to_string().
Referenced by granularity().
|
static |
Definition at line 143 of file LA_Results.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, MillePedeFileConverter_cfg::e, x, and y.
Referenced by sistrip::EnsembleCalibrationLA::write_ensembles_text().
|
static |
Definition at line 167 of file LA_Results.cc.
References AlCaHLTBitMon_ParallelJobs::p, funct::pow(), and w().
Referenced by ensemble_summary(), and sistrip::EnsembleCalibrationLA::write_ensembles_text().
|
static |
Definition at line 11 of file LA_Results.cc.
References AVGV2, AVGV3, newFWLiteAna::base, f, h, visualization-live-secondInstance_cfg::m, method(), Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, PROB1, RMSV2, RMSV3, AlCaHLTBitMon_QueryRunRegistry::string, and WIDTH.
Referenced by ensemble_results(), layer_results(), and module_results().
|
static |
Definition at line 121 of file LA_Fitter.cc.
References trigObjTnPSource_cfi::bins, mps_fire::i, Skims_PA_cff::name, SiStripPI::rms, and mathSSE::sqrt().
Referenced by make_and_fit_symmchi2().
|
static |
Definition at line 121 of file LA_Filler.cc.
References SiStripDetId::subDetector(), and SiStripDetId::TOB.
Referenced by granularity(), layerLabel(), and moduleLabel().
|
static |
Definition at line 135 of file LA_Fitter.cc.
References B, trigObjTnPSource_cfi::bins, mps_fire::i, Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, TtFullHadEvtBuilder_cfi::prob, alignCSCRings::s, mathSSE::sqrt(), and dqmMemoryStats::total.
Referenced by make_and_fit_symmchi2().
void LA_Filler_Fitter::summarize_ensembles | ( | Book & | book | ) | const |
Definition at line 88 of file LA_Results.cc.
References ensemble_results(), ensembleBins_, ensembleLow_, ensembleUp_, Book::fill(), FIRST_METHOD, g, watchdog::group, LAST_METHOD, visualization-live-secondInstance_cfg::m, methods_, Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, bookConverter::results, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by sistrip::EnsembleCalibrationLA::endJob().
poly< std::string > LA_Filler_Fitter::varWidth | ( | const unsigned | width | ) | const |
Definition at line 84 of file LA_Filler.cc.
References AVGV2, AVGV3, method(), methods_, RMSV2, RMSV3, and ApeEstimator_cff::width.
Referenced by fill_one_cluster().
|
private |
Definition at line 133 of file LA_Filler_Fitter.h.
Referenced by granularity().
|
private |
Definition at line 133 of file LA_Filler_Fitter.h.
Referenced by granularity().
|
private |
Definition at line 131 of file LA_Filler_Fitter.h.
Referenced by fill(), fill_one_cluster(), granularity(), and summarize_ensembles().
|
private |
Definition at line 132 of file LA_Filler_Fitter.h.
Referenced by granularity(), and summarize_ensembles().
|
private |
Definition at line 131 of file LA_Filler_Fitter.h.
Referenced by granularity().
|
private |
Definition at line 132 of file LA_Filler_Fitter.h.
Referenced by granularity(), and summarize_ensembles().
|
private |
Definition at line 134 of file LA_Filler_Fitter.h.
Referenced by fill(), and granularity().
|
private |
Definition at line 136 of file LA_Filler_Fitter.h.
Referenced by fill().
|
private |
Definition at line 137 of file LA_Filler_Fitter.h.
Referenced by fill_one_cluster(), summarize_ensembles(), and varWidth().
|
private |
Definition at line 135 of file LA_Filler_Fitter.h.
Referenced by fill(), and granularity().
|
private |
Definition at line 138 of file LA_Filler_Fitter.h.
Referenced by layerLabel().