39 if (getQualityTestsFromFile) {
41 qtHandler->configureTests(
FileInPath(qtlist).fullPath(), bei);
55 throw cms::Exception (
"Record not found") <<
"Record \"DQMXMLFileRcd"
56 <<
"\" does not exist!" << std::endl;
61 boost::scoped_ptr<std::vector<unsigned char> > vc( (*xmlfile).getUncompressedBlob() );
63 for(std::vector<unsigned char>::iterator it=vc->begin();it!=vc->end();it++){
67 qtHandler->configureTests(xmlstr,bei,1);
79 if (testInEventloop) {
91 if (!testInEventloop&&qtestOnEndLumi) {
101 if (qtestOnEndRun) performTests();
105 if (qtestOnEndJob) performTests();
119 std::map< std::string, std::vector<std::string> > theAlarms
120 = qtHandler->checkDetailedQTStatus(bei);
123 itr != theAlarms.end(); ++itr)
126 const std::vector<std::string> &msgs = itr->second;
128 || (
reportThreshold ==
"orange" && (alarmType ==
"orange" || alarmType ==
"red"))
132 std::cout <<
"Error Type: " << alarmType << std::endl;
133 for (std::vector<std::string>::const_iterator
msg = msgs.begin();
LuminosityBlockID id() const
T getUntrackedParameter(std::string const &, T const &) const
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
perform the actual quality tests
tuple xmlfile
Make an XML representation of the misalignment.
void endRun(const edm::Run &r, const edm::EventSetup &c)
LuminosityBlockNumber_t luminosityBlock() const
virtual ~QualityTester()
Destructor.
tuple getQualityTestsFromFile
heterocontainer::HCTypeTag TypeTag
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
const TypeTag & type() const
QualityTester(const edm::ParameterSet &ps)
Constructor.
void beginRun(const edm::Run &, const edm::EventSetup &)
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag