#include <DTGlobalRecoTask.h>
Public Member Functions | |
DTGlobalRecoTask (const edm::ParameterSet &ps, DQMStore *dbe, const edm::EventSetup &context) | |
Constructor. | |
virtual | ~DTGlobalRecoTask () |
Destructor. | |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. | |
void | beginJob () |
void | endJob (void) |
Private Attributes | |
std::ofstream | logFile |
int | nevents |
Friends | |
class | DTMonitorModule |
Definition at line 28 of file DTGlobalRecoTask.h.
DTGlobalRecoTask::DTGlobalRecoTask | ( | const edm::ParameterSet & | ps, |
DQMStore * | dbe, | ||
const edm::EventSetup & | context | ||
) |
Constructor.
Definition at line 16 of file DTGlobalRecoTask.cc.
References DQMStore::setCurrentFolder().
{ logFile.open("DTGlobalRecoTask.log"); if ( dbe ) { dbe->setCurrentFolder("DT/DTGlobalRecoTask"); } }
DTGlobalRecoTask::~DTGlobalRecoTask | ( | ) | [virtual] |
void DTGlobalRecoTask::analyze | ( | const edm::Event & | e, |
const edm::EventSetup & | c | ||
) | [protected, virtual] |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 48 of file DTGlobalRecoTask.cc.
References nevents.
{ nevents++; }
void DTGlobalRecoTask::beginJob | ( | void | ) | [protected, virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 36 of file DTGlobalRecoTask.cc.
References nevents.
{ nevents = 0; }
void DTGlobalRecoTask::endJob | ( | void | ) | [protected, virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 42 of file DTGlobalRecoTask.cc.
References gather_cfg::cout, and nevents.
friend class DTMonitorModule [friend] |
Definition at line 30 of file DTGlobalRecoTask.h.
std::ofstream DTGlobalRecoTask::logFile [private] |
Definition at line 58 of file DTGlobalRecoTask.h.
int DTGlobalRecoTask::nevents [private] |
Definition at line 54 of file DTGlobalRecoTask.h.