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
float distanceToBeam(const reco::Vertex &) const
virtual bool operator()(const reco::Vertex &) const
VertexCompatibleWithBeam(const VertexDistance &dist, float cut)
void setBeamSpot(const reco::BeamSpot &beamSpot)
VertexCompatibleWithBeam & operator=(const VertexCompatibleWithBeam &other)