edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::DQMReferenceHistogramRootFileEventSetupAnalyzer |
( |
const edm::ParameterSet & |
pset | ) |
|
|
explicit |
edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::DQMReferenceHistogramRootFileEventSetupAnalyzer |
( |
int |
i | ) |
|
|
explicit |
edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::~DQMReferenceHistogramRootFileEventSetupAnalyzer |
( |
| ) |
|
|
virtual |
void edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::analyze |
( |
const edm::Event & |
event, |
|
|
const edm::EventSetup & |
setup |
|
) |
| |
|
virtual |
void edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun |
( |
edm::Run const & |
run, |
|
|
edm::EventSetup const & |
iSetup |
|
) |
| |
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 56 of file DQMReferenceHistogramRootFileEventSetupAnalyzer.cc.
References edm::hlt::Exception, edm::eventsetup::heterocontainer::HCTypeTag::findType(), edm::EventSetup::get(), DQMStore::getAllContents(), init_, DQMStore::open(), EdgesToViz::outfile, convertSQLitetoXML_cfg::output, funct::true, and edm::eventsetup::EventSetupRecordKey::type().
64 throw cms::Exception (
"Record not found") <<
"Record \"DQMReferenceHistogramRootFileRcd"
65 <<
"\" does not exist!" << std::endl;
70 boost::scoped_ptr<std::vector<unsigned char> > tb( (*rootgeo).getUncompressedBlob() );
76 std::string
outfile(
"dqmreference.root") ;
78 output.write((
const char *)&(*tb)[0], tb->size());
std::vector< MonitorElement * > getAllContents(const std::string &path) const
heterocontainer::HCTypeTag TypeTag
bool open(const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=KeepRunDirs, bool fileMustExist=true)
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag
bool edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::init_ |
|
private |