test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
17 public:
18 
19  VertexCompatibleWithBeam(const VertexDistance & dist, float cut);
20  VertexCompatibleWithBeam(const VertexDistance & dist, float cut,
21  const reco::BeamSpot & beamSpot);
22 
25  virtual ~VertexCompatibleWithBeam();
26 
27  void setBeamSpot(const reco::BeamSpot & beamSpot);
28  virtual bool operator()(const reco::Vertex &) const;
29  virtual bool operator()(const reco::Vertex &, const VertexState &) const;
30 
31  // return value of VertexDistance to beam
32  float distanceToBeam(const reco::Vertex &) const;
33  float distanceToBeam(const reco::Vertex &, const VertexState &) const;
34 
35 private:
36 
38  float theCut;
40 
41 };
42 
43 #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)