Private Member Functions | |
void | algoAnalyze (const edm::Event &e, const edm::EventSetup &c) override |
void | computeEff (vector< TH1F *> &vhfound, vector< TH1F *> &vhtotal, string name) |
TString | getLayerSideName (Long_t k) |
std::unique_ptr< SiStripBadStrip > | getNewObject () override |
void | makeHotColdMaps () |
void | makeSQLite () |
void | makeSummary () |
void | makeSummaryVsBx () |
void | makeSummaryVsCM () |
void | makeSummaryVsLumi () |
void | makeTKMap (bool autoTagging) |
void | setBadComponents (int i, int component, SiStripQuality::BadComponent &BC, std::stringstream ssV[4][19], int NBadComponent[4][19][4]) |
void | totalStatistics () |
Static Private Attributes | |
static constexpr double | nBxInAnOrbit_ = 3565 |
static constexpr int | siStripLayers_ = 22 |
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 ConditionDBWriter< SiStripBadStrip > | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
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 ConditionDBWriter< SiStripBadStrip > | |
void | setDoStore (const bool doStore) |
When set to false the payload will not be written to the db. More... | |
void | storeOnDbNow () |
cond::Time_t | timeOfLastIOV () |
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 94 of file SiStripHitEffFromCalibTree.cc.
|
explicit |
Definition at line 198 of file SiStripHitEffFromCalibTree.cc.
References autoIneffModTagging_, badModulesFile_, bunchX_, calibTreeFileNames_, clusterMatchingMethod_, clusterTrajDist_, detInfo_, effPlotMin_, fileInPath_, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), TFileService::kSharedResource, nModsMin_, nTEClayers, quality_, SiStripDetInfoFileReader::read(), resXSig_, showEndcapSides_, showOnlyGoodModules_, showRings_, showTOB6TEC9_, AlCaHarvesting_cff::SiStripQuality, spaceBetweenTrains_, storeModEff_, AlCaHLTBitMon_QueryRunRegistry::string, stripsApvEdge_, threshold_, title_, tkMapMin_, useCM_, and useOnlyHighPurityTracks_.
|
overridedefault |
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 234 of file SiStripHitEffFromCalibTree.cc.
References a, funct::abs(), accept(), alllayerfound, alllayertotal, autoIneffModTagging_, badModulesFile_, nano_mu_local_reco_cff::bool, Surface::bounds(), bunchX_, nano_mu_digi_cff::bx, bxHisto, bxHisto_cutOnTracks, HltBtagPostValidation_cff::c, calibTree_, calibTreeFileNames_, clusterMatchingMethod_, clusterTrajDist_, SiStripBadStrip::decode(), detInfo_, MillePedeFileConverter_cfg::e, mps_fire::end, event_used, eventInfos, cppFunctionSkipper::exception, fs, SiStripQuality::getBadComponentList(), SiStripBadStrip::getDataVectorBegin(), SiStripDetInfo::getNumberOfApvsAndStripLength(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), goodlayerfound, goodlayertotal, muons_cff::highPurity, hits, mps_fire::i, l1ctLayer2EG_cff::id, hit::id, muonGEMDigis_cfi::instLumi, instLumiHisto, instLumiHisto_cutOnTracks, createfilelist::int, dqmiolumiharvest::j, dqmdumpme::k, MainPageGenerator::l, nano_mu_digi_cff::layer, layerfound, layerfound_perBx, layerfound_vsBX, layerfound_vsCM, layerfound_vsLumi, layerfound_vsPU, layertotal, layertotal_perBx, layertotal_vsBX, layertotal_vsCM, layertotal_vsLumi, layertotal_vsPU, mps_splice::line, LOGPRINT, TFileService::make(), makeHotColdMaps(), makeSQLite(), makeSummary(), makeSummaryVsBx(), makeSummaryVsCM(), makeSummaryVsLumi(), makeTKMap(), modCounter, mps_splice::mods, nBxInAnOrbit_, createIOVlist::nevents, nevt, nModsMin_, StripTopology::nstrips(), nTEClayers, MLClient_cfi::PU, PUHisto, PUHisto_cutOnTracks, quality, quality_, SiStripBadStrip::data::range, FastTimerService_cff::range, resXSig_, writedatasetfile::run, setBadComponents(), showRings_, showTOB6TEC9_, siStripLayers_, StripGeomDetUnit::specificTopology(), contentValuesCheck::ss, str, AlCaHLTBitMon_QueryRunRegistry::string, TrackingMonitor_cfi::stripCluster, stripsApvEdge_, GeomDet::surface(), SiStripDetId::TEC, threshold_, SiStripDetId::TIB, SiStripDetId::TID, tkGeomToken_, SiStripDetId::TOB, totalStatistics(), tTopoToken_, useCM_, useOnlyHighPurityTracks_, Bounds::width(), x, hit::x, testProducerWithPsetDescEmpty_cfi::x1, y, hit::y, z, and hit::z.
|
private |
Definition at line 1524 of file SiStripHitEffFromCalibTree.cc.
References MillePedeFileConverter_cfg::e, dqm-mbProfile::format, fs, mps_fire::i, TFileService::make(), Skims_PA_cff::name, MuonTCMETValueMapProducer_cff::nLayers, nTEClayers, showRings_, and siStripLayers_.
Referenced by makeSummaryVsCM(), and makeSummaryVsLumi().
|
private |
Definition at line 1605 of file SiStripHitEffFromCalibTree.cc.
References dqmdumpme::k, nTEClayers, and showRings_.
Referenced by makeSummary().
|
overrideprivatevirtual |
Implements ConditionDBWriter< SiStripBadStrip >.
Definition at line 1627 of file SiStripHitEffFromCalibTree.cc.
References SiStripBadStrip::getDataVectorBegin(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), getGTfromDQMFile::obj, quality_, and FastTimerService_cff::range.
|
private |
Definition at line 906 of file SiStripHitEffFromCalibTree.cc.
References fs, hits, HotColdMaps, LOGPRINT, TFileService::make(), phi, and siStripLayers_.
Referenced by algoAnalyze().
|
private |
Definition at line 1182 of file SiStripHitEffFromCalibTree.cc.
References BadModules, SiStripQuality::compact(), detInfo_, SiStripQuality::fillBadComponents(), SiStripDetInfo::getNumberOfApvsAndStripLength(), globals_cff::id1, createfilelist::int, LOGPRINT, SiStripBadStrip::put(), quality_, and FastTimerService_cff::range.
Referenced by algoAnalyze().
|
private |
Definition at line 1258 of file SiStripHitEffFromCalibTree.cc.
References python.cmstools::all(), alllayerfound, alllayertotal, MillePedeFileConverter_cfg::e, effPlotMin_, newFWLiteAna::found, fs, getLayerSideName(), goodlayerfound, goodlayertotal, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, label, LOGPRINT, TFileService::make(), MuonTCMETValueMapProducer_cff::nLayers, nTEClayers, compare::overlay(), showEndcapSides_, showOnlyGoodModules_, showRings_, showTOB6TEC9_, siStripLayers_, and title_.
Referenced by algoAnalyze().
|
private |
Definition at line 1443 of file SiStripHitEffFromCalibTree.cc.
References MillePedeFileConverter_cfg::e, nano_mu_digi_cff::float, dqm-mbProfile::format, newFWLiteAna::found, fs, layerfound_perBx, layerfound_vsBX, layertotal_perBx, layertotal_vsBX, LOGPRINT, LaserClient_cfi::low, TFileService::make(), nBxInAnOrbit_, MuonTCMETValueMapProducer_cff::nLayers, nTEClayers, showRings_, siStripLayers_, spaceBetweenTrains_, dqmMemoryStats::total, and up.
Referenced by algoAnalyze().
|
private |
Definition at line 1600 of file SiStripHitEffFromCalibTree.cc.
References computeEff(), layerfound_vsCM, layertotal_vsCM, and LOGPRINT.
Referenced by algoAnalyze().
|
private |
Definition at line 1562 of file SiStripHitEffFromCalibTree.cc.
References computeEff(), instLumiHisto, layerfound_vsLumi, layerfound_vsPU, layertotal_vsLumi, layertotal_vsPU, LOGPRINT, MuonTCMETValueMapProducer_cff::nLayers, PUHisto, showRings_, and siStripLayers_.
Referenced by algoAnalyze().
|
private |
Definition at line 1034 of file SiStripHitEffFromCalibTree.cc.
References BadModules, TrackerMap::fill(), TrackerMap::fillc(), fs, mps_fire::i, layerfound, layertotal, LOGPRINT, TFileService::make(), modCounter, nModsMin_, nTEClayers, TrackerMap::save(), showRings_, siStripLayers_, storeModEff_, threshold_, title_, tkmap, tkmapbad, tkmapden, tkmapeff, tkMapMin_, and tkmapnum.
Referenced by algoAnalyze().
|
private |
Definition at line 1646 of file SiStripHitEffFromCalibTree.cc.
References SiStripQuality::BadComponent::BadApvs, SiStripQuality::BadComponent::BadFibers, SiStripQuality::BadComponent::BadModule, SiStripQuality::BadComponent::detid, detInfo_, SiStripDetInfo::getNumberOfApvsAndStripLength(), mps_fire::i, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by algoAnalyze().
|
private |
Definition at line 1210 of file SiStripHitEffFromCalibTree.cc.
References mps_fire::i, layerfound, layertotal, LOGPRINT, nTEClayers, showRings_, and siStripLayers_.
Referenced by algoAnalyze().
|
private |
Definition at line 194 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 193 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 138 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 195 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSQLite(), and makeTKMap().
|
private |
Definition at line 137 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 144 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 158 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 162 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 133 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 134 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 139 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 141 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 126 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeSQLite(), setBadComponents(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 152 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 169 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 167 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 127 of file SiStripHitEffFromCalibTree.cc.
Referenced by SiStripHitEffFromCalibTree().
|
private |
Definition at line 125 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), computeEff(), makeHotColdMaps(), makeSummary(), makeSummaryVsBx(), and makeTKMap().
|
private |
Definition at line 192 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 191 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 171 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeHotColdMaps().
|
private |
Definition at line 172 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeHotColdMaps().
|
private |
Definition at line 159 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 163 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 179 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and totalStatistics().
|
private |
Definition at line 181 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 189 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 187 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsCM().
|
private |
Definition at line 183 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 185 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 180 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and totalStatistics().
|
private |
Definition at line 182 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 190 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 188 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsCM().
|
private |
Definition at line 184 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 186 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 173 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeTKMap().
|
staticprivate |
Definition at line 123 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 136 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 156 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), computeEff(), getLayerSideName(), makeSummary(), makeSummaryVsBx(), makeTKMap(), SiStripHitEffFromCalibTree(), and totalStatistics().
|
private |
Definition at line 160 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 164 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 128 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), getNewObject(), makeSQLite(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 140 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 147 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 150 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 148 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), computeEff(), getLayerSideName(), makeSummary(), makeSummaryVsBx(), makeSummaryVsLumi(), makeTKMap(), SiStripHitEffFromCalibTree(), and totalStatistics().
|
private |
Definition at line 149 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeSummary(), and SiStripHitEffFromCalibTree().
|
staticprivate |
Definition at line 122 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), computeEff(), makeHotColdMaps(), makeSummary(), makeSummaryVsBx(), makeSummaryVsLumi(), makeTKMap(), and totalStatistics().
|
private |
Definition at line 145 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummaryVsBx(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 154 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 142 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 135 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 153 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummary(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 130 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 174 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 175 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 178 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 176 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 151 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 177 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 131 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 146 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 143 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().