CMS 3D CMS Logo

Public Member Functions | Private Attributes

SaveDQMFile Class Reference

#include <SaveDQMFile.h>

Inheritance diagram for SaveDQMFile:
edm::EDAnalyzer edm::EDConsumerBase

List of all members.

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &)
 Analyze.
void beginJob ()
 BeginJob.
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 Begin Lumi block.
void beginRun (const edm::Run &, const edm::EventSetup &)
void endJob ()
 Endjob.
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 End Lumi Block.
void endRun (const edm::Run &, const edm::EventSetup &)
 SaveDQMFile (const edm::ParameterSet &ps)
 Constructor.
virtual ~SaveDQMFile ()
 Destructor.

Private Attributes

DQMStoredbe_
std::string myFile_

Detailed Description

Definition at line 20 of file SaveDQMFile.h.


Constructor & Destructor Documentation

SaveDQMFile::SaveDQMFile ( const edm::ParameterSet ps)

Constructor.

Definition at line 28 of file SaveDQMFile.cc.

References edm::ParameterSet::getUntrackedParameter().

                                               {
 
  LogVerbatim ("readFile") << "[SaveDQMFile]: Constructor";

  myFile_= ps.getUntrackedParameter<string>("OutputFile", "uffa.root");
}
SaveDQMFile::~SaveDQMFile ( ) [virtual]

Destructor.

Definition at line 35 of file SaveDQMFile.cc.

References dbe_.

                         {
  dbe_ = 0;
}

Member Function Documentation

void SaveDQMFile::analyze ( const edm::Event iEvent,
const edm::EventSetup c 
) [virtual]

Analyze.

Implements edm::EDAnalyzer.

Definition at line 48 of file SaveDQMFile.cc.

{}
void SaveDQMFile::beginJob ( void  ) [virtual]

BeginJob.

Reimplemented from edm::EDAnalyzer.

Definition at line 39 of file SaveDQMFile.cc.

{}
void SaveDQMFile::beginLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  context 
) [virtual]

Begin Lumi block.

Reimplemented from edm::EDAnalyzer.

Definition at line 46 of file SaveDQMFile.cc.

{}
void SaveDQMFile::beginRun ( const edm::Run r,
const edm::EventSetup iSetup 
) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 41 of file SaveDQMFile.cc.

References dbe_, cppFunctionSkipper::operator, and DQMStore::setVerbose().

void SaveDQMFile::endJob ( void  ) [virtual]

Endjob.

Reimplemented from edm::EDAnalyzer.

Definition at line 60 of file SaveDQMFile.cc.

{}
void SaveDQMFile::endLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  iSetup 
) [virtual]

End Lumi Block.

Reimplemented from edm::EDAnalyzer.

Definition at line 50 of file SaveDQMFile.cc.

{}
void SaveDQMFile::endRun ( const edm::Run r,
const edm::EventSetup c 
) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 52 of file SaveDQMFile.cc.

References dbe_, and DQMStore::save().

                                                         {

  if(dbe_ && myFile_ != "") {
    LogVerbatim ("savedqmfile") << "[SaveDQMFile]: Saving File "<<myFile_;
    dbe_->save(myFile_) ;
  }
}

Member Data Documentation

Definition at line 56 of file SaveDQMFile.h.

std::string SaveDQMFile::myFile_ [private]

Definition at line 54 of file SaveDQMFile.h.