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
17
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
18
#include "
DataFormats/VertexReco/interface/Vertex.h
"
19
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
20
21
class
TransientTrackBuilder
;
22
23
namespace
reco
{
24
class
Track;
25
}
26
27
namespace
edm
{
28
class
Event
;
29
class
EventSetup
;
30
}
// namespace edm
31
32
namespace
pat
{
33
class
Electron
;
34
class
Muon
;
35
36
class
LeptonVertexSignificance
{
37
public
:
38
LeptonVertexSignificance
();
39
LeptonVertexSignificance
(
const
edm::EventSetup
& iSetup,
edm::ConsumesCollector
&& iC);
40
~
LeptonVertexSignificance
();
41
42
float
calculate(
const
Electron
& anElectron,
const
edm::Event
&
iEvent
);
43
float
calculate(
const
Muon
& aMuon,
const
edm::Event
& iEvent);
44
45
private
:
46
float
calculate(
const
reco::Track
&
track
,
const
edm::Event
& iEvent);
47
TransientTrackBuilder
*
theTrackBuilder_
;
48
edm::EDGetTokenT<reco::VertexCollection>
vertexToken_
;
49
};
50
51
}
// namespace pat
52
53
#endif
pat::LeptonVertexSignificance::vertexToken_
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
Definition:
LeptonVertexSignificance.h:48
VertexFwd.h
edm::EDGetTokenT< reco::VertexCollection >
pat
Definition:
HeavyIon.h:7
pat::LeptonVertexSignificance
Calculates a lepton's vertex association significance.
Definition:
LeptonVertexSignificance.h:36
pat::LeptonVertexSignificance::theTrackBuilder_
TransientTrackBuilder * theTrackBuilder_
Definition:
LeptonVertexSignificance.h:47
EventSetup
iEvent
int iEvent
Definition:
GenABIO.cc:224
Muon
Definition:
Muon.py:1
TransientTrackBuilder
Definition:
TransientTrackBuilder.h:16
edm::EventSetup
Definition:
EventSetup.h:57
Vertex.h
reco::Track
Definition:
Track.h:27
Event
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
edm
HLT enums.
Definition:
AlignableModifier.h:19
Electron
Definition:
Electron.py:1
edm::Event
Definition:
Event.h:72
ConsumesCollector.h
HLT_2018_cff.track
track
Definition:
HLT_2018_cff.py:10339
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11