Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
PatUtils
interface
LeptonVertexSignificance.h
Go to the documentation of this file.
1
//
2
//
3
4
#ifndef PhysicsTools_PatUtils_LeptonVertexSignificance_h
5
#define PhysicsTools_PatUtils_LeptonVertexSignificance_h
6
18
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
19
#include "
DataFormats/VertexReco/interface/Vertex.h
"
20
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
21
22
class
TransientTrackBuilder
;
23
24
namespace
reco
{
25
class
Track;
26
}
27
28
namespace
edm
{
29
class
Event
;
30
class
EventSetup
;
31
}
32
33
namespace
pat
{
34
class
Electron
;
35
class
Muon
;
36
37
class
LeptonVertexSignificance
{
38
public
:
39
LeptonVertexSignificance
();
40
LeptonVertexSignificance
(
const
edm::EventSetup
& iSetup,
edm::ConsumesCollector
&& iC);
41
~
LeptonVertexSignificance
();
42
43
float
calculate(
const
Electron
& anElectron,
const
edm::Event
&
iEvent
);
44
float
calculate(
const
Muon
& aMuon,
const
edm::Event
& iEvent);
45
46
private
:
47
float
calculate(
const
reco::Track
&
track
,
const
edm::Event
& iEvent);
48
TransientTrackBuilder
*
theTrackBuilder_
;
49
edm::EDGetTokenT<reco::VertexCollection>
vertexToken_
;
50
};
51
52
}
53
54
#endif
55
pat::LeptonVertexSignificance::vertexToken_
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
Definition:
LeptonVertexSignificance.h:49
VertexFwd.h
edm::EDGetTokenT< reco::VertexCollection >
pat
Definition:
HeavyIon.h:7
pat::LeptonVertexSignificance
Calculates a lepton's vertex association significance.
Definition:
LeptonVertexSignificance.h:37
pat::LeptonVertexSignificance::theTrackBuilder_
TransientTrackBuilder * theTrackBuilder_
Definition:
LeptonVertexSignificance.h:48
EventSetup
iEvent
int iEvent
Definition:
GenABIO.cc:230
Muon
Definition:
Muon.py:1
TransientTrackBuilder
Definition:
TransientTrackBuilder.h:16
edm::EventSetup
Definition:
EventSetup.h:54
Vertex.h
HiIsolationCommonParameters_cff.track
track
Definition:
HiIsolationCommonParameters_cff.py:9
reco::Track
Definition:
Track.h:28
Event
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
edm
HLT enums.
Definition:
AlignableModifier.h:17
Electron
Definition:
Electron.py:1
edm::Event
Definition:
Event.h:70
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11