CMS 3D CMS Logo

BPHRecoSelect.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHRecoSelect_h
2 #define HeavyFlavorAnalysis_RecoDecay_BPHRecoSelect_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
20 namespace reco {
21  class Candidate;
22 }
23 
24 //---------------
25 // C++ Headers --
26 //---------------
27 #include <string>
28 #include <map>
29 
30 // ---------------------
31 // -- Class Interface --
32 // ---------------------
33 
35 public:
39 
40  // deleted copy constructor and assignment operator
41  BPHRecoSelect(const BPHRecoSelect& x) = delete;
42  BPHRecoSelect& operator=(const BPHRecoSelect& x) = delete;
43 
46  virtual ~BPHRecoSelect() = default;
47 
49 
52  virtual bool accept(const reco::Candidate& cand) const = 0;
57  virtual bool accept(const reco::Candidate& cand, const BPHRecoBuilder* builder) const { return accept(cand); }
58 };
59 
60 #endif
virtual bool accept(const reco::Candidate &cand, const BPHRecoBuilder *builder) const
Definition: BPHRecoSelect.h:57
virtual ~BPHRecoSelect()=default
fixed size matrix
virtual bool accept(const reco::Candidate &cand) const =0
BPHRecoSelect & operator=(const BPHRecoSelect &x)=delete