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