CMS 3D CMS Logo

BPHMuonPtSelect.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHMuonPtSelect_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHMuonPtSelect_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
21 
22 //---------------
23 // C++ Headers --
24 //---------------
25 
26 
27 // ---------------------
28 // -- Class Interface --
29 // ---------------------
30 
32 
33  public:
34 
38 
41  virtual ~BPHMuonPtSelect() {}
42 
45  virtual bool accept( const reco::Candidate& cand ) const {
47  if ( dynamic_cast<const pat::Muon*>( &cand ) == 0 ) return false;
48  return BPHParticlePtSelect::accept( cand );
49  }
50 
51  private:
52 
53  // private copy and assigment constructors
56 
57 };
58 
59 
60 #endif
61 
virtual ~BPHMuonPtSelect()
BPHMuonPtSelect & operator=(const BPHMuonPtSelect &x)
virtual bool accept(const reco::Candidate &cand) const
select particle
BPHMuonPtSelect(double pt)
virtual bool accept(const reco::Candidate &cand) const
select muon