Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DQMOffline
Muon
interface
MuonAnalyzerBase.h
Go to the documentation of this file.
1
#ifndef MuonAnalyzerBase_H
2
#define MuonAnalyzerBase_H
3
4
13
#include <memory>
14
#include <fstream>
15
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
FWCore/Framework/interface/MakerMacros.h
"
18
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
19
#include "
FWCore/ServiceRegistry/interface/Service.h
"
20
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
21
22
#include "
DQMServices/Core/interface/DQMStore.h
"
23
#include "
DQMServices/Core/interface/MonitorElement.h
"
24
#include "
DataFormats/MuonReco/interface/Muon.h
"
25
#include "
DataFormats/TrackReco/interface/Track.h
"
26
#include "
RecoMuon/TrackingTools/interface/MuonServiceProxy.h
"
27
28
class
MuonAnalyzerBase
:
public
edm::EDAnalyzer
{
29
public
:
30
32
MuonAnalyzerBase
(
MuonServiceProxy
*theServ):
theService
(theServ){}
33
35
virtual
~MuonAnalyzerBase
() {}
36
38
virtual
void
beginJob
(
DQMStore
* dbe)= 0;
39
41
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&,
reco::Muon
& recoMuon){}
42
44
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&,
reco::Track
& recoTrack){}
45
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&){};
46
47
MuonServiceProxy
*
service
() {
return
theService
;}
48
49
private
:
50
// ----------member data ---------------------------
51
MuonServiceProxy
*
theService
;
52
};
53
#endif
edm::EDAnalyzer::beginJob
virtual void beginJob()
Definition:
EDAnalyzer.h:67
MuonAnalyzerBase::~MuonAnalyzerBase
virtual ~MuonAnalyzerBase()
Destructor.
Definition:
MuonAnalyzerBase.h:35
MuonAnalyzerBase::theService
MuonServiceProxy * theService
Definition:
MuonAnalyzerBase.h:51
MuonServiceProxy.h
Event.h
MakerMacros.h
MuonAnalyzerBase::service
MuonServiceProxy * service()
Definition:
MuonAnalyzerBase.h:47
MuonAnalyzerBase::analyze
void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
MuonAnalyzerBase.h:45
MuonAnalyzerBase::MuonAnalyzerBase
MuonAnalyzerBase(MuonServiceProxy *theServ)
Constructor.
Definition:
MuonAnalyzerBase.h:32
Frameworkfwd.h
ParameterSet.h
DQMStore
Definition:
DQMStore.h:73
DQMStore.h
MuonServiceProxy
Definition:
MuonServiceProxy.h:24
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
Muon.h
reco::Muon
Definition:
Muon.h:27
edm::EDAnalyzer
Definition:
EDAnalyzer.h:25
EDAnalyzer.h
reco::Track
Definition:
Track.h:27
MonitorElement.h
MuonAnalyzerBase::analyze
void analyze(const edm::Event &, const edm::EventSetup &, reco::Muon &recoMuon)
Get the analysis of the muon properties.
Definition:
MuonAnalyzerBase.h:41
MuonAnalyzerBase
Definition:
MuonAnalyzerBase.h:28
MuonAnalyzerBase::analyze
void analyze(const edm::Event &, const edm::EventSetup &, reco::Track &recoTrack)
Get the analysis of the muon track properties.
Definition:
MuonAnalyzerBase.h:44
edm::Event
Definition:
Event.h:62
Track.h
Generated for CMSSW Reference Manual by
1.8.5