CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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);
18  VertexCompatibleWithBeam(const VertexDistance &dist, float cut, const reco::BeamSpot &beamSpot);
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
virtual bool operator()(const reco::Vertex &) const
VertexCompatibleWithBeam(const VertexDistance &dist, float cut)
void setBeamSpot(const reco::BeamSpot &beamSpot)
float distanceToBeam(const reco::Vertex &) const
VertexCompatibleWithBeam & operator=(const VertexCompatibleWithBeam &other)