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
// -- Class Interface --
28
// ---------------------
29
30
class
BPHMuonEtaSelect
:
public
BPHParticleEtaSelect
{
31
public
:
34
BPHMuonEtaSelect
(
double
eta
) :
BPHParticleEtaSelect
(eta) {}
35
38
~BPHMuonEtaSelect
()
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
BPHParticleEtaSelect::accept
(cand);
47
}
48
49
private
:
50
// private copy and assigment constructors
51
BPHMuonEtaSelect
(
const
BPHMuonEtaSelect
&
x
) =
delete
;
52
BPHMuonEtaSelect
&
operator=
(
const
BPHMuonEtaSelect
& x) =
delete
;
53
};
54
55
#endif
BPHMuonEtaSelect::operator=
BPHMuonEtaSelect & operator=(const BPHMuonEtaSelect &x)=delete
BPHMuonEtaSelect::accept
bool accept(const reco::Candidate &cand) const override
select muon
Definition:
BPHMuonEtaSelect.h:43
reco::Candidate
Definition:
Candidate.h:28
PVValHelper::eta
Definition:
PVValidationHelpers.h:69
BPHParticleEtaSelect::accept
bool accept(const reco::Candidate &cand) const override
select particle
Definition:
BPHParticleEtaSelect.h:43
BPHMuonEtaSelect::BPHMuonEtaSelect
BPHMuonEtaSelect(double eta)
Definition:
BPHMuonEtaSelect.h:34
BPHMuonEtaSelect::~BPHMuonEtaSelect
~BPHMuonEtaSelect() override
Definition:
BPHMuonEtaSelect.h:38
Muon.h
BPHParticleEtaSelect
Definition:
BPHParticleEtaSelect.h:30
BPHMuonEtaSelect
Definition:
BPHMuonEtaSelect.h:30
cand
Definition:
decayParser.h:34
DDAxes::x
BPHParticleEtaSelect.h
Generated for CMSSW Reference Manual by
1.8.11