#include <HDQMInspector.h>
Classes | |
struct | DetIdItemList |
Public Member Functions | |
void | closeFile () |
void | createTrend (const std::string ListItems, const std::string CanvasName="", const int logy=0, const std::string Conditions="", std::string const &Labels="", const unsigned int firstRun=1, const unsigned int lastRun=0xFFFFFFFE, int const UseYRange=0, double const &YMin=999999, double const &YMax=-999999) |
void | createTrendLastRuns (const std::string ListItems, const std::string CanvasName="", const int logy=0, const std::string Conditions="", std::string const &Labels="", const unsigned int nRuns=10, int const UseYRange=0, double const &YMin=999999, double const &YMax=-999999) |
double | findGraphMax (TGraphErrors *) |
double | findGraphMin (TGraphErrors *) |
std::vector< std::string > | getListItems () |
std::vector< unsigned int > | getRuns () |
std::vector< float > | getSummary () |
std::vector< unsigned int > | getvDetId () |
HDQMInspector () | |
HDQMInspector (const HDQMInspectorConfigBase *InConfig) | |
std::string | readListFromFile (const std::string &listFileName) |
void | setBlackList (std::string const &ListItems) |
void | setDB (const std::string &DBName, const std::string &DBTag, const std::string &DBauth="") |
void | setDebug (int i) |
void | setDoStat (int i) |
void | setSeparator (std::string const in) |
void | setSkip0s (bool const in) |
void | setSkip99s (bool const in) |
void | setWhiteList (std::string const &ListItems) |
virtual | ~HDQMInspector () |
Public Attributes | |
TFile * | fOutFile |
Private Member Functions | |
void | accessDB () |
bool | ApplyConditions (std::string &, std::vector< DetIdItemList > &) |
void | InitializeIOVList () |
bool | isListed (unsigned int run, std::vector< unsigned int > &vList) |
void | plot (size_t &nPads, std::string CanvasName, int logy=0, std::string const &Labels="", int const UseYRange=0, double const XMin=999999, double const YMin=-999999) |
void | setItems (std::string) |
bool | setRange (unsigned int &firstRun, unsigned int &lastRun) |
void | style () |
void | unpackConditions (std::string &, std::vector< DetIdItemList > &) |
size_t | unpackItems (std::string &) |
Private Attributes | |
std::vector< unsigned int > | blackList |
std::string | DBauth_ |
std::string | DBName_ |
std::string | DBTag_ |
const HDQMInspectorConfigBase * | fHDQMInspectorConfig |
std::string | fSep |
bool | fSkip0s |
bool | fSkip99s |
int | iDebug |
int | iDoStat |
std::vector< unsigned int > | iovList |
CondCachedIter< HDQMSummary > * | Iterator |
std::vector< unsigned int > | vdetId_ |
std::vector< DetIdItemList > | vDetIdItemList_ |
std::vector< std::string > | vlistItems_ |
std::vector< unsigned int > | vRun_ |
std::vector< float > | vSummary_ |
std::vector< unsigned int > | whiteList |
Definition at line 28 of file HDQMInspector.h.
|
inline |
Definition at line 31 of file HDQMInspector.h.
|
inline |
Definition at line 45 of file HDQMInspector.h.
|
inlinevirtual |
|
private |
Definition at line 83 of file HDQMInspector.cc.
References gather_cfg::cout, DBauth_, DBName_, DBTag_, InitializeIOVList(), and Iterator.
Referenced by setDB().
|
private |
Definition at line 737 of file HDQMInspector.cc.
References gather_cfg::cout, cond::rpcobgas::detid, fSep, iDebug, NULL, AlCaHLTBitMon_QueryRunRegistry::string, and makeHLTPrescaleTable::values.
Referenced by createTrend().
|
inline |
Definition at line 86 of file HDQMInspector.h.
References fOutFile.
Referenced by Vispa.Main.Application.Application::tabCloseRequest().
void HDQMInspector::createTrend | ( | const std::string | ListItems, |
const std::string | CanvasName = "" , |
||
const int | logy = 0 , |
||
const std::string | Conditions = "" , |
||
std::string const & | Labels = "" , |
||
const unsigned int | firstRun = 1 , |
||
const unsigned int | lastRun = 0xFFFFFFFE , |
||
int const | UseYRange = 0 , |
||
double const & | YMin = 999999 , |
||
double const & | YMax = -999999 |
||
) |
Definition at line 321 of file HDQMInspector.cc.
References ApplyConditions(), blackList, gather_cfg::cout, cond::rpcobgas::detid, HDQMSummary::getRunNr(), HDQMSummary::getSummaryObj(), i, iDebug, isListed(), HDQMInspector::DetIdItemList::items, plot(), RecoTauValidation_cfi::reference, setRange(), unpackConditions(), unpackItems(), HDQMInspector::DetIdItemList::values, vDetIdItemList_, vRun_, vSummary_, and whiteList.
Referenced by createTrendLastRuns().
void HDQMInspector::createTrendLastRuns | ( | const std::string | ListItems, |
const std::string | CanvasName = "" , |
||
const int | logy = 0 , |
||
const std::string | Conditions = "" , |
||
std::string const & | Labels = "" , |
||
const unsigned int | nRuns = 10 , |
||
int const | UseYRange = 0 , |
||
double const & | YMin = 999999 , |
||
double const & | YMax = -999999 |
||
) |
Definition at line 298 of file HDQMInspector.cc.
References createTrend(), plotBeamSpotDB::first, iovList, and prof2calltree::last.
double HDQMInspector::findGraphMax | ( | TGraphErrors * | g | ) |
Definition at line 833 of file HDQMInspector.cc.
References assert(), gen::n, and y.
Referenced by plot().
double HDQMInspector::findGraphMin | ( | TGraphErrors * | g | ) |
Definition at line 844 of file HDQMInspector.cc.
References assert(), gen::n, and y.
Referenced by plot().
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 249 of file HDQMInspector.cc.
References gather_cfg::cout, iDebug, iovList, and RecoTauValidation_cfi::reference.
Referenced by accessDB().
|
private |
Definition at line 231 of file HDQMInspector.cc.
References gather_cfg::cout, iDebug, and DTTTrigCorrFirst::run.
Referenced by createTrend().
|
private |
Definition at line 392 of file HDQMInspector.cc.
References funct::C, HDQMInspectorConfigBase::computeIntegral(), gather_cfg::cout, fHDQMInspectorConfig, spr::find(), findGraphMax(), findGraphMin(), fSep, fSkip0s, fSkip99s, i, iDebug, cmsHarvester::index, j, bookConverter::max, min(), mergeVDriftHistosByStation::name, mathSSE::sqrt(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, style(), indexGen::title, HDQMInspectorConfigBase::translateDetId(), vdetId_, vDetIdItemList_, vlistItems_, vRun_, vSummary_, and X.
Referenced by cuy.FindIssue::__init__(), and createTrend().
std::string HDQMInspector::readListFromFile | ( | const std::string & | listFileName | ) |
Definition at line 205 of file HDQMInspector.cc.
References gather_cfg::cout, geometryCSVtoXML::line, and AlCaHLTBitMon_QueryRunRegistry::string.
void HDQMInspector::setBlackList | ( | std::string const & | ListItems | ) |
Definition at line 105 of file HDQMInspector.cc.
References blackList, ecal_dqm_sourceclient-live_cfg::cerr, cmsRelvalreport::exit, i, python.multivaluedict::sort(), and AlCaHLTBitMon_QueryRunRegistry::string.
void HDQMInspector::setDB | ( | const std::string & | DBName, |
const std::string & | DBTag, | ||
const std::string & | DBauth = "" |
||
) |
Definition at line 59 of file HDQMInspector.cc.
References accessDB(), ecal_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, DBauth_, DBName_, DBTag_, cmsRelvalreport::exit, and fOutFile.
|
inline |
Definition at line 73 of file HDQMInspector.h.
|
inline |
Definition at line 74 of file HDQMInspector.h.
|
private |
Definition at line 789 of file HDQMInspector.cc.
References gather_cfg::cout, HDQMInspector::DetIdItemList::detid, fSep, iDebug, HDQMInspector::DetIdItemList::items, AlCaHLTBitMon_QueryRunRegistry::string, and vDetIdItemList_.
Referenced by unpackItems().
|
private |
Definition at line 261 of file HDQMInspector.cc.
References gather_cfg::cout, plotBeamSpotDB::first, dataset::firstRun, i, iDebug, iovList, prof2calltree::last, and MergeJob_cfg::lastRun.
Referenced by createTrend().
|
inline |
Definition at line 94 of file HDQMInspector.h.
References fSep, and recoMuon::in.
|
inline |
Definition at line 82 of file HDQMInspector.h.
References fSkip0s, and recoMuon::in.
|
inline |
Definition at line 78 of file HDQMInspector.h.
References fSkip99s, and recoMuon::in.
void HDQMInspector::setWhiteList | ( | std::string const & | ListItems | ) |
Definition at line 155 of file HDQMInspector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, cmsRelvalreport::exit, i, python.multivaluedict::sort(), AlCaHLTBitMon_QueryRunRegistry::string, and whiteList.
|
private |
|
private |
Definition at line 708 of file HDQMInspector.cc.
References gather_cfg::cout, HDQMInspector::DetIdItemList::detid, fSep, iDebug, HDQMInspector::DetIdItemList::items, NULL, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by createTrend().
|
private |
Definition at line 691 of file HDQMInspector.cc.
References prof2calltree::count, gather_cfg::cout, and setItems().
Referenced by createTrend().
|
private |
Definition at line 125 of file HDQMInspector.h.
Referenced by createTrend(), and setBlackList().
|
private |
Definition at line 120 of file HDQMInspector.h.
Referenced by accessDB(), and setDB().
|
private |
Definition at line 120 of file HDQMInspector.h.
Referenced by accessDB(), and setDB().
|
private |
Definition at line 120 of file HDQMInspector.h.
Referenced by accessDB(), and setDB().
|
private |
Definition at line 139 of file HDQMInspector.h.
Referenced by plot().
TFile* HDQMInspector::fOutFile |
Definition at line 144 of file HDQMInspector.h.
Referenced by closeFile(), and setDB().
|
private |
Definition at line 141 of file HDQMInspector.h.
Referenced by ApplyConditions(), plot(), setItems(), setSeparator(), and unpackConditions().
|
private |
Definition at line 137 of file HDQMInspector.h.
Referenced by plot(), and setSkip0s().
|
private |
Definition at line 136 of file HDQMInspector.h.
Referenced by plot(), and setSkip99s().
|
private |
Definition at line 134 of file HDQMInspector.h.
Referenced by ApplyConditions(), createTrend(), InitializeIOVList(), isListed(), plot(), setDebug(), setItems(), setRange(), and unpackConditions().
|
private |
Definition at line 135 of file HDQMInspector.h.
Referenced by setDoStat().
|
private |
Definition at line 124 of file HDQMInspector.h.
Referenced by createTrendLastRuns(), InitializeIOVList(), and setRange().
|
private |
Definition at line 122 of file HDQMInspector.h.
Referenced by accessDB(), and ~HDQMInspector().
|
private |
Definition at line 132 of file HDQMInspector.h.
Referenced by getvDetId(), and plot().
|
private |
Definition at line 130 of file HDQMInspector.h.
Referenced by createTrend(), plot(), and setItems().
|
private |
Definition at line 131 of file HDQMInspector.h.
Referenced by getListItems(), and plot().
|
private |
Definition at line 128 of file HDQMInspector.h.
Referenced by createTrend(), getRuns(), and plot().
|
private |
Definition at line 129 of file HDQMInspector.h.
Referenced by createTrend(), getSummary(), and plot().
|
private |
Definition at line 126 of file HDQMInspector.h.
Referenced by createTrend(), and setWhiteList().