RecoVertex
VertexTools
interface
VertexCompatibleWithBeam.h
Go to the documentation of this file.
1
#ifndef VertexCompatibleWithBeam_H
2
#define VertexCompatibleWithBeam_H
3
4
#include "
DataFormats/VertexReco/interface/Vertex.h
"
5
#include "
RecoVertex/VertexPrimitives/interface/VertexState.h
"
6
#include "
DataFormats/BeamSpot/interface/BeamSpot.h
"
7
8
class
VertexDistance
;
9
15
class
VertexCompatibleWithBeam
{
16
public
:
17
VertexCompatibleWithBeam
(
const
VertexDistance
&dist,
float
cut
);
18
VertexCompatibleWithBeam
(
const
VertexDistance
&dist,
float
cut
,
const
reco::BeamSpot
&
beamSpot
);
19
20
VertexCompatibleWithBeam
(
const
VertexCompatibleWithBeam
&
other
);
21
VertexCompatibleWithBeam
&
operator=
(
const
VertexCompatibleWithBeam
&
other
);
22
virtual
~VertexCompatibleWithBeam
();
23
24
void
setBeamSpot
(
const
reco::BeamSpot
&
beamSpot
);
25
virtual
bool
operator()
(
const
reco::Vertex
&)
const
;
26
virtual
bool
operator()
(
const
reco::Vertex
&,
const
VertexState
&)
const
;
27
28
// return value of VertexDistance to beam
29
float
distanceToBeam
(
const
reco::Vertex
&)
const
;
30
float
distanceToBeam
(
const
reco::Vertex
&,
const
VertexState
&)
const
;
31
32
private
:
33
VertexDistance
*
theDistance
;
34
float
theCut
;
35
VertexState
theBeam
;
36
};
37
38
#endif
VertexCompatibleWithBeam::theDistance
VertexDistance * theDistance
Definition:
VertexCompatibleWithBeam.h:33
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition:
pwdgSkimBPark_cfi.py:5
TkAlMuonSelectors_cfi.cut
cut
Definition:
TkAlMuonSelectors_cfi.py:5
VertexCompatibleWithBeam::operator()
virtual bool operator()(const reco::Vertex &) const
Definition:
VertexCompatibleWithBeam.cc:34
BeamSpot.h
reco::BeamSpot
Definition:
BeamSpot.h:21
trackingPlots.other
other
Definition:
trackingPlots.py:1465
VertexState.h
Vertex.h
VertexCompatibleWithBeam::operator=
VertexCompatibleWithBeam & operator=(const VertexCompatibleWithBeam &other)
Definition:
VertexCompatibleWithBeam.cc:22
VertexDistance
Definition:
VertexDistance.h:16
VertexCompatibleWithBeam::distanceToBeam
float distanceToBeam(const reco::Vertex &) const
Definition:
VertexCompatibleWithBeam.cc:40
VertexCompatibleWithBeam
Definition:
VertexCompatibleWithBeam.h:15
VertexCompatibleWithBeam::theBeam
VertexState theBeam
Definition:
VertexCompatibleWithBeam.h:35
VertexCompatibleWithBeam::VertexCompatibleWithBeam
VertexCompatibleWithBeam(const VertexDistance &dist, float cut)
Definition:
VertexCompatibleWithBeam.cc:8
VertexCompatibleWithBeam::theCut
float theCut
Definition:
VertexCompatibleWithBeam.h:34
VertexState
Definition:
VertexState.h:13
VertexCompatibleWithBeam::setBeamSpot
void setBeamSpot(const reco::BeamSpot &beamSpot)
Definition:
VertexCompatibleWithBeam.cc:32
VertexCompatibleWithBeam::~VertexCompatibleWithBeam
virtual ~VertexCompatibleWithBeam()
Definition:
VertexCompatibleWithBeam.cc:20
reco::Vertex
Definition:
Vertex.h:35
Generated for CMSSW Reference Manual by
1.8.16