Public Member Functions | |
SiStripHitEffFromCalibTree (const edm::ParameterSet &) | |
~SiStripHitEffFromCalibTree () | |
Public Member Functions inherited from ConditionDBWriter< SiStripBadStrip > | |
ConditionDBWriter (const edm::ParameterSet &iConfig) | |
virtual | ~ConditionDBWriter () |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | algoAnalyze (const edm::Event &e, const edm::EventSetup &c) override |
virtual void | algoBeginJob () |
virtual void | algoEndJob () override |
float | calcPhi (float x, float y) |
TString | GetLayerName (Long_t k) |
TString | GetLayerSideName (Long_t k) |
SiStripBadStrip * | getNewObject () override |
void | makeHotColdMaps () |
void | makeSQLite () |
void | makeSummary () |
void | makeSummaryVsBx () |
void | makeTKMap () |
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 &) |
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 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 160 of file SiStripHitEffFromCalibTree.cc.
References _badModulesFile, _bunchx, _clusterMatchingMethod, _clusterTrajDist, _effPlotMin, _ResXSig, _showEndcapSides, _showRings, _showTOB6TEC9, _spaceBetweenTrains, _stripsApvEdge, _title, _tkMapMin, CalibTreeFilenames, doSummary, FileInPath_, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), nModsMin, nTEClayers, quality_, reader, OfflineSiStripConfigDb_cff::SiStripDetInfoFileReader, AlCaHarvesting_cff::SiStripQuality, AlCaHLTBitMon_QueryRunRegistry::string, and threshold.
SiStripHitEffFromCalibTree::~SiStripHitEffFromCalibTree | ( | ) |
Definition at line 189 of file SiStripHitEffFromCalibTree.cc.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 201 of file SiStripHitEffFromCalibTree.cc.
References _badModulesFile, _bunchx, _clusterMatchingMethod, _clusterTrajDist, _ResXSig, _showRings, _showTOB6TEC9, _stripsApvEdge, a, funct::abs(), accept(), alllayerfound, alllayertotal, Surface::bounds(), CalibTree, CalibTreeFilenames, gather_cfg::cout, SiStripBadStrip::decode(), end, edm::EventID::event(), fs, edm::EventSetup::get(), SiStripQuality::getBadComponentList(), SiStripBadStrip::getDataVectorBegin(), GetLayerName(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), goodlayerfound, goodlayertotal, hits, i, edm::EventBase::id(), hit::id, TrackerGeometry::idToDetUnit(), compare_using_db::ifile, j, relval_2017::k, cmsLHEtoEOSManager::l, layerfound_perBx, layertotal_perBx, geometryCSVtoXML::line, edm::EventBase::luminosityBlock(), TFileService::make(), makeHotColdMaps(), makeSQLite(), makeSummary(), makeSummaryVsBx(), makeTKMap(), modCounter, mps_splice::mods, cmsHarvester::nevents, nModsMin, StripTopology::nstrips(), nTEClayers, HLT_25ns10e33_v2_cff::parameters, edm::ESHandle< class >::product(), HLT_25ns10e33_v2_cff::quality, quality_, SiStripBadStrip::data::range, reader, edm::EventID::run(), SetBadComponents(), StripGeomDetUnit::specificTopology(), contentValuesCheck::ss, 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(), patCandidatesForDimuonsSequences_cff::tracker, edm::Timestamp::value(), Bounds::width(), x, hit::x, y, hit::y, z, and hit::z.
|
privatevirtual |
Definition at line 191 of file SiStripHitEffFromCalibTree.cc.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 196 of file SiStripHitEffFromCalibTree.cc.
|
private |
|
private |
Definition at line 1172 of file SiStripHitEffFromCalibTree.cc.
References _showRings, relval_2017::k, and nTEClayers.
Referenced by algoAnalyze(), makeSummary(), and makeSummaryVsBx().
|
private |
Definition at line 1190 of file SiStripHitEffFromCalibTree.cc.
References _showRings, relval_2017::k, and nTEClayers.
Referenced by makeSummary().
|
overrideprivatevirtual |
Implements ConditionDBWriter< SiStripBadStrip >.
Definition at line 1212 of file SiStripHitEffFromCalibTree.cc.
References SiStripBadStrip::getDataVectorBegin(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), getGTfromDQMFile::obj, SiStripBadStrip::put(), and quality_.
|
private |
Definition at line 677 of file SiStripHitEffFromCalibTree.cc.
References begin, calcPhi(), gather_cfg::cout, fs, hits, HotColdMaps, TFileService::make(), and phi.
Referenced by algoAnalyze().
|
private |
Definition at line 866 of file SiStripHitEffFromCalibTree.cc.
References BadModules, SiStripQuality::compact(), gather_cfg::cout, SiStripBadStrip::encode(), SiStripQuality::fillBadComponents(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), SiStripBadStrip::put(), quality_, reader, and AlCaHarvesting_cff::SiStripQuality.
Referenced by algoAnalyze().
|
private |
Definition at line 924 of file SiStripHitEffFromCalibTree.cc.
References _effPlotMin, _showEndcapSides, _showRings, _showTOB6TEC9, _title, Vispa.Plugins.EdmBrowser.EdmDataAccessor::all(), alllayerfound, alllayertotal, gather_cfg::cout, alignCSCRings::e, newFWLiteAna::found, fs, GetLayerName(), GetLayerSideName(), goodlayerfound, goodlayertotal, i, j, relval_2017::k, diffTwoXMLs::label, create_public_lumi_plots::leg, TFileService::make(), and nTEClayers.
Referenced by algoAnalyze().
|
private |
Definition at line 1093 of file SiStripHitEffFromCalibTree.cc.
References _showRings, _spaceBetweenTrains, gather_cfg::cout, alignCSCRings::e, newFWLiteAna::found, fs, GetLayerName(), layerfound_perBx, layertotal_perBx, TFileService::make(), pileupDistInMC::total, and up.
Referenced by algoAnalyze().
|
private |
Definition at line 807 of file SiStripHitEffFromCalibTree.cc.
References _title, _tkMapMin, BadModules, begin, gather_cfg::cout, TrackerMap::fill(), TrackerMap::fillc(), plotBeamSpotDB::first, i, layerfound, layertotal, modCounter, nModsMin, TrackerMap::save(), edm::second(), threshold, tkmap, tkmapbad, tkmapden, tkmapeff, and tkmapnum.
Referenced by algoAnalyze().
|
private |
Definition at line 1241 of file SiStripHitEffFromCalibTree.cc.
References SiStripQuality::BadComponent::BadApvs, SiStripQuality::BadComponent::BadFibers, SiStripQuality::BadComponent::BadModule, SiStripQuality::BadComponent::detid, SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), i, and reader.
Referenced by algoAnalyze().
|
private |
Definition at line 895 of file SiStripHitEffFromCalibTree.cc.
References gather_cfg::cout, i, layerfound, and layertotal.
Referenced by algoAnalyze().
|
private |
Definition at line 125 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 126 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 136 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 127 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 132 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 133 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), GetLayerName(), GetLayerSideName(), makeSummary(), makeSummaryVsBx(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 134 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 131 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSummaryVsBx(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 129 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 137 of file SiStripHitEffFromCalibTree.cc.
Referenced by html.PageSet::_getPage(), plotting.Subtract::create(), plotting.FakeDuplicate::create(), plotting.Plot::create(), makeSummary(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 135 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 156 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 155 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 157 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSQLite(), and makeTKMap().
|
private |
Definition at line 120 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 121 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 124 of file SiStripHitEffFromCalibTree.cc.
Referenced by SiStripHitEffFromCalibTree().
|
private |
Definition at line 116 of file SiStripHitEffFromCalibTree.cc.
Referenced by SiStripHitEffFromCalibTree().
|
private |
Definition at line 114 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeHotColdMaps(), makeSummary(), and makeSummaryVsBx().
|
private |
Definition at line 154 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 153 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 141 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeHotColdMaps().
|
private |
Definition at line 142 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeHotColdMaps().
|
private |
Definition at line 149 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap(), and totalStatistics().
|
private |
Definition at line 151 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 150 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap(), and totalStatistics().
|
private |
Definition at line 152 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummaryVsBx().
|
private |
Definition at line 143 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeTKMap().
|
private |
Definition at line 123 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 139 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), GetLayerName(), GetLayerSideName(), makeSummary(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 117 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), getNewObject(), makeSQLite(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 115 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeSQLite(), SetBadComponents(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 122 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), utils.StatisticalTest::get_status(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 144 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 145 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 148 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 146 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 147 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().