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
HLT_FULL_cff.track
track
Definition:
HLT_FULL_cff.py:11779
edm::EDGetTokenT< reco::VertexCollection >
Electron
Definition:
Electron.py:1
edm
HLT enums.
Definition:
AlignableModifier.h:19
pat::LeptonVertexSignificance::vertexToken_
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
Definition:
LeptonVertexSignificance.h:48
pat::LeptonVertexSignificance::~LeptonVertexSignificance
~LeptonVertexSignificance()
Definition:
LeptonVertexSignificance.cc:28
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
Muon
Definition:
Muon.py:1
reco::Track
Definition:
Track.h:27
Event
pat::LeptonVertexSignificance::theTrackBuilder_
TransientTrackBuilder * theTrackBuilder_
Definition:
LeptonVertexSignificance.h:47
Vertex.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
TransientTrackBuilder
Definition:
TransientTrackBuilder.h:16
edm::EventSetup
Definition:
EventSetup.h:57
pat
Definition:
HeavyIon.h:7
pat::LeptonVertexSignificance
Calculates a lepton's vertex association significance.
Definition:
LeptonVertexSignificance.h:36
pat::LeptonVertexSignificance::LeptonVertexSignificance
LeptonVertexSignificance()
VertexFwd.h
pat::LeptonVertexSignificance::calculate
float calculate(const Electron &anElectron, const edm::Event &iEvent)
Definition:
LeptonVertexSignificance.cc:31
ConsumesCollector.h
EventSetup
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16