Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQM
DTMonitorModule
src
DTGlobalRecoTask.cc
Go to the documentation of this file.
1
/*
2
* \file DTDigiTask.cc
3
*
4
* $Date: 2008/03/01 00:39:54 $
5
* $Revision: 1.4 $
6
* \author M. Zanetti - INFN Padova
7
*
8
*/
9
10
#include <
DQM/DTMonitorModule/interface/DTGlobalRecoTask.h
>
11
#include "
DQMServices/Core/interface/DQMStore.h
"
12
13
14
using namespace
std;
15
16
DTGlobalRecoTask::DTGlobalRecoTask
(
const
edm::ParameterSet
& ps,
DQMStore
* dbe,
17
const
edm::EventSetup
& context){
18
19
logFile.open(
"DTGlobalRecoTask.log"
);
20
21
22
if
( dbe ) {
23
dbe->
setCurrentFolder
(
"DT/DTGlobalRecoTask"
);
24
25
26
}
27
28
}
29
30
DTGlobalRecoTask::~DTGlobalRecoTask
(){
31
32
logFile.close();
33
34
}
35
36
void
DTGlobalRecoTask::beginJob
(){
37
38
nevents
= 0;
39
40
}
41
42
void
DTGlobalRecoTask::endJob
(){
43
44
cout
<<
"DTGlobalRecoTask: analyzed "
<<
nevents
<<
" events"
<< endl;
45
46
}
47
48
void
DTGlobalRecoTask::analyze
(
const
edm::Event
& e,
const
edm::EventSetup
&
c
){
49
50
nevents
++;
51
52
53
54
55
}
56
DTGlobalRecoTask::endJob
void endJob(void)
Definition:
DTGlobalRecoTask.cc:42
DQMStore
Definition:
DQMStore.h:35
DTGlobalRecoTask.h
DTGlobalRecoTask::DTGlobalRecoTask
DTGlobalRecoTask(const edm::ParameterSet &ps, DQMStore *dbe, const edm::EventSetup &context)
Constructor.
Definition:
DTGlobalRecoTask.cc:16
DQMStore.h
nevents
int nevents
Definition:
DTDataIntegrityTask.cc:32
edm::EventSetup
Definition:
EventSetup.h:44
DTGlobalRecoTask::beginJob
void beginJob()
Definition:
DTGlobalRecoTask.cc:36
DTGlobalRecoTask::~DTGlobalRecoTask
virtual ~DTGlobalRecoTask()
Destructor.
Definition:
DTGlobalRecoTask.cc:30
trackerHits.c
tuple c
Definition:
trackerHits.py:26
DTGlobalRecoTask::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition:
DTGlobalRecoTask.cc:48
edm::ParameterSet
Definition:
ParameterSet.h:32
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:41
edm::Event
Definition:
Event.h:49
DQMStore::setCurrentFolder
void setCurrentFolder(const std::string &fullpath)
Definition:
DQMStore.cc:232
Generated for CMSSW Reference Manual by
1.8.5