src
L1Trigger
L1TNtuples
interface
L1AnalysisRecoMuon2.h
Go to the documentation of this file.
1
#ifndef __L1Analysis_L1AnalysisRecoMuon2_H__
2
#define __L1Analysis_L1AnalysisRecoMuon2_H__
3
4
//-------------------------------------------------------------------------------
5
// Created 05/03/2010 - A.C. Le Bihan
6
//
7
//
8
// Original code : L1Trigger/L1TNtuples/L1RecoJetNtupleProducer - Jim Brooke
9
//-------------------------------------------------------------------------------
10
11
#include "
JetMETCorrections/JetCorrector/interface/JetCorrector.h
"
12
#include "
DataFormats/JetReco/interface/CaloJetCollection.h
"
13
#include "
DataFormats/JetReco/interface/JetID.h
"
14
#include "
L1AnalysisRecoMuon2DataFormat.h
"
15
16
//muons
17
#include "
DataFormats/MuonReco/interface/Muon.h
"
18
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
19
#include "
DataFormats/TrackReco/interface/Track.h
"
20
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
21
#include "
DataFormats/GeometrySurface/interface/Cylinder.h
"
22
#include "
DataFormats/GeometrySurface/interface/Plane.h
"
23
#include "
DataFormats/MuonReco/interface/MuonEnergy.h
"
24
#include "
DataFormats/MuonReco/interface/MuonTime.h
"
25
#include "
CondFormats/AlignmentRecord/interface/TrackerSurfaceDeformationRcd.h
"
26
27
#include "
FWCore/Framework/interface/Event.h
"
28
#include "
FWCore/Framework/interface/EventSetup.h
"
29
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
30
31
//vertices bp
32
#include "
DataFormats/VertexReco/interface/Vertex.h
"
33
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
34
#include "
L1Trigger/L1TNtuples/interface/L1AnalysisRecoVertexDataFormat.h
"
35
36
// track extrapolation
37
#include "
MuonAnalysis/MuonAssociators/interface/PropagateToMuonSetup.h
"
38
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
39
40
namespace
L1Analysis
{
41
class
L1AnalysisRecoMuon2
{
42
public
:
43
L1AnalysisRecoMuon2
(
const
edm::ParameterSet
&
pset
,
edm::ConsumesCollector
);
44
~L1AnalysisRecoMuon2
();
45
46
void
init
(
const
edm::EventSetup
&
eventSetup
);
47
48
//void Print(std::ostream &os = std::cout) const;
49
void
SetMuon
(
const
edm::Event
&
event
,
50
const
edm::EventSetup
&
setup
,
51
const
edm::Handle<reco::MuonCollection>
muons
,
52
const
edm::Handle<reco::VertexCollection>
vertices
,
53
double
METx,
54
double
METy,
55
unsigned
maxMuon
);
56
57
/* bool isMediumMuon(const reco::Muon & recoMu) ; */
58
/* bool isLooseMuon (const reco::Muon & recoMu); */
59
60
L1AnalysisRecoMuon2DataFormat
*
getData
() {
return
&
recoMuon_
; }
61
void
Reset
() {
recoMuon_
.
Reset
(); }
62
63
private
:
64
L1AnalysisRecoMuon2DataFormat
recoMuon_
;
65
66
const
PropagateToMuonSetup
muPropagatorSetup1st_
;
67
const
PropagateToMuonSetup
muPropagatorSetup2nd_
;
68
69
PropagateToMuon
muPropagator1st_
;
70
PropagateToMuon
muPropagator2nd_
;
71
};
72
}
// namespace L1Analysis
73
#endif
JetCorrector.h
Vertex.h
PropagateToMuonSetup
Propagate an object (usually a track) to the second (default) or first muon station.
Event.h
Plane.h
CaloJetCollection.h
edm::Handle< reco::MuonCollection >
EventSetup.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
JetID.h
PropagateToMuonSetup.h
TrackFwd.h
VertexFwd.h
L1Analysis::L1AnalysisRecoMuon2DataFormat::Reset
void Reset()
Definition:
L1AnalysisRecoMuon2DataFormat.h:18
L1Analysis::L1AnalysisRecoMuon2::muPropagatorSetup1st_
const PropagateToMuonSetup muPropagatorSetup1st_
Definition:
L1AnalysisRecoMuon2.h:66
L1AnalysisRecoMuon2DataFormat.h
DiMuonV_cfg.muons
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
Definition:
DiMuonV_cfg.py:212
MuonFwd.h
L1Analysis::L1AnalysisRecoMuon2
Definition:
L1AnalysisRecoMuon2.h:41
AlignmentTracksFromVertexSelector_cfi.vertices
vertices
Definition:
AlignmentTracksFromVertexSelector_cfi.py:5
PropagateToMuon
Propagate an object (usually a track) to the second (default) or first muon station.
Definition:
PropagateToMuon.h:31
L1AnalysisRecoVertexDataFormat.h
edm::EventSetup
Definition:
EventSetup.h:56
Muon.h
singleTopDQM_cfi.setup
setup
SETUP
Definition:
singleTopDQM_cfi.py:37
MuonEnergy.h
L1Analysis::L1AnalysisRecoMuon2::Reset
void Reset()
Definition:
L1AnalysisRecoMuon2.h:61
L1Analysis::L1AnalysisRecoMuon2::L1AnalysisRecoMuon2
L1AnalysisRecoMuon2(const edm::ParameterSet &pset, edm::ConsumesCollector)
Definition:
L1AnalysisRecoMuon2.cc:10
L1Analysis::L1AnalysisRecoMuon2::muPropagatorSetup2nd_
const PropagateToMuonSetup muPropagatorSetup2nd_
Definition:
L1AnalysisRecoMuon2.h:67
L1Analysis::L1AnalysisRecoMuon2::~L1AnalysisRecoMuon2
~L1AnalysisRecoMuon2()
Definition:
L1AnalysisRecoMuon2.cc:14
L1Analysis::L1AnalysisRecoMuon2::muPropagator2nd_
PropagateToMuon muPropagator2nd_
Definition:
L1AnalysisRecoMuon2.h:70
MuonTime.h
TrackerSurfaceDeformationRcd.h
l1MuonRecoTree_cfi.maxMuon
maxMuon
Definition:
l1MuonRecoTree_cfi.py:4
L1Analysis
Definition:
L1AnalysisBMTFInputs.h:12
L1Analysis::L1AnalysisRecoMuon2::recoMuon_
L1AnalysisRecoMuon2DataFormat recoMuon_
Definition:
L1AnalysisRecoMuon2.h:64
TrajectoryStateOnSurface.h
Track.h
edm::ParameterSet
Definition:
ParameterSet.h:48
L1Analysis::L1AnalysisRecoMuon2DataFormat
Definition:
L1AnalysisRecoMuon2DataFormat.h:14
L1Analysis::L1AnalysisRecoMuon2::init
void init(const edm::EventSetup &eventSetup)
Definition:
L1AnalysisRecoMuon2.cc:94
edm::Event
Definition:
Event.h:73
L1Analysis::L1AnalysisRecoMuon2::SetMuon
void SetMuon(const edm::Event &event, const edm::EventSetup &setup, const edm::Handle< reco::MuonCollection > muons, const edm::Handle< reco::VertexCollection > vertices, double METx, double METy, unsigned maxMuon)
Definition:
L1AnalysisRecoMuon2.cc:16
Cylinder.h
options_cfi.eventSetup
eventSetup
Definition:
options_cfi.py:11
L1Analysis::L1AnalysisRecoMuon2::muPropagator1st_
PropagateToMuon muPropagator1st_
Definition:
L1AnalysisRecoMuon2.h:69
ConsumesCollector.h
event
Definition:
event.py:1
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
L1Analysis::L1AnalysisRecoMuon2::getData
L1AnalysisRecoMuon2DataFormat * getData()
Definition:
L1AnalysisRecoMuon2.h:60
Generated for CMSSW Reference Manual by
1.8.14