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 (const edm::Service< TFileService > &fs, 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 (const edm::Service< TFileService > &fs) |
void | makeSQLite () |
void | makeSummary (const edm::Service< TFileService > &fs) |
void | makeSummaryVsBx (const edm::Service< TFileService > &fs) |
void | makeSummaryVsCM (const edm::Service< TFileService > &fs) |
void | makeSummaryVsLumi (const edm::Service< TFileService > &fs) |
void | makeTKMap (const edm::Service< TFileService > &fs, bool autoTagging) |
void | SetBadComponents (int i, int component, SiStripQuality::BadComponent &BC, std::stringstream ssV[4][19], int NBadComponent[4][19][4]) |
void | totalStatistics () |
Private Attributes | |
int | alllayerfound [::k_END_OF_LAYS_AND_RINGS] |
int | alllayertotal [::k_END_OF_LAYS_AND_RINGS] |
bool | autoIneffModTagging_ |
map< unsigned int, double > | BadModules |
string | badModulesFile_ |
unsigned int | bunchx_ |
TH1F * | bxHisto |
TTree * | CalibTree |
vector< string > | calibTreeFileNames_ |
unsigned int | clusterMatchingMethod_ |
float | clusterTrajDist_ |
SiStripDetInfo | detInfo_ |
unsigned int | doSummary_ |
float | effPlotMin_ |
map< pair< unsigned int, unsigned int >, array< double, 3 > > | eventInfos |
edm::FileInPath | FileInPath_ |
int | goodlayerfound [::k_END_OF_LAYS_AND_RINGS] |
int | goodlayertotal [::k_END_OF_LAYS_AND_RINGS] |
vector< hit > | hits [::k_END_OF_LAYERS] |
vector< TH2F * > | HotColdMaps |
TH1F * | instLumiHisto |
long | layerfound [::k_END_OF_LAYERS] |
map< unsigned int, vector< int > > | layerfound_perBx |
vector< TH1F * > | layerfound_vsBX |
vector< TH1F * > | layerfound_vsCM |
vector< TH1F * > | layerfound_vsLumi |
vector< TH1F * > | layerfound_vsPU |
long | layertotal [::k_END_OF_LAYERS] |
map< unsigned int, vector< int > > | layertotal_perBx |
vector< TH1F * > | layertotal_vsBX |
vector< TH1F * > | layertotal_vsCM |
vector< TH1F * > | layertotal_vsLumi |
vector< TH1F * > | layertotal_vsPU |
map< unsigned int, pair< unsigned int, unsigned int > > | modCounter [::k_END_OF_LAYERS] |
unsigned int | nModsMin_ |
unsigned int | nTEClayers_ |
TH1F * | PUHisto |
SiStripQuality * | quality_ |
float | resXSig_ |
bool | showEndcapSides_ |
bool | showOnlyGoodModules_ |
bool | showRings_ |
bool | showTOB6TEC9_ |
unsigned int | spaceBetweenTrains_ |
float | stripsApvEdge_ |
float | threshold_ |
TString | title_ |
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | tkGeomToken_ |
TrackerMap * | tkmap |
TrackerMap * | tkmapbad |
TrackerMap * | tkmapden |
TrackerMap * | tkmapeff |
float | tkMapMin_ |
TrackerMap * | tkmapnum |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken_ |
bool | useCM_ |
bool | useOnlyHighPurityTracks_ |
Static Private Attributes | |
static constexpr double | nBxInAnOrbit = 3565 |
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 73 of file SiStripHitResolFromCalibTree.cc.
|
explicit |
Definition at line 169 of file SiStripHitResolFromCalibTree.cc.
References autoIneffModTagging_, badModulesFile_, bunchx_, calibTreeFileNames_, clusterMatchingMethod_, clusterTrajDist_, detInfo_, doSummary_, effPlotMin_, edm::EDConsumerBase::esConsumes(), 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_, AlCaHLTBitMon_QueryRunRegistry::string, stripsApvEdge_, threshold_, title_, tkGeomToken_, tkMapMin_, tTopoToken_, useCM_, and useOnlyHighPurityTracks_.
|
overridedefault |
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 208 of file SiStripHitResolFromCalibTree.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, HltBtagPostValidation_cff::c, CalibTree, calibTreeFileNames_, clusterMatchingMethod_, clusterTrajDist_, SiStripBadStrip::decode(), detInfo_, MillePedeFileConverter_cfg::e, mps_fire::end, eventInfos, cppFunctionSkipper::exception, compareTotals::fs, SiStripQuality::getBadComponentList(), SiStripBadStrip::getDataVectorBegin(), GetLayerName(), SiStripDetInfo::getNumberOfApvsAndStripLength(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), goodlayerfound, goodlayertotal, muons_cff::highPurity, hits, mps_fire::i, l1ctLayer2EG_cff::id, hit::id, compare_using_db::ifile, nano_mu_global_cff::instLumi, instLumiHisto, 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, makeHotColdMaps(), makeSQLite(), makeSummary(), makeSummaryVsBx(), makeSummaryVsCM(), makeSummaryVsLumi(), makeTKMap(), modCounter, mps_splice::mods, nBxInAnOrbit, createIOVlist::nevents, nevt, nModsMin_, StripTopology::nstrips(), nTEClayers_, funct::pow(), MLClient_cfi::PU, PUHisto, quality, quality_, SiStripBadStrip::data::range, FastTimerService_cff::range, Resolution, resXSig_, writedatasetfile::run, SetBadComponents(), showRings_, showTOB6TEC9_, StripGeomDetUnit::specificTopology(), mathSSE::sqrt(), contentValuesCheck::ss, str, AlCaHLTBitMon_QueryRunRegistry::string, TrackingMonitor_cfi::stripCluster, stripsApvEdge_, GeomDet::surface(), StripSubdetector::TEC, threshold_, StripSubdetector::TIB, StripSubdetector::TID, tkGeomToken_, to_string(), StripSubdetector::TOB, totalStatistics(), tTopoToken_, useCM_, useOnlyHighPurityTracks_, Bounds::width(), x, hit::x, testProducerWithPsetDescEmpty_cfi::x1, y, hit::y, z, and hit::z.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 204 of file SiStripHitResolFromCalibTree.cc.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 206 of file SiStripHitResolFromCalibTree.cc.
|
private |
|
private |
Definition at line 1570 of file SiStripHitResolFromCalibTree.cc.
References MillePedeFileConverter_cfg::e, compareTotals::fs, GetLayerName(), mps_fire::i, Skims_PA_cff::name, MuonTCMETValueMapProducer_cff::nLayers, and showRings_.
Referenced by makeSummaryVsCM(), and makeSummaryVsLumi().
|
private |
Definition at line 1552 of file SiStripHitResolFromCalibTree.cc.
References dqmdumpme::k, nTEClayers_, and showRings_.
Referenced by algoAnalyze(), ComputeEff(), makeSummary(), makeSummaryVsBx(), makeTKMap(), and totalStatistics().
|
private |
Definition at line 1653 of file SiStripHitResolFromCalibTree.cc.
References dqmdumpme::k, nTEClayers_, and showRings_.
Referenced by makeSummary().
|
overrideprivatevirtual |
Implements ConditionDBWriter< SiStripBadStrip >.
Definition at line 1675 of file SiStripHitResolFromCalibTree.cc.
References SiStripBadStrip::getDataVectorBegin(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), getGTfromDQMFile::obj, quality_, and FastTimerService_cff::range.
|
private |
Definition at line 973 of file SiStripHitResolFromCalibTree.cc.
References calcPhi(), compareTotals::fs, hits, HotColdMaps, and phi.
Referenced by algoAnalyze().
|
private |
Definition at line 1204 of file SiStripHitResolFromCalibTree.cc.
References BadModules, SiStripQuality::compact(), detInfo_, SiStripQuality::fillBadComponents(), SiStripDetInfo::getNumberOfApvsAndStripLength(), globals_cff::id1, createfilelist::int, SiStripBadStrip::put(), quality_, and FastTimerService_cff::range.
Referenced by algoAnalyze().
|
private |
Definition at line 1284 of file SiStripHitResolFromCalibTree.cc.
References python.cmstools::all(), alllayerfound, alllayertotal, MillePedeFileConverter_cfg::e, effPlotMin_, newFWLiteAna::found, compareTotals::fs, GetLayerName(), GetLayerSideName(), goodlayerfound, goodlayertotal, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, label, MuonTCMETValueMapProducer_cff::nLayers, nTEClayers_, compare::overlay(), showEndcapSides_, showOnlyGoodModules_, showRings_, showTOB6TEC9_, and title_.
Referenced by algoAnalyze().
|
private |
Definition at line 1474 of file SiStripHitResolFromCalibTree.cc.
References MillePedeFileConverter_cfg::e, nano_mu_digi_cff::float, newFWLiteAna::found, compareTotals::fs, GetLayerName(), layerfound_perBx, layerfound_vsBX, layertotal_perBx, layertotal_vsBX, LaserClient_cfi::low, nBxInAnOrbit, MuonTCMETValueMapProducer_cff::nLayers, showRings_, spaceBetweenTrains_, dqmMemoryStats::total, and up.
Referenced by algoAnalyze().
|
private |
Definition at line 1648 of file SiStripHitResolFromCalibTree.cc.
References ComputeEff(), compareTotals::fs, layerfound_vsCM, and layertotal_vsCM.
Referenced by algoAnalyze().
|
private |
Definition at line 1609 of file SiStripHitResolFromCalibTree.cc.
References ComputeEff(), compareTotals::fs, instLumiHisto, layerfound_vsLumi, layerfound_vsPU, layertotal_vsLumi, layertotal_vsPU, MuonTCMETValueMapProducer_cff::nLayers, PUHisto, and showRings_.
Referenced by algoAnalyze().
|
private |
Definition at line 1101 of file SiStripHitResolFromCalibTree.cc.
References BadModules, TrackerMap::fill(), TrackerMap::fillc(), compareTotals::fs, GetLayerName(), mps_fire::i, layerfound, layertotal, modCounter, nModsMin_, TrackerMap::save(), threshold_, title_, tkmap, tkmapbad, tkmapden, tkmapeff, tkMapMin_, and tkmapnum.
Referenced by algoAnalyze().
|
private |
Definition at line 1710 of file SiStripHitResolFromCalibTree.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 1234 of file SiStripHitResolFromCalibTree.cc.
References GetLayerName(), mps_fire::i, layerfound, and layertotal.
Referenced by algoAnalyze().
|
private |
Definition at line 165 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 164 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 113 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 166 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeSQLite(), and makeTKMap().
|
private |
Definition at line 112 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 119 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 135 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 107 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 108 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 114 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 116 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 102 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), makeSQLite(), SetBadComponents(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 111 of file SiStripHitResolFromCalibTree.cc.
Referenced by SiStripHitResolFromCalibTree().
|
private |
Definition at line 127 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeSummary(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 140 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 103 of file SiStripHitResolFromCalibTree.cc.
Referenced by SiStripHitResolFromCalibTree().
|
private |
Definition at line 163 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 162 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 142 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeHotColdMaps().
|
private |
Definition at line 143 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeHotColdMaps().
|
private |
Definition at line 136 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 150 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and totalStatistics().
|
private |
Definition at line 152 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 160 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 158 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsCM().
|
private |
Definition at line 154 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 156 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 151 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and totalStatistics().
|
private |
Definition at line 153 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 161 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 159 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsCM().
|
private |
Definition at line 155 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 157 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 144 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeTKMap().
|
staticprivate |
Definition at line 100 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 110 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 133 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), GetLayerName(), GetLayerSideName(), makeSummary(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 137 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsLumi().
|
private |
Definition at line 104 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), getNewObject(), makeSQLite(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 115 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 122 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeSummary(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 125 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeSummary(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 123 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), ComputeEff(), GetLayerName(), GetLayerSideName(), makeSummary(), makeSummaryVsBx(), makeSummaryVsLumi(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 124 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), makeSummary(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 120 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeSummaryVsBx(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 117 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 109 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 128 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeSummary(), makeTKMap(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 130 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 145 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 146 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 149 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 147 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 126 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeTKMap(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 148 of file SiStripHitResolFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 131 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 121 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().
|
private |
Definition at line 118 of file SiStripHitResolFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitResolFromCalibTree().