Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQMOffline
Muon
src
MuonAnalyzerBase.h
Go to the documentation of this file.
1
#ifndef MuonAnalyzerBase_H
2
#define MuonAnalyzerBase_H
3
4
15
#include <memory>
16
#include <fstream>
17
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/Framework/interface/MakerMacros.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include "
FWCore/ServiceRegistry/interface/Service.h
"
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
{
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
46
MuonServiceProxy
*
service
() {
return
theService
;}
47
48
private
:
49
// ----------member data ---------------------------
50
MuonServiceProxy
*
theService
;
51
};
52
#endif
MuonAnalyzerBase::~MuonAnalyzerBase
virtual ~MuonAnalyzerBase()
Destructor.
Definition:
MuonAnalyzerBase.h:35
MuonAnalyzerBase::theService
MuonServiceProxy * theService
Definition:
MuonAnalyzerBase.h:50
MuonServiceProxy.h
Event.h
MakerMacros.h
MuonAnalyzerBase::service
MuonServiceProxy * service()
Definition:
MuonAnalyzerBase.h:46
MuonAnalyzerBase::MuonAnalyzerBase
MuonAnalyzerBase(MuonServiceProxy *theServ)
Constructor.
Definition:
MuonAnalyzerBase.h:32
Frameworkfwd.h
ParameterSet.h
DQMStore
Definition:
DQMStore.h:67
DQMStore.h
MuonServiceProxy
Definition:
MuonServiceProxy.h:26
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
Muon.h
reco::Muon
Definition:
Muon.h:28
MuonAnalyzerBase::beginJob
virtual void beginJob(DQMStore *dbe)=0
Inizialize parameters for histo binning.
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:50
Track.h
Generated for CMSSW Reference Manual by
1.8.5