Main Page
Namespaces
Classes
Package Documentation
HeavyFlavorAnalysis
SpecificDecay
interface
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
//----------------------
15
#include "
HeavyFlavorAnalysis/SpecificDecay/interface/BPHParticlePtSelect.h
"
16
17
//------------------------------------
18
// Collaborating Class Declarations --
19
//------------------------------------
20
#include "
DataFormats/PatCandidates/interface/Muon.h
"
21
22
//---------------
23
// C++ Headers --
24
//---------------
25
26
// ---------------------
27
// -- Class Interface --
28
// ---------------------
29
30
class
BPHMuonPtSelect
:
public
BPHParticlePtSelect
{
31
public
:
34
BPHMuonPtSelect
(
double
pt
) :
BPHParticlePtSelect
(pt) {}
35
38
~BPHMuonPtSelect
()
override
{}
39
42
bool
accept
(
const
reco::Candidate
&
cand
)
const override
{
44
if
(dynamic_cast<const pat::Muon*>(&cand) ==
nullptr
)
45
return
false
;
46
return
BPHParticlePtSelect::accept
(cand);
47
}
48
49
private
:
50
// private copy and assigment constructors
51
BPHMuonPtSelect
(
const
BPHMuonPtSelect
&
x
) =
delete
;
52
BPHMuonPtSelect
&
operator=
(
const
BPHMuonPtSelect
& x) =
delete
;
53
};
54
55
#endif
BPHParticlePtSelect
Definition:
BPHParticlePtSelect.h:30
reco::Candidate
Definition:
Candidate.h:28
BPHMuonPtSelect::operator=
BPHMuonPtSelect & operator=(const BPHMuonPtSelect &x)=delete
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
BPHMuonPtSelect::BPHMuonPtSelect
BPHMuonPtSelect(double pt)
Definition:
BPHMuonPtSelect.h:34
BPHMuonPtSelect::~BPHMuonPtSelect
~BPHMuonPtSelect() override
Definition:
BPHMuonPtSelect.h:38
BPHMuonPtSelect
Definition:
BPHMuonPtSelect.h:30
BPHParticlePtSelect::accept
bool accept(const reco::Candidate &cand) const override
select particle
Definition:
BPHParticlePtSelect.h:43
Muon.h
BPHParticlePtSelect.h
BPHMuonPtSelect::accept
bool accept(const reco::Candidate &cand) const override
select muon
Definition:
BPHMuonPtSelect.h:43
cand
Definition:
decayParser.h:34
DDAxes::x
Generated for CMSSW Reference Manual by
1.8.11