CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTGlobalRecoTask.cc
Go to the documentation of this file.
1 /*
2  * \file DTDigiTask.cc
3  *
4  * \author M. Zanetti - INFN Padova
5  *
6 */
7 
10 
11 
12 using namespace std;
13 
15  logFile.open("DTGlobalRecoTask.log");
16  nevents = 0;
17 }
18 
20  cout << "DTGlobalRecoTask: analyzed " << nevents << " events" << endl;
21  logFile.close();
22 }
23 
24 
25 void DTGlobalRecoTask::bookHistograms(DQMStore::IBooker & ibooker, edm::Run const & iRun, edm::EventSetup const & context) {
26  ibooker.setCurrentFolder("DT/DTGlobalRecoTask");
27 }
28 
30  nevents++;
31 }
32 
33 
34 // Local Variables:
35 // show-trailing-whitespace: t
36 // truncate-lines: t
37 // End:
DTGlobalRecoTask(const edm::ParameterSet &ps, const edm::EventSetup &context)
Constructor.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
virtual ~DTGlobalRecoTask()
Destructor.
tuple logFile
Definition: heppy_check.py:39
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
tuple cout
Definition: gather_cfg.py:121
Definition: Run.h:41