#include <HDQMSummary.h>
Classes | |
struct | DetRegistry |
class | StrictWeakOrdering |
Public Types | |
typedef std::vector< float > ::const_iterator | ContainerIterator |
typedef std::vector< float > | InputVector |
typedef std::pair < ContainerIterator, ContainerIterator > | Range |
typedef std::vector< DetRegistry > | Registry |
typedef Registry::const_iterator | RegistryIterator |
Public Member Functions | |
ContainerIterator | getDataVectorBegin () const |
ContainerIterator | getDataVectorEnd () const |
std::vector< uint32_t > | getDetIds () const |
const Range | getRange (const uint32_t &detID) const |
RegistryIterator | getRegistryVectorBegin () const |
RegistryIterator | getRegistryVectorEnd () const |
int | getRunNr () const |
std::vector< float > | getSummaryObj (uint32_t &detID, const std::vector< std::string > &list) const |
std::vector< float > | getSummaryObj (std::string elementName) const |
std::vector< float > | getSummaryObj (uint32_t &detID) const |
std::vector< float > | getSummaryObj () const |
unsigned long long | getTimeValue () const |
std::vector< std::string > | getUserDBContent () const |
HDQMSummary (std::vector< std::string > &userDBContent) | |
HDQMSummary (const HDQMSummary &input) | |
HDQMSummary () | |
void | print () |
bool | put (const uint32_t &detID, InputVector &input, std::vector< std::string > &userContent) |
void | setObj (const uint32_t &detID, std::string elementName, float value) |
void | setRunNr (int inputRunNr) |
void | setTimeValue (unsigned long long inputTimeValue) |
void | setUserDBContent (const std::vector< std::string > &userDBContent) |
~HDQMSummary () | |
Public Attributes | |
std::vector< DetRegistry > | indexes_ |
int | runNr_ |
unsigned long long | timeValue_ |
std::vector< std::string > | userDBContent_ |
std::vector< float > | v_sum_ |
Protected Member Functions | |
const short | getPosition (std::string elementName) const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 39 of file HDQMSummary.h.
typedef std::vector<float>::const_iterator HDQMSummary::ContainerIterator |
Definition at line 55 of file HDQMSummary.h.
typedef std::vector<float> HDQMSummary::InputVector |
Definition at line 59 of file HDQMSummary.h.
typedef std::pair<ContainerIterator, ContainerIterator> HDQMSummary::Range |
Definition at line 56 of file HDQMSummary.h.
typedef std::vector<DetRegistry> HDQMSummary::Registry |
Definition at line 57 of file HDQMSummary.h.
typedef Registry::const_iterator HDQMSummary::RegistryIterator |
Definition at line 58 of file HDQMSummary.h.
HDQMSummary::HDQMSummary | ( | std::vector< std::string > & | userDBContent | ) |
HDQMSummary::HDQMSummary | ( | const HDQMSummary & | input | ) |
Definition at line 12 of file HDQMSummary.cc.
References getRunNr(), getTimeValue(), getUserDBContent(), indexes_, runNr_, timeValue_, userDBContent_, and v_sum_.
|
inline |
Definition at line 63 of file HDQMSummary.h.
|
inline |
Definition at line 64 of file HDQMSummary.h.
|
inline |
|
inline |
std::vector< uint32_t > HDQMSummary::getDetIds | ( | ) | const |
Definition at line 62 of file HDQMSummary.cc.
References SplitLinear::begin, dataset::end, indexes_, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by getSummaryObj().
|
protected |
Definition at line 73 of file HDQMSummary.cc.
References spr::find(), and userDBContent_.
Referenced by getSummaryObj(), put(), and setObj().
const HDQMSummary::Range HDQMSummary::getRange | ( | const uint32_t & | detID | ) | const |
Definition at line 53 of file HDQMSummary.cc.
References gather_cfg::cout, indexes_, cuda_std::lower_bound(), AlCaHLTBitMon_ParallelJobs::p, userDBContent_, and v_sum_.
Referenced by getSummaryObj(), and setObj().
|
inline |
|
inline |
|
inline |
std::vector< float > HDQMSummary::getSummaryObj | ( | uint32_t & | detID, |
const std::vector< std::string > & | list | ||
) | const |
Definition at line 105 of file HDQMSummary.cc.
References getPosition(), getRange(), mps_fire::i, and sistrip::SpyUtilities::range().
std::vector< float > HDQMSummary::getSummaryObj | ( | std::string | elementName | ) | const |
Definition at line 141 of file HDQMSummary.cc.
References getDetIds(), getPosition(), getRange(), mps_fire::i, and sistrip::SpyUtilities::range().
std::vector< float > HDQMSummary::getSummaryObj | ( | uint32_t & | detID | ) | const |
Definition at line 126 of file HDQMSummary.cc.
References getRange(), mps_fire::i, sistrip::SpyUtilities::range(), and userDBContent_.
std::vector< float > HDQMSummary::getSummaryObj | ( | ) | const |
|
inline |
|
inline |
Definition at line 107 of file HDQMSummary.h.
References userDBContent_.
Referenced by HDQMSummary().
void HDQMSummary::print | ( | void | ) |
Definition at line 160 of file HDQMSummary.cc.
References gather_cfg::cout, indexes_, runNr_, and timeValue_.
bool HDQMSummary::put | ( | const uint32_t & | detID, |
InputVector & | input, | ||
std::vector< std::string > & | userContent | ||
) |
Definition at line 22 of file HDQMSummary.cc.
References HDQMSummary::DetRegistry::detid, getPosition(), mps_fire::i, HDQMSummary::DetRegistry::ibegin, indexes_, cuda_std::lower_bound(), AlCaHLTBitMon_ParallelJobs::p, createJobs::tmp, userDBContent_, and v_sum_.
|
private |
void HDQMSummary::setObj | ( | const uint32_t & | detID, |
std::string | elementName, | ||
float | value | ||
) |
Definition at line 86 of file HDQMSummary.cc.
References Exception, getPosition(), getRange(), indexes_, cuda_std::lower_bound(), AlCaHLTBitMon_ParallelJobs::p, sistrip::SpyUtilities::range(), v_sum_, and relativeConstraints::value.
|
inline |
|
inline |
|
inline |
|
friend |
Definition at line 127 of file HDQMSummary.h.
|
friend |
Definition at line 127 of file HDQMSummary.h.
std::vector<DetRegistry> HDQMSummary::indexes_ |
Definition at line 118 of file HDQMSummary.h.
Referenced by getDetIds(), getRange(), getRegistryVectorBegin(), getRegistryVectorEnd(), HDQMSummary(), print(), put(), and setObj().
int HDQMSummary::runNr_ |
Definition at line 120 of file HDQMSummary.h.
Referenced by getRunNr(), HDQMSummary(), print(), and setRunNr().
unsigned long long HDQMSummary::timeValue_ |
Definition at line 121 of file HDQMSummary.h.
Referenced by getTimeValue(), HDQMSummary(), print(), and setTimeValue().
std::vector<std::string> HDQMSummary::userDBContent_ |
Definition at line 116 of file HDQMSummary.h.
Referenced by getPosition(), getRange(), getSummaryObj(), getUserDBContent(), HDQMSummary(), put(), and setUserDBContent().
std::vector<float> HDQMSummary::v_sum_ |
Definition at line 117 of file HDQMSummary.h.
Referenced by getDataVectorBegin(), getDataVectorEnd(), getRange(), getSummaryObj(), HDQMSummary(), put(), and setObj().