Main Page
Namespaces
Classes
Package Documentation
HeavyFlavorAnalysis
SpecificDecay
interface
BPHMuonEtaSelect.h
Go to the documentation of this file.
1
#ifndef HeavyFlavorAnalysis_SpecificDecay_BPHMuonEtaSelect_h
2
#define HeavyFlavorAnalysis_SpecificDecay_BPHMuonEtaSelect_h
3
12
//----------------------
13
// Base Class Headers --
14
//----------------------
15
#include "
HeavyFlavorAnalysis/SpecificDecay/interface/BPHParticleEtaSelect.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
BPHMuonEtaSelect
:
public
BPHParticleEtaSelect
{
32
33
public
:
34
37
BPHMuonEtaSelect
(
double
eta
):
BPHParticleEtaSelect
( eta ) {}
38
41
~BPHMuonEtaSelect
()
override
{}
42
45
bool
accept
(
const
reco::Candidate
&
cand
)
const override
{
47
if
( dynamic_cast<const pat::Muon*>( &cand ) ==
nullptr
)
return
false
;
48
return
BPHParticleEtaSelect::accept
( cand );
49
}
50
51
private
:
52
53
// private copy and assigment constructors
54
BPHMuonEtaSelect
(
const
BPHMuonEtaSelect
&
x
) =
delete
;
55
BPHMuonEtaSelect
&
operator=
(
const
BPHMuonEtaSelect
& x ) =
delete
;
56
57
};
58
59
60
#endif
61
BPHMuonEtaSelect::operator=
BPHMuonEtaSelect & operator=(const BPHMuonEtaSelect &x)=delete
BPHMuonEtaSelect::accept
bool accept(const reco::Candidate &cand) const override
select muon
Definition:
BPHMuonEtaSelect.h:46
reco::Candidate
Definition:
Candidate.h:28
PVValHelper::eta
Definition:
PVValidationHelpers.h:65
BPHParticleEtaSelect::accept
bool accept(const reco::Candidate &cand) const override
select particle
Definition:
BPHParticleEtaSelect.h:46
BPHMuonEtaSelect::BPHMuonEtaSelect
BPHMuonEtaSelect(double eta)
Definition:
BPHMuonEtaSelect.h:37
BPHMuonEtaSelect::~BPHMuonEtaSelect
~BPHMuonEtaSelect() override
Definition:
BPHMuonEtaSelect.h:41
Muon.h
BPHParticleEtaSelect
Definition:
BPHParticleEtaSelect.h:31
BPHMuonEtaSelect
Definition:
BPHMuonEtaSelect.h:31
cand
Definition:
decayParser.h:34
DDAxes::x
BPHParticleEtaSelect.h
Generated for CMSSW Reference Manual by
1.8.11