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) |
SiStripBadStrip * | getNewObject () override |
void | makeHotColdMaps () |
void | makeSQLite () |
void | makeSummary () |
void | makeTKMap () |
void | SetBadComponents (int i, int component, SiStripQuality::BadComponent &BC, std::stringstream ssV[4][19], int NBadComponent[4][19][4]) |
void | totalStatistics () |
Private Attributes | |
unsigned int | _bunchx |
float | _ResXSig |
int | alllayerfound [35] |
int | alllayertotal [35] |
map< unsigned int, double > | BadModules |
TTree * | CalibTree |
TFile * | CalibTreeFile |
TString | CalibTreeFilename |
unsigned int | doSummary |
edm::FileInPath | FileInPath_ |
edm::Service< TFileService > | fs |
int | goodlayerfound [35] |
int | goodlayertotal [35] |
vector< hit > | hits [23] |
vector< TH2F * > | HotColdMaps |
int | layerfound [23] |
int | layertotal [23] |
map< unsigned int, pair < unsigned int, unsigned int > > | modCounter [23] |
unsigned int | nModsMin |
SiStripQuality * | quality_ |
SiStripDetInfoFileReader * | reader |
float | threshold |
TrackerMap * | tkmap |
TrackerMap * | tkmapbad |
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 86 of file SiStripHitEffFromCalibTree.cc.
|
explicit |
Definition at line 131 of file SiStripHitEffFromCalibTree.cc.
References _bunchx, _ResXSig, CalibTreeFilename, doSummary, FileInPath_, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), nModsMin, quality_, reader, OfflineSiStripConfigDb_cff::SiStripDetInfoFileReader, AlCaHarvesting_cff::SiStripQuality, AlCaHLTBitMon_QueryRunRegistry::string, and threshold.
SiStripHitEffFromCalibTree::~SiStripHitEffFromCalibTree | ( | ) |
Definition at line 146 of file SiStripHitEffFromCalibTree.cc.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 158 of file SiStripHitEffFromCalibTree.cc.
References _bunchx, _ResXSig, a, accept(), alllayerfound, alllayertotal, CalibTree, CalibTreeFile, CalibTreeFilename, gather_cfg::cout, SiStripBadStrip::decode(), cond::rpcobgas::detid, end, edm::EventID::event(), edm::EventSetup::get(), SiStripQuality::getBadComponentList(), SiStripBadStrip::getDataVectorBegin(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), goodlayerfound, goodlayertotal, hits, i, edm::EventBase::id(), hit::id, j, relval_steps::k, prof2calltree::l, edm::EventBase::luminosityBlock(), makeHotColdMaps(), makeSQLite(), makeSummary(), makeTKMap(), modCounter, cmsHarvester::nevents, nModsMin, edm::ESHandle< class >::product(), HLT_25ns14e33_v1_cff::quality, quality_, SiStripBadStrip::data::range, reader, edm::EventID::run(), SetBadComponents(), DetId::subdetId(), 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(), edm::Timestamp::value(), x, hit::x, y, hit::y, z, and hit::z.
|
privatevirtual |
Definition at line 148 of file SiStripHitEffFromCalibTree.cc.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 153 of file SiStripHitEffFromCalibTree.cc.
|
private |
|
overrideprivatevirtual |
Implements ConditionDBWriter< SiStripBadStrip >.
Definition at line 818 of file SiStripHitEffFromCalibTree.cc.
References SiStripBadStrip::getDataVectorBegin(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), getGTfromDQMFile::obj, SiStripBadStrip::put(), and quality_.
|
private |
Definition at line 477 of file SiStripHitEffFromCalibTree.cc.
References begin, calcPhi(), gather_cfg::cout, fs, hits, HotColdMaps, TFileService::make(), and phi.
Referenced by algoAnalyze().
|
private |
Definition at line 651 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 694 of file SiStripHitEffFromCalibTree.cc.
References cond::ecalcond::all, alllayerfound, alllayertotal, gather_cfg::cout, newFWLiteAna::found, fs, goodlayerfound, goodlayertotal, i, j, relval_steps::k, diffTwoXMLs::label, create_public_lumi_plots::leg, and TFileService::make().
Referenced by algoAnalyze().
|
private |
Definition at line 607 of file SiStripHitEffFromCalibTree.cc.
References BadModules, begin, gather_cfg::cout, TrackerMap::fill(), TrackerMap::fillc(), plotBeamSpotDB::first, i, layerfound, layertotal, modCounter, nModsMin, TrackerMap::save(), edm::second(), threshold, tkmap, and tkmapbad.
Referenced by algoAnalyze().
|
private |
Definition at line 847 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 680 of file SiStripHitEffFromCalibTree.cc.
References gather_cfg::cout, i, layerfound, and layertotal.
Referenced by algoAnalyze().
|
private |
Definition at line 116 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 115 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 127 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 126 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 128 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSQLite(), and makeTKMap().
|
private |
Definition at line 110 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 109 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 111 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 114 of file SiStripHitEffFromCalibTree.cc.
Referenced by SiStripHitEffFromCalibTree().
|
private |
Definition at line 105 of file SiStripHitEffFromCalibTree.cc.
Referenced by SiStripHitEffFromCalibTree().
|
private |
Definition at line 103 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeHotColdMaps(), and makeSummary().
|
private |
Definition at line 125 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 124 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 117 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeHotColdMaps().
|
private |
Definition at line 118 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeHotColdMaps().
|
private |
Definition at line 122 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap(), and totalStatistics().
|
private |
Definition at line 123 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap(), and totalStatistics().
|
private |
Definition at line 119 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeTKMap().
|
private |
Definition at line 113 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 106 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), getNewObject(), makeSQLite(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 104 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeSQLite(), SetBadComponents(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 112 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), utils.StatisticalTest::get_status(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 120 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 121 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().