CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 // -- Class Interface --
28 // ---------------------
29 
31 public:
35 
36  // deleted copy constructor and assignment operator
37  BPHMuonPtSelect(const BPHMuonPtSelect& x) = delete;
38  BPHMuonPtSelect& operator=(const BPHMuonPtSelect& x) = delete;
39 
42  ~BPHMuonPtSelect() override {}
43 
46  bool accept(const reco::Candidate& cand) const override {
48  if (dynamic_cast<const pat::Muon*>(&cand) == nullptr)
49  return false;
51  }
52 };
53 
54 #endif
BPHMuonPtSelect::accept
bool accept(const reco::Candidate &cand) const override
select muon
Definition: BPHMuonPtSelect.h:47
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
Muon.h
DDAxes::x
BPHParticlePtSelect::accept
bool accept(const reco::Candidate &cand) const override
select particle
Definition: BPHParticlePtSelect.h:47
BPHParticlePtSelect.h
BPHParticlePtSelect
Definition: BPHParticlePtSelect.h:30
BPHMuonPtSelect::BPHMuonPtSelect
BPHMuonPtSelect(double pt)
Definition: BPHMuonPtSelect.h:34
cand
Definition: decayParser.h:32
BPHMuonPtSelect
Definition: BPHMuonPtSelect.h:30
reco::Candidate
Definition: Candidate.h:27
BPHMuonPtSelect::operator=
BPHMuonPtSelect & operator=(const BPHMuonPtSelect &x)=delete
BPHMuonPtSelect::~BPHMuonPtSelect
~BPHMuonPtSelect() override
Definition: BPHMuonPtSelect.h:42