Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
Vertex.h
edmPickEvents.event
tuple event
Definition:
edmPickEvents.py:273
PropagateToMuonSetup
Propagate an object (usually a track) to the second (default) or first muon station.
Definition:
PropagateToMuonSetup.h:25
Event.h
Plane.h
CaloJetCollection.h
edm::Handle< reco::MuonCollection >
EventSetup.h
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:591
JetID.h
PropagateToMuonSetup.h
TrackFwd.h
VertexFwd.h
beam_dqm_sourceclient-live_cfg.vertices
tuple vertices
Definition:
beam_dqm_sourceclient-live_cfg.py:130
L1Analysis::L1AnalysisRecoMuon2DataFormat::Reset
void Reset()
Definition:
L1AnalysisRecoMuon2DataFormat.h:18
L1Analysis::L1AnalysisRecoMuon2::muPropagatorSetup1st_
const PropagateToMuonSetup muPropagatorSetup1st_
Definition:
L1AnalysisRecoMuon2.h:66
L1AnalysisRecoMuon2DataFormat.h
MuonFwd.h
L1Analysis::L1AnalysisRecoMuon2
Definition:
L1AnalysisRecoMuon2.h:41
PropagateToMuon
Propagate an object (usually a track) to the second muon station. Support for other muon stations wil...
Definition:
PropagateToMuon.h:31
JetCorrector.h
L1AnalysisRecoVertexDataFormat.h
edm::EventSetup
Definition:
EventSetup.h:59
Muon.h
MuonEnergy.h
L1Analysis::L1AnalysisRecoMuon2::Reset
void Reset()
Definition:
L1AnalysisRecoMuon2.h:61
GeneralSetup.setup
def setup
Definition:
GeneralSetup.py:2
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
patZpeak.muons
tuple muons
Definition:
patZpeak.py:41
L1Analysis::L1AnalysisRecoMuon2::recoMuon_
L1AnalysisRecoMuon2DataFormat recoMuon_
Definition:
L1AnalysisRecoMuon2.h:64
TrajectoryStateOnSurface.h
Track.h
edm::ParameterSet
Definition:
ParameterSet.h:47
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
L1Analysis::L1AnalysisRecoMuon2::muPropagator1st_
PropagateToMuon muPropagator1st_
Definition:
L1AnalysisRecoMuon2.h:69
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
L1Analysis::L1AnalysisRecoMuon2::getData
L1AnalysisRecoMuon2DataFormat * getData()
Definition:
L1AnalysisRecoMuon2.h:60
Generated for CMSSW Reference Manual by
1.8.5