Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Validation
RecoMET
interface
METFileSaver.h
Go to the documentation of this file.
1
#ifndef METFILESAVER_H
2
#define METFILESAVER_H
3
4
// author: Mike Schmitt (The University of Florida)
5
// date: 8/24/2006
6
// modification: Bobby Scurlock
7
// date: 03.11.2006
8
// note: added RMS(METx) vs SumET capability
9
// modification: Rick Cavanaugh
10
// date: 05.11.2006
11
// note: added configuration parameters
12
// modification: Mike Schmitt
13
// date: 02.28.2007
14
// note: code rewrite
15
16
#include "
DQMServices/Core/interface/DQMStore.h
"
17
18
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
19
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
20
21
#include <string>
22
#include <map>
23
#include "
DQMServices/Core/interface/MonitorElement.h
"
24
25
class
METFileSaver
:
public
edm::EDAnalyzer
{
26
public
:
27
28
explicit
METFileSaver
(
const
edm::ParameterSet
&);
29
30
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
31
virtual
void
beginJob
() ;
32
virtual
void
endJob
() ;
33
34
private
:
35
36
// DAQ Tools
37
DQMStore
*
dbe_
;
38
std::map<std::string, MonitorElement*>
me
;
39
40
// Inputs from Configuration File
41
std::string
outputFile_
;
42
43
};
44
45
#endif // METFILESAVER_H
METFileSaver::me
std::map< std::string, MonitorElement * > me
Definition:
METFileSaver.h:38
METFileSaver::beginJob
virtual void beginJob()
Definition:
METFileSaver.cc:38
Frameworkfwd.h
DQMStore
Definition:
DQMStore.h:67
DQMStore.h
edm::EventSetup
Definition:
EventSetup.h:44
METFileSaver
Definition:
METFileSaver.h:25
METFileSaver::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
METFileSaver.cc:45
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
METFileSaver::endJob
virtual void endJob()
Definition:
METFileSaver.cc:49
MonitorElement.h
METFileSaver::outputFile_
std::string outputFile_
Definition:
METFileSaver.h:41
edm::ParameterSet
Definition:
ParameterSet.h:35
METFileSaver::dbe_
DQMStore * dbe_
Definition:
METFileSaver.h:37
edm::Event
Definition:
Event.h:50
METFileSaver::METFileSaver
METFileSaver(const edm::ParameterSet &)
Definition:
METFileSaver.cc:29
Generated for CMSSW Reference Manual by
1.8.5