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
30
//vertices bp
31
#include "
DataFormats/VertexReco/interface/Vertex.h
"
32
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
33
#include "
L1Trigger/L1TNtuples/interface/L1AnalysisRecoVertexDataFormat.h
"
34
35
// track extrapolation
36
#include "
MuonAnalysis/MuonAssociators/interface/PropagateToMuon.h
"
37
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
38
39
namespace
L1Analysis
{
40
class
L1AnalysisRecoMuon2
{
41
public
:
42
L1AnalysisRecoMuon2
(
const
edm::ParameterSet
&
pset
);
43
~L1AnalysisRecoMuon2
();
44
45
void
init
(
const
edm::EventSetup
& eventSetup);
46
47
//void Print(std::ostream &os = std::cout) const;
48
void
SetMuon
(
const
edm::Event
&
event
,
49
const
edm::EventSetup
&
setup
,
50
const
edm::Handle<reco::MuonCollection>
muons
,
51
const
edm::Handle<reco::VertexCollection>
vertices
,
52
double
METx,
53
double
METy,
54
unsigned
maxMuon
);
55
56
/* bool isMediumMuon(const reco::Muon & recoMu) ; */
57
/* bool isLooseMuon (const reco::Muon & recoMu); */
58
59
L1AnalysisRecoMuon2DataFormat
*
getData
() {
return
&
recoMuon_
; }
60
void
Reset
() {
recoMuon_
.
Reset
(); }
61
62
private
:
63
L1AnalysisRecoMuon2DataFormat
recoMuon_
;
64
65
PropagateToMuon
muPropagator1st_
;
66
PropagateToMuon
muPropagator2nd_
;
67
};
68
}
// namespace L1Analysis
69
#endif
L1AnalysisRecoMuon2DataFormat.h
PDWG_BPHSkim_cff.muons
muons
Definition:
PDWG_BPHSkim_cff.py:47
CaloJetCollection.h
TrajectoryStateOnSurface.h
L1Analysis::L1AnalysisRecoMuon2DataFormat
Definition:
L1AnalysisRecoMuon2DataFormat.h:14
PropagateToMuon.h
Muon.h
Cylinder.h
JetID.h
L1Analysis::L1AnalysisRecoMuon2::muPropagator1st_
PropagateToMuon muPropagator1st_
Definition:
L1AnalysisRecoMuon2.h:65
L1Analysis::L1AnalysisRecoMuon2DataFormat::Reset
void Reset()
Definition:
L1AnalysisRecoMuon2DataFormat.h:18
L1Analysis::L1AnalysisRecoMuon2
Definition:
L1AnalysisRecoMuon2.h:40
L1Analysis::L1AnalysisRecoMuon2::Reset
void Reset()
Definition:
L1AnalysisRecoMuon2.h:60
L1AnalysisRecoVertexDataFormat.h
edm::Handle< reco::MuonCollection >
TrackerSurfaceDeformationRcd.h
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
l1MuonRecoTree_cfi.maxMuon
maxMuon
Definition:
l1MuonRecoTree_cfi.py:4
Plane.h
L1Analysis::L1AnalysisRecoMuon2::getData
L1AnalysisRecoMuon2DataFormat * getData()
Definition:
L1AnalysisRecoMuon2.h:59
Track.h
L1Analysis::L1AnalysisRecoMuon2::~L1AnalysisRecoMuon2
~L1AnalysisRecoMuon2()
Definition:
L1AnalysisRecoMuon2.cc:14
TrackFwd.h
MuonFwd.h
L1Analysis
Definition:
L1AnalysisBMTFInputs.h:18
L1Analysis::L1AnalysisRecoMuon2::recoMuon_
L1AnalysisRecoMuon2DataFormat recoMuon_
Definition:
L1AnalysisRecoMuon2.h:63
JetCorrector.h
PropagateToMuon
Propagate an object (usually a track) to the second muon station. Support for other muon stations wil...
Definition:
PropagateToMuon.h:29
Vertex.h
L1Analysis::L1AnalysisRecoMuon2::init
void init(const edm::EventSetup &eventSetup)
Definition:
L1AnalysisRecoMuon2.cc:94
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
MuonTime.h
edm::EventSetup
Definition:
EventSetup.h:58
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
VertexFwd.h
L1Analysis::L1AnalysisRecoMuon2::muPropagator2nd_
PropagateToMuon muPropagator2nd_
Definition:
L1AnalysisRecoMuon2.h:66
EventSetup.h
L1Analysis::L1AnalysisRecoMuon2::L1AnalysisRecoMuon2
L1AnalysisRecoMuon2(const edm::ParameterSet &pset)
Definition:
L1AnalysisRecoMuon2.cc:10
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
MuonEnergy.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
pwdgSkimBPark_cfi.vertices
vertices
Definition:
pwdgSkimBPark_cfi.py:7
Generated for CMSSW Reference Manual by
1.8.16