40 if (getQualityTestsFromFile) {
54 throw cms::Exception(
"Record not found") <<
"Record \"DQMXMLFileRcd" 55 <<
"\" does not exist!" << std::endl;
60 std::unique_ptr<std::vector<unsigned char> > vc((*xmlfile).getUncompressedBlob());
62 for (
unsigned char& it : *vc) {
66 qtHandler->configureTests(xmlstr, bei,
true);
108 std::map<std::string, std::vector<std::string> > theAlarms = qtHandler->checkDetailedQTStatus(bei);
110 for (
auto& theAlarm : theAlarms) {
112 const std::vector<std::string>& msgs = theAlarm.second;
114 (
reportThreshold ==
"orange" && (alarmType ==
"orange" || alarmType ==
"red")) ||
117 std::cout <<
"Error Type: " << alarmType << std::endl;
118 for (
auto const&
msg : msgs)
LuminosityBlockID id() const
T getUntrackedParameter(std::string const &, T const &) const
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) override
perform the actual quality tests
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
~QualityTester() override
Destructor.
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag
xmlfile
Make an XML representation of the misalignment.
void endRun(const edm::Run &r, const edm::EventSetup &c) override
LuminosityBlockNumber_t luminosityBlock() const
heterocontainer::HCTypeTag TypeTag
const TypeTag & type() const
QualityTester(const edm::ParameterSet &ps)
Constructor.
void beginRun(const edm::Run &, const edm::EventSetup &) override