CMS 3D CMS Logo

VertexCompatibleWithBeam.h
Go to the documentation of this file.
1 #ifndef VertexCompatibleWithBeam_H
2 #define VertexCompatibleWithBeam_H
3 
7 
8 class VertexDistance;
9 
16 public:
17  VertexCompatibleWithBeam(const VertexDistance &dist, float cut);
19 
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:
34  float theCut;
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