test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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
// ---------------------
28
// -- Class Interface --
29
// ---------------------
30
31
class
BPHParticleNeutralVeto
:
public
BPHRecoSelect
{
32
33
public
:
34
37
BPHParticleNeutralVeto
() {}
38
41
virtual
~BPHParticleNeutralVeto
() {}
42
45
virtual
bool
accept
(
const
reco::Candidate
& cand )
const
{
47
return
( cand.
charge
() != 0 );
48
}
49
50
private
:
51
52
// private copy and assigment constructors
53
BPHParticleNeutralVeto
(
const
BPHParticleNeutralVeto
&
x
);
54
BPHParticleNeutralVeto
&
operator=
(
const
BPHParticleNeutralVeto
&
x
);
55
56
};
57
58
59
#endif
60
reco::Candidate
Definition:
Candidate.h:28
BPHParticleNeutralVeto
Definition:
BPHParticleNeutralVeto.h:31
BPHParticleNeutralVeto::BPHParticleNeutralVeto
BPHParticleNeutralVeto()
Definition:
BPHParticleNeutralVeto.h:37
BPHRecoSelect
Definition:
BPHRecoSelect.h:35
BPHParticleNeutralVeto::accept
virtual bool accept(const reco::Candidate &cand) const
select charged particles
Definition:
BPHParticleNeutralVeto.h:46
BPHRecoSelect.h
reco::Candidate::charge
virtual int charge() const =0
electric charge
BPHParticleNeutralVeto::operator=
BPHParticleNeutralVeto & operator=(const BPHParticleNeutralVeto &x)
BPHParticleNeutralVeto::~BPHParticleNeutralVeto
virtual ~BPHParticleNeutralVeto()
Definition:
BPHParticleNeutralVeto.h:41
DDAxes::x
RecoCandidate.h
Generated for CMSSW Reference Manual by
1.8.5