CMS 3D CMS Logo

BPHMomentumSelect.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHMomentumSelect_h
2 #define HeavyFlavorAnalysis_RecoDecay_BPHMomentumSelect_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
15 
16 //------------------------------------
17 // Collaborating Class Declarations --
18 //------------------------------------
19 class BPHDecayMomentum;
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  BPHMomentumSelect(const BPHMomentumSelect& x) = delete;
39 
42  virtual ~BPHMomentumSelect() = default;
43 
45 
48  virtual bool accept(const BPHDecayMomentum& cand) const = 0;
50  virtual bool accept(const BPHDecayMomentum& cand, const BPHRecoBuilder* builder) const { return accept(cand); }
51 };
52 
53 #endif
virtual bool accept(const BPHDecayMomentum &cand, const BPHRecoBuilder *builder) const
BPHMomentumSelect & operator=(const BPHMomentumSelect &x)=delete
virtual ~BPHMomentumSelect()=default
virtual bool accept(const BPHDecayMomentum &cand) const =0
accept function