1 #ifndef HDQMInspector_h
2 #define HDQMInspector_h
26 #include "TGraphErrors.h"
70 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);
72 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);
109 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);
117 bool isListed(
unsigned int run, std::vector<unsigned int>& vList);
double findGraphMin(TGraphErrors *)
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 *)
std::vector< std::string > vlistItems_
HDQMInspector(const HDQMInspectorConfigBase *InConfig)
std::vector< std::string > items
std::vector< unsigned int > iovList
std::vector< float > getSummary()
std::vector< unsigned int > whiteList
void setSkip99s(bool const in)
void setItems(std::string)
void setSeparator(std::string const in)
void setBlackList(std::string const &ListItems)
bool isListed(unsigned int run, std::vector< unsigned int > &vList)
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 setWhiteList(std::string const &ListItems)
void unpackConditions(std::string &, std::vector< DetIdItemList > &)
std::vector< unsigned int > getvDetId()
std::vector< float > values
std::vector< unsigned int > blackList
std::string readListFromFile(const std::string &listFileName)
bool ApplyConditions(std::string &, std::vector< DetIdItemList > &)
const HDQMInspectorConfigBase * fHDQMInspectorConfig
bool setRange(unsigned int &firstRun, unsigned int &lastRun)
std::vector< std::string > getListItems()
std::vector< unsigned int > getRuns()
std::vector< float > vSummary_
std::vector< unsigned int > vdetId_
size_t unpackItems(std::string &)
void setDB(const std::string &DBName, const std::string &DBTag, const std::string &DBauth="")
void setSkip0s(bool const in)
std::vector< DetIdItemList > vDetIdItemList_
CondCachedIter< HDQMSummary > * Iterator
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)
std::vector< unsigned int > vRun_