CMS 3D CMS Logo

BPHVertexSelect.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHVertexSelect_h
2 #define HeavyFlavorAnalysis_RecoDecay_BPHVertexSelect_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
15 
16 //------------------------------------
17 // Collaborating Class Declarations --
18 //------------------------------------
19 class BPHDecayVertex;
20 class BPHRecoBuilder;
21 
22 //---------------
23 // C++ Headers --
24 //---------------
25 
26 // ---------------------
27 // -- Class Interface --
28 // ---------------------
29 
31 public:
35 
36  // deleted copy constructor and assignment operator
37  BPHVertexSelect(const BPHVertexSelect& x) = delete;
38  BPHVertexSelect& operator=(const BPHVertexSelect& x) = delete;
39 
42  virtual ~BPHVertexSelect() = default;
43 
45 
48  virtual bool accept(const BPHDecayVertex& cand) const = 0;
50  virtual bool accept(const BPHDecayVertex& cand, const BPHRecoBuilder* builder) const { return accept(cand); }
51 };
52 
53 #endif
virtual ~BPHVertexSelect()=default
virtual bool accept(const BPHDecayVertex &cand, const BPHRecoBuilder *builder) const
virtual bool accept(const BPHDecayVertex &cand) const =0
accept function
BPHVertexSelect & operator=(const BPHVertexSelect &x)=delete