Private Member Functions | |
void | algoAnalyze (const edm::Event &e, const edm::EventSetup &c) override |
void | algoBeginJob (const edm::EventSetup &) override |
void | algoEndJob () override |
float | calcPhi (float x, float y) |
void | ComputeEff (vector< TH1F * > &vhfound, vector< TH1F * > &vhtotal, string name) |
TString | GetLayerName (Long_t k) |
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 () |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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) |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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<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) |
Definition at line 94 of file SiStripHitEffFromCalibTree.cc.
|
explicit |
Definition at line 180 of file SiStripHitEffFromCalibTree.cc.
References _autoIneffModTagging, _badModulesFile, _bunchx, _clusterMatchingMethod, _clusterTrajDist, _effPlotMin, _ResXSig, _showEndcapSides, _showOnlyGoodModules, _showRings, _showTOB6TEC9, _spaceBetweenTrains, _stripsApvEdge, _title, _tkMapMin, _useCM, _useOnlyHighPurityTracks, CalibTreeFilenames, doSummary, FileInPath_, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), nModsMin, nTEClayers, quality_, reader, AlCaHLTBitMon_QueryRunRegistry::string, and threshold.
|
override |
Definition at line 213 of file SiStripHitEffFromCalibTree.cc.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 225 of file SiStripHitEffFromCalibTree.cc.
References _autoIneffModTagging, _badModulesFile, _bunchx, _clusterMatchingMethod, _clusterTrajDist, _ResXSig, _showRings, _showTOB6TEC9, _stripsApvEdge, _useCM, _useOnlyHighPurityTracks, a, funct::abs(), accept(), alllayerfound, alllayertotal, electrons_cff::bool, Surface::bounds(), bxHisto, CalibTree, CalibTreeFilenames, gather_cfg::cout, SiStripBadStrip::decode(), end, edm::EventID::event(), eventInfos, cppFunctionSkipper::exception, fs, edm::EventSetup::get(), SiStripQuality::getBadComponentList(), SiStripBadStrip::getDataVectorBegin(), GetLayerName(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), goodlayerfound, goodlayertotal, muons_cff::highPurity, hits, mps_fire::i, triggerObjects_cff::id, edm::EventBase::id(), hit::id, TrackerGeometry::idToDetUnit(), compare_using_db::ifile, muonGEMDigis_cfi::instLumi, instLumiHisto, createfilelist::int, gen::k, checklumidiff::l, layerfound, layerfound_perBx, layerfound_vsCM, layerfound_vsLumi, layerfound_vsPU, layertotal, layertotal_perBx, layertotal_vsCM, layertotal_vsLumi, layertotal_vsPU, mps_splice::line, edm::EventBase::luminosityBlock(), TFileService::make(), makeHotColdMaps(), makeSQLite(), makeSummary(), makeSummaryVsBx(), makeSummaryVsCM(), makeSummaryVsLumi(), makeTKMap(), modCounter, mps_splice::mods, nevt, nModsMin, StripTopology::nstrips(), nTEClayers, TrapezoidalPlaneBounds::parameters(), edm::ESHandle< T >::product(), JetPlusTrackCorrections_cff::PU, PUHisto, jets_cff::quality, quality_, SiStripBadStrip::data::range, reader, writedatasetfile::run, edm::EventID::run(), SetBadComponents(), StripGeomDetUnit::specificTopology(), str, DetId::subdetId(), GeomDet::surface(), SiStripDetId::TEC, TrackerTopology::tecSide(), TrackerTopology::tecWheel(), threshold, SiStripDetId::TIB, TrackerTopology::tibLayer(), SiStripDetId::TID, TrackerTopology::tidSide(), TrackerTopology::tidWheel(), edm::EventBase::time(), SiStripDetId::TOB, TrackerTopology::tobLayer(), totalStatistics(), trackingTruthProducer_cfi::tracker, edm::Timestamp::value(), Bounds::width(), x, hit::x, globals_cff::x1, y, hit::y, z, and hit::z.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 215 of file SiStripHitEffFromCalibTree.cc.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 220 of file SiStripHitEffFromCalibTree.cc.
|
private |
|
private |
Definition at line 1391 of file SiStripHitEffFromCalibTree.cc.
References _showRings, MillePedeFileConverter_cfg::e, fs, GetLayerName(), mps_fire::i, TFileService::make(), and MuonTCMETValueMapProducer_cff::nLayers.
Referenced by makeSummaryVsCM(), and makeSummaryVsLumi().
|
private |
Definition at line 1373 of file SiStripHitEffFromCalibTree.cc.
References _showRings, gen::k, and nTEClayers.
Referenced by algoAnalyze(), ComputeEff(), makeSummary(), makeSummaryVsBx(), makeTKMap(), and totalStatistics().
|
private |
Definition at line 1468 of file SiStripHitEffFromCalibTree.cc.
References _showRings, gen::k, and nTEClayers.
Referenced by makeSummary().
|
overrideprivatevirtual |
Implements ConditionDBWriter< SiStripBadStrip >.
Definition at line 1490 of file SiStripHitEffFromCalibTree.cc.
References SiStripBadStrip::getDataVectorBegin(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), hgcalPlots::obj, and quality_.
|
private |
Definition at line 836 of file SiStripHitEffFromCalibTree.cc.
References begin, calcPhi(), gather_cfg::cout, fs, hits, HotColdMaps, TFileService::make(), and phi.
Referenced by algoAnalyze().
|
private |
Definition at line 1064 of file SiStripHitEffFromCalibTree.cc.
References BadModules, SiStripQuality::compact(), gather_cfg::cout, SiStripQuality::fillBadComponents(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), globals_cff::id1, createfilelist::int, SiStripBadStrip::put(), quality_, and reader.
Referenced by algoAnalyze().
|
private |
Definition at line 1122 of file SiStripHitEffFromCalibTree.cc.
References _effPlotMin, _showEndcapSides, _showOnlyGoodModules, _showRings, _showTOB6TEC9, _title, Vispa.Plugins.EdmBrowser.EdmDataAccessor::all(), alllayerfound, alllayertotal, gather_cfg::cout, MillePedeFileConverter_cfg::e, runEdmFileComparison::found, fs, GetLayerName(), GetLayerSideName(), goodlayerfound, goodlayertotal, mps_fire::i, gen::k, label, create_public_lumi_plots::leg, TFileService::make(), MuonTCMETValueMapProducer_cff::nLayers, nTEClayers, and compare::overlay().
Referenced by algoAnalyze().
|
private |
Definition at line 1294 of file SiStripHitEffFromCalibTree.cc.
References _showRings, _spaceBetweenTrains, gather_cfg::cout, MillePedeFileConverter_cfg::e, objects.autophobj::float, runEdmFileComparison::found, fs, GetLayerName(), layerfound_perBx, layertotal_perBx, TFileService::make(), MuonTCMETValueMapProducer_cff::nLayers, pileupDistInMC::total, and up.
Referenced by algoAnalyze().
|
private |
Definition at line 1463 of file SiStripHitEffFromCalibTree.cc.
References ComputeEff(), gather_cfg::cout, layerfound_vsCM, and layertotal_vsCM.
Referenced by algoAnalyze().
|
private |
Definition at line 1425 of file SiStripHitEffFromCalibTree.cc.
References _showRings, ComputeEff(), gather_cfg::cout, instLumiHisto, layerfound_vsLumi, layerfound_vsPU, layertotal_vsLumi, layertotal_vsPU, MuonTCMETValueMapProducer_cff::nLayers, and PUHisto.
Referenced by algoAnalyze().
|
private |
Definition at line 966 of file SiStripHitEffFromCalibTree.cc.
References _title, _tkMapMin, BadModules, begin, gather_cfg::cout, TrackerMap::fill(), TrackerMap::fillc(), fs, GetLayerName(), mps_fire::i, layerfound, layertotal, TFileService::make(), modCounter, nModsMin, TrackerMap::save(), threshold, tkmap, tkmapbad, tkmapden, tkmapeff, and tkmapnum.
Referenced by algoAnalyze().
|
private |
Definition at line 1519 of file SiStripHitEffFromCalibTree.cc.
References SiStripQuality::BadComponent::BadApvs, SiStripQuality::BadComponent::BadFibers, SiStripQuality::BadComponent::BadModule, DEFINE_FWK_MODULE, SiStripQuality::BadComponent::detid, SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), mps_fire::i, reader, and globals_cff::x1.
Referenced by algoAnalyze().
|
private |
Definition at line 1093 of file SiStripHitEffFromCalibTree.cc.
References gather_cfg::cout, GetLayerName(), mps_fire::i, layerfound, and layertotal.
Referenced by algoAnalyze().
|
private |
Definition at line 129 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 128 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 135 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 130 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 132 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 143 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 131 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 138 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 141 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 139 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), ComputeEff(), GetLayerName(), GetLayerSideName(), makeSummary(), makeSummaryVsBx(), makeSummaryVsLumi(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 140 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 136 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummaryVsBx(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 133 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 144 of file SiStripHitEffFromCalibTree.cc.
Referenced by html.PageSet::_getPage(), plotting.Subtract::create(), plotting.Transform::create(), plotting.FakeDuplicate::create(), plotting.CutEfficiency::create(), plotting.Plot::create(), makeSummary(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 142 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 137 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 134 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 176 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 175 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 177 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSQLite(), and makeTKMap().
|
private |
Definition at line 148 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 123 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 124 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 127 of file SiStripHitEffFromCalibTree.cc.
Referenced by SiStripHitEffFromCalibTree().
|
private |
Definition at line 153 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 119 of file SiStripHitEffFromCalibTree.cc.
Referenced by SiStripHitEffFromCalibTree().
|
private |
Definition at line 117 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), ComputeEff(), makeHotColdMaps(), makeSummary(), makeSummaryVsBx(), and makeTKMap().
|
private |
Definition at line 174 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 173 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 155 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeHotColdMaps().
|
private |
Definition at line 156 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeHotColdMaps().
|
private |
Definition at line 149 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 163 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and totalStatistics().
|
private |
Definition at line 165 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 171 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsCM().
|
private |
Definition at line 167 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 169 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 164 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and totalStatistics().
|
private |
Definition at line 166 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 172 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsCM().
|
private |
Definition at line 168 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 170 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 157 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeTKMap().
|
private |
Definition at line 126 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 146 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), GetLayerName(), GetLayerSideName(), makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 150 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 120 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), getNewObject(), makeSQLite(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 118 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeSQLite(), SetBadComponents(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 125 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), utils.StatisticalTest::get_status(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 158 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 159 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 162 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 160 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 161 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().