Go to the documentation of this file. 1 #ifndef DataFormats_Histograms_MonitorElementCollection_h
2 #define DataFormats_Histograms_MonitorElementCollection_h
183 std::vector<std::string>
buf;
184 static std::regex
const dir(
"^/*([^/]+)");
187 while (std::regex_search(
in,
m,
dir)) {
195 in =
m.suffix().str();
201 int numberOfItems =
buf.size();
202 for (
int i = 0;
i < numberOfItems;
i++) {
203 if (
i == numberOfItems - 1) {
217 return this->dirname_ ==
other.dirname_ && this->objname_ ==
other.objname_;
233 auto makeKeyTuple = [](
Key const&
k) {
234 return std::make_tuple(
235 k.path_.getDirname(),
k.path_.getObjectname(),
k.scope_,
k.id_.run(),
k.id_.luminosityBlock());
238 return makeKeyTuple(*
this) < makeKeyTuple(
other);
254 std::vector<std::unique_ptr<const MonitorElementData>>
data_;
271 assert(!
"Not implemented yet.");
std::string getFullname() const
bool operator<(MonitorElementData const &other) const
std::string const & getObjectname() const
std::vector< DQMChannel > badChannels_
bool mergeProduct(MonitorElementCollection const &product)
void setBadChannels(std::vector< DQMChannel > badChannels)
bool operator<(Key const &other) const
edm::LuminosityBlockID id_
const std::string & getAlgorithm() const
get quality test algorithm
std::vector< QReport > qreports_
void swap(MonitorElementCollection &other)
std::string const & getDirname() const
float getQTresult() const
get test result i.e. prob value
QValue const & getValue() const
const std::vector< DQMChannel > & getBadChannels() const
void set(std::string path, Path::Type type)
const std::string & getQRName() const
get name of quality test
int getStatus() const
get test status
edm::propagate_const< std::unique_ptr< TH1 > > object_
const std::string & getMessage() const
get message attached to test
std::vector< std::unique_ptr< const MonitorElementData > > data_
char data[epos_bytes_allocation]
void push_back(std::unique_ptr< const MonitorElementData > value)
bool operator==(Path const &other) const
QValue & getValue()
access underlying value
DQMChannel(int bx, int by, int bz, float data, float rms)