Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
HeavyFlavorAnalysis
SpecificDecay
interface
BPHParticleNeutralVeto.h
Go to the documentation of this file.
1
#ifndef HeavyFlavorAnalysis_SpecificDecay_BPHParticleNeutralVeto_h
2
#define HeavyFlavorAnalysis_SpecificDecay_BPHParticleNeutralVeto_h
3
12
//----------------------
13
// Base Class Headers --
14
//----------------------
15
#include "
HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoSelect.h
"
16
17
//------------------------------------
18
// Collaborating Class Declarations --
19
//------------------------------------
20
#include "
DataFormats/RecoCandidate/interface/RecoCandidate.h
"
21
22
//---------------
23
// C++ Headers --
24
//---------------
25
26
// ---------------------
27
// -- Class Interface --
28
// ---------------------
29
30
class
BPHParticleNeutralVeto
:
public
BPHRecoSelect
{
31
public
:
34
BPHParticleNeutralVeto
() {}
35
36
// deleted copy constructor and assignment operator
37
BPHParticleNeutralVeto
(
const
BPHParticleNeutralVeto
&
x
) =
delete
;
38
BPHParticleNeutralVeto
&
operator=
(
const
BPHParticleNeutralVeto
&
x
) =
delete
;
39
42
~BPHParticleNeutralVeto
()
override
{}
43
46
bool
accept
(
const
reco::Candidate
& cand)
const override
{
return
(cand.
charge
() != 0); }
48
};
49
50
#endif
BPHParticleNeutralVeto::accept
bool accept(const reco::Candidate &cand) const override
select charged particles
Definition:
BPHParticleNeutralVeto.h:47
reco::Candidate
Definition:
Candidate.h:27
BPHParticleNeutralVeto
Definition:
BPHParticleNeutralVeto.h:30
BPHParticleNeutralVeto::operator=
BPHParticleNeutralVeto & operator=(const BPHParticleNeutralVeto &x)=delete
BPHParticleNeutralVeto::BPHParticleNeutralVeto
BPHParticleNeutralVeto()
Definition:
BPHParticleNeutralVeto.h:34
BPHRecoSelect
Definition:
BPHRecoSelect.h:35
BPHParticleNeutralVeto::~BPHParticleNeutralVeto
~BPHParticleNeutralVeto() override
Definition:
BPHParticleNeutralVeto.h:42
BPHRecoSelect.h
reco::Candidate::charge
virtual int charge() const =0
electric charge
DDAxes::x
RecoCandidate.h
Generated for CMSSW Reference Manual by
1.8.5