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
// ---------------------
28
// -- Class Interface --
29
// ---------------------
30
31
class
BPHMuonPtSelect
:
public
BPHParticlePtSelect
{
32
33
public
:
34
37
BPHMuonPtSelect
(
double
pt
):
BPHParticlePtSelect
( pt ) {}
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
54
BPHMuonPtSelect
(
const
BPHMuonPtSelect
&
x
);
55
BPHMuonPtSelect
&
operator=
(
const
BPHMuonPtSelect
& x );
56
57
};
58
59
60
#endif
61
BPHMuonPtSelect::~BPHMuonPtSelect
virtual ~BPHMuonPtSelect()
Definition:
BPHMuonPtSelect.h:41
BPHParticlePtSelect
Definition:
BPHParticlePtSelect.h:31
reco::Candidate
Definition:
Candidate.h:28
BPHMuonPtSelect::operator=
BPHMuonPtSelect & operator=(const BPHMuonPtSelect &x)
BPHParticlePtSelect::accept
virtual bool accept(const reco::Candidate &cand) const
select particle
Definition:
BPHParticlePtSelect.h:46
EnergyCorrector.pt
pt
Definition:
EnergyCorrector.py:45
BPHMuonPtSelect::BPHMuonPtSelect
BPHMuonPtSelect(double pt)
Definition:
BPHMuonPtSelect.h:37
BPHMuonPtSelect
Definition:
BPHMuonPtSelect.h:31
BPHMuonPtSelect::accept
virtual bool accept(const reco::Candidate &cand) const
select muon
Definition:
BPHMuonPtSelect.h:46
Muon.h
BPHParticlePtSelect.h
cand
Definition:
decayParser.h:34
DDAxes::x
Generated for CMSSW Reference Manual by
1.8.11