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 | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | algoAnalyze (const edm::Event &e, const edm::EventSetup &c) |
virtual void | algoBeginJob () |
virtual void | algoEndJob () |
float | calcPhi (float x, float y) |
SiStripBadStrip * | getNewObject () |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 94 of file SiStripHitEffFromCalibTree.cc.
|
explicit |
Definition at line 139 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, and threshold.
SiStripHitEffFromCalibTree::~SiStripHitEffFromCalibTree | ( | ) |
Definition at line 154 of file SiStripHitEffFromCalibTree.cc.
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 166 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(), SiStripQuality::getBadComponentList(), SiStripBadStrip::getDataVectorBegin(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), goodlayerfound, goodlayertotal, hits, i, edm::EventBase::id(), hit::id, errorMatrix2Lands_multiChannel::id, j, gen::k, prof2calltree::l, TOBDetId::layer(), TIBDetId::layer(), edm::EventBase::luminosityBlock(), makeHotColdMaps(), makeSQLite(), makeSummary(), makeTKMap(), modCounter, nevents, nModsMin, quality_, SiStripBadStrip::data::range, reader, edm::EventID::run(), SetBadComponents(), TIDDetId::side(), TECDetId::side(), DetId::subdetId(), SiStripDetId::TEC, threshold, SiStripDetId::TIB, SiStripDetId::TID, edm::EventBase::time(), SiStripDetId::TOB, totalStatistics(), edm::Timestamp::value(), TIDDetId::wheel(), TECDetId::wheel(), x, hit::x, detailsBasic3DVector::y, hit::y, detailsBasic3DVector::z, and hit::z.
|
privatevirtual |
Definition at line 156 of file SiStripHitEffFromCalibTree.cc.
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 161 of file SiStripHitEffFromCalibTree.cc.
|
private |
Definition at line 838 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeHotColdMaps().
|
privatevirtual |
Implements ConditionDBWriter< SiStripBadStrip >.
Definition at line 821 of file SiStripHitEffFromCalibTree.cc.
References SiStripBadStrip::getDataVectorBegin(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), getGTfromDQMFile::obj, SiStripBadStrip::put(), and quality_.
|
private |
Definition at line 480 of file SiStripHitEffFromCalibTree.cc.
References begin, calcPhi(), gather_cfg::cout, fs, hits, HotColdMaps, TFileDirectory::make(), and phi.
Referenced by algoAnalyze().
|
private |
Definition at line 654 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 697 of file SiStripHitEffFromCalibTree.cc.
References cond::ecalcond::all, alllayerfound, alllayertotal, gather_cfg::cout, newFWLiteAna::found, fs, goodlayerfound, goodlayertotal, i, j, gen::k, diffTwoXMLs::label, create_public_lumi_plots::leg, and TFileDirectory::make().
Referenced by algoAnalyze().
|
private |
Definition at line 610 of file SiStripHitEffFromCalibTree.cc.
References BadModules, begin, gather_cfg::cout, TrackerMap::fill(), TrackerMap::fillc(), first, i, layerfound, layertotal, modCounter, nModsMin, TrackerMap::save(), edm::second(), threshold, tkmap, and tkmapbad.
Referenced by algoAnalyze().
|
private |
Definition at line 850 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 683 of file SiStripHitEffFromCalibTree.cc.
References gather_cfg::cout, i, layerfound, and layertotal.
Referenced by algoAnalyze().
|
private |
Definition at line 124 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 123 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 135 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 134 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 136 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeSQLite(), and makeTKMap().
|
private |
Definition at line 118 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 117 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze().
|
private |
Definition at line 119 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 122 of file SiStripHitEffFromCalibTree.cc.
Referenced by SiStripHitEffFromCalibTree().
|
private |
Definition at line 113 of file SiStripHitEffFromCalibTree.cc.
Referenced by SiStripHitEffFromCalibTree().
|
private |
Definition at line 111 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeHotColdMaps(), and makeSummary().
|
private |
Definition at line 133 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 132 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeSummary().
|
private |
Definition at line 125 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeHotColdMaps().
|
private |
Definition at line 126 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeHotColdMaps().
|
private |
Definition at line 130 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap(), and totalStatistics().
|
private |
Definition at line 131 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap(), and totalStatistics().
|
private |
Definition at line 127 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), and makeTKMap().
|
private |
Definition at line 121 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 114 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), getNewObject(), makeSQLite(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 112 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), makeSQLite(), SetBadComponents(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 120 of file SiStripHitEffFromCalibTree.cc.
Referenced by algoAnalyze(), utils.StatisticalTest::get_status(), makeTKMap(), and SiStripHitEffFromCalibTree().
|
private |
Definition at line 128 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().
|
private |
Definition at line 129 of file SiStripHitEffFromCalibTree.cc.
Referenced by makeTKMap().