CMS 3D CMS Logo

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