Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
enum | fitMode { landau = 1, landauAroundMax = 2, landauGauss = 3, fake = 4 } |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
std::map< std::string, TH1 * > | bookQualityMonitor (const TFileDirectory &dir) |
void | checkAndRetrieveTopology (const edm::EventSetup &setup) |
void | checkBookAPVColls (const edm::EventSetup &es) |
void | doFakeFit (TH1 *InputHisto, double *FitResults) |
void | endJob () override |
void | fill1D (std::map< std::string, TH1 *> &h, const std::string &s, double x) |
void | fill2D (std::map< std::string, TH1 *> &h, const std::string &s, double x, double y) |
void | fillQualityMonitor () |
std::unique_ptr< SiStripApvGain > | getNewObject () |
void | getPeakOfLandau (TH1 *InputHisto, double *FitResults, double LowRange=50, double HighRange=5400) |
void | getPeakOfLandauAroundMax (TH1 *InputHisto, double *FitResults, double LowRange=100, double HighRange=100) |
void | getPeakOfLanGau (TH1 *InputHisto, double *FitResults, double LowRange=50, double HighRange=5400) |
bool | isGoodLandauFit (double *FitResults) |
bool | isValidMode (int mode) const |
void | makeNicePlotStyle (TH1F *plot) |
void | storeOnTree (TFileService *tfs) |
Static Private Member Functions | |
static double | langaufun (Double_t *x, Double_t *par) |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
Definition at line 69 of file SiStripApvGainInspector.cc.
|
private |
Enumerator | |
---|---|
landau | |
landauAroundMax | |
landauGauss | |
fake |
Definition at line 111 of file SiStripApvGainInspector.cc.
|
explicit |
Definition at line 169 of file SiStripApvGainInspector.cc.
References Charge_Vs_Index, entries_map, filename_, fin, fitChi2_map, fitMode_, fitModeStrings, edm::ParameterSet::getParameter(), isValidMode(), cond::service::PoolDBOutputService::kSharedResource, TFileService::kSharedResource, mod(), mpv_err_map, mpv_map, new_payload_map, old_payload_map, ratio_map, jetUpdater_cfi::sort, and wantedmods.
|
override |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 247 of file SiStripApvGainInspector.cc.
References a, sistrip::APV, APVsColl, APVsCollOrdered, BAD, Charge_Vs_Index, checkAndRetrieveTopology(), checkBookAPVColls(), doFakeFit(), beamvalidation::exit(), fake, fitMode_, gainToken_, SiStripGain::getApvGain(), edm::EventSetup::getHandle(), SiStripGain::getNumberOfTags(), getPeakOfLandau(), getPeakOfLandauAroundMax(), getPeakOfLanGau(), SiStripGain::getRange(), GOOD, histoMap_, Exhume::I, SiStripQuality::IsApvBad(), isGoodLandauFit(), edm::ESHandleBase::isValid(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, landau, landauAroundMax, landauGauss, mod(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, qualityToken_, mps_setup::stdout, and wantedmods.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 875 of file SiStripApvGainInspector.cc.
References bookQualityMonitor(), hControl, TFileService::mkdir(), and tfs.
|
private |
Definition at line 954 of file SiStripApvGainInspector.cc.
References DeadROC_duringRun::dir, and h.
Referenced by beginJob().
|
private |
Definition at line 620 of file SiStripApvGainInspector.cc.
References edm::ESHandle< T >::product(), singleTopDQM_cfi::setup, tTopo_, and tTopoToken_.
Referenced by analyze().
|
private |
Definition at line 369 of file SiStripApvGainInspector.cc.
References sistrip::APV, APVsColl, APVsCollOrdered, bareTkGeomPtr_, TrackerGeometry::dets(), edm::EventSetup::getHandle(), mps_fire::i, dqmiolumiharvest::j, PixelTopology::ncolumns(), NPixelDets, PixelTopology::nrows(), NStripAPVs, StripTopology::nstrips(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::rawId(), ntupleEnum::SubDet, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, tkGeom_, tkGeomToken_, and StripSubdetector::TOB.
Referenced by analyze().
|
private |
Definition at line 653 of file SiStripApvGainInspector.cc.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 882 of file SiStripApvGainInspector.cc.
References alignmentValidation::c1, cond::service::PoolDBOutputService::currentTime(), entries_map, fillQualityMonitor(), fitChi2_map, getNewObject(), SiStripMiscalibrate::getTruncatedRange(), histoMap_, edm::Service< T >::isAvailable(), makeNicePlotStyle(), mpv_err_map, mpv_map, new_payload_map, old_payload_map, Utilities::operator, plotFactory::plot, isotrackApplyRegressor::range, ratio_map, storeOnTree(), tfs, and cond::service::PoolDBOutputService::writeOneIOV().
|
inlineprivate |
Definition at line 94 of file SiStripApvGainInspector.cc.
References h, alignCSCRings::s, and x.
Referenced by fillQualityMonitor().
|
inlineprivate |
Definition at line 102 of file SiStripApvGainInspector.cc.
References h, alignCSCRings::s, x, and y.
Referenced by fillQualityMonitor().
|
static |
Definition at line 1134 of file SiStripApvGainInspector.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 1020 of file SiStripApvGainInspector.cc.
References a, sistrip::APV, APVsCollOrdered, fill1D(), fill2D(), IntegrityClient_cfi::Gain, hControl, VtxSmearedParameters_cfi::Phi, dttmaxenums::R, ntupleEnum::SubDet, and z.
Referenced by endJob().
|
private |
Definition at line 838 of file SiStripApvGainInspector.cc.
References a, sistrip::APV, APVsCollOrdered, LogDebug, getGTfromDQMFile::obj, and isotrackApplyRegressor::range.
Referenced by endJob().
|
private |
Definition at line 628 of file SiStripApvGainInspector.cc.
References minNrEntries.
Referenced by analyze().
|
private |
Definition at line 759 of file SiStripApvGainInspector.cc.
References minNrEntries.
Referenced by analyze().
|
private |
Definition at line 718 of file SiStripApvGainInspector.cc.
References mps_fire::i, langaufun(), and minNrEntries.
Referenced by analyze().
|
private |
Definition at line 811 of file SiStripApvGainInspector.cc.
Referenced by analyze().
|
inlineprivate |
Definition at line 120 of file SiStripApvGainInspector.cc.
References fake, landau, landauAroundMax, landauGauss, and ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
Referenced by SiStripApvGainInspector().
|
staticprivate |
Definition at line 663 of file SiStripApvGainInspector.cc.
References mps_fire::i, np, x, and geometryCSVtoXML::xx.
Referenced by getPeakOfLanGau().
|
private |
Definition at line 820 of file SiStripApvGainInspector.cc.
References plotFactory::plot.
Referenced by endJob().
|
private |
Definition at line 479 of file SiStripApvGainInspector.cc.
References a, SiStripMiscalibrate::Entry::add(), sistrip::APV, APVsCollOrdered, Charge_Vs_Index, entries_map, fitChi2(), fitChi2_map, TFileService::make(), SiStripMiscalibrate::Entry::mean(), mpv_err_map, mpv_map, new_payload_map, old_payload_map, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, ratio_map, SiStripMiscalibrate::Entry::reset(), and tfs.
Referenced by endJob().
|
private |
Definition at line 146 of file SiStripApvGainInspector.cc.
Referenced by analyze(), and checkBookAPVColls().
|
private |
Definition at line 145 of file SiStripApvGainInspector.cc.
Referenced by analyze(), checkBookAPVColls(), fillQualityMonitor(), getNewObject(), and storeOnTree().
|
private |
Definition at line 142 of file SiStripApvGainInspector.cc.
Referenced by analyze().
|
private |
Definition at line 135 of file SiStripApvGainInspector.cc.
Referenced by checkBookAPVColls().
|
private |
Definition at line 148 of file SiStripApvGainInspector.cc.
Referenced by analyze(), SiStripApvGainInspector(), and storeOnTree().
|
private |
Definition at line 160 of file SiStripApvGainInspector.cc.
Referenced by endJob(), SiStripApvGainInspector(), and storeOnTree().
|
private |
Definition at line 151 of file SiStripApvGainInspector.cc.
Referenced by SiStripApvGainInspector().
|
private |
Definition at line 149 of file SiStripApvGainInspector.cc.
Referenced by SiStripApvGainInspector(), and ~SiStripApvGainInspector().
|
private |
Definition at line 161 of file SiStripApvGainInspector.cc.
Referenced by endJob(), SiStripApvGainInspector(), and storeOnTree().
|
private |
Definition at line 150 of file SiStripApvGainInspector.cc.
Referenced by analyze(), and SiStripApvGainInspector().
|
private |
Definition at line 113 of file SiStripApvGainInspector.cc.
Referenced by SiStripApvGainInspector().
|
private |
Definition at line 124 of file SiStripApvGainInspector.cc.
Referenced by analyze().
|
private |
Definition at line 141 of file SiStripApvGainInspector.cc.
Referenced by analyze().
|
private |
Definition at line 163 of file SiStripApvGainInspector.cc.
Referenced by beginJob(), and fillQualityMonitor().
|
private |
Definition at line 132 of file SiStripApvGainInspector.cc.
|
private |
Definition at line 143 of file SiStripApvGainInspector.cc.
|
private |
Definition at line 152 of file SiStripApvGainInspector.cc.
Referenced by getPeakOfLandau(), getPeakOfLandauAroundMax(), and getPeakOfLanGau().
|
private |
Definition at line 159 of file SiStripApvGainInspector.cc.
Referenced by endJob(), SiStripApvGainInspector(), and storeOnTree().
|
private |
Definition at line 158 of file SiStripApvGainInspector.cc.
Referenced by endJob(), SiStripApvGainInspector(), and storeOnTree().
|
private |
Definition at line 157 of file SiStripApvGainInspector.cc.
Referenced by endJob(), SiStripApvGainInspector(), and storeOnTree().
|
private |
Definition at line 139 of file SiStripApvGainInspector.cc.
Referenced by checkBookAPVColls().
|
private |
Definition at line 138 of file SiStripApvGainInspector.cc.
Referenced by checkBookAPVColls().
|
private |
Definition at line 156 of file SiStripApvGainInspector.cc.
Referenced by endJob(), SiStripApvGainInspector(), and storeOnTree().
|
private |
Definition at line 125 of file SiStripApvGainInspector.cc.
Referenced by analyze().
|
private |
Definition at line 155 of file SiStripApvGainInspector.cc.
Referenced by endJob(), SiStripApvGainInspector(), and storeOnTree().
|
private |
Definition at line 129 of file SiStripApvGainInspector.cc.
Referenced by beginJob(), endJob(), and storeOnTree().
|
private |
Definition at line 134 of file SiStripApvGainInspector.cc.
Referenced by checkBookAPVColls().
|
private |
Definition at line 126 of file SiStripApvGainInspector.cc.
Referenced by checkBookAPVColls().
|
private |
Definition at line 136 of file SiStripApvGainInspector.cc.
Referenced by checkAndRetrieveTopology().
|
private |
Definition at line 127 of file SiStripApvGainInspector.cc.
Referenced by checkAndRetrieveTopology().
|
private |
Definition at line 153 of file SiStripApvGainInspector.cc.
Referenced by analyze(), and SiStripApvGainInspector().