CMS 3D CMS Logo

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 //----------------------
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
21 
22 //---------------
23 // C++ Headers --
24 //---------------
25 
26 // ---------------------
27 // -- Class Interface --
28 // ---------------------
29 
31 public:
35 
36  // deleted copy constructor and assignment operator
39 
43 
46  bool accept(const reco::Candidate& cand) const override { return (cand.charge() != 0); }
48 };
49 
50 #endif
BPHRecoSelect
Definition: BPHRecoSelect.h:35
BPHRecoSelect.h
DDAxes::x
RecoCandidate.h
BPHParticleNeutralVeto
Definition: BPHParticleNeutralVeto.h:30
cand
Definition: decayParser.h:34
BPHParticleNeutralVeto::accept
bool accept(const reco::Candidate &cand) const override
select charged particles
Definition: BPHParticleNeutralVeto.h:47
reco::Candidate
Definition: Candidate.h:27
BPHParticleNeutralVeto::BPHParticleNeutralVeto
BPHParticleNeutralVeto()
Definition: BPHParticleNeutralVeto.h:34
BPHParticleNeutralVeto::operator=
BPHParticleNeutralVeto & operator=(const BPHParticleNeutralVeto &x)=delete
BPHParticleNeutralVeto::~BPHParticleNeutralVeto
~BPHParticleNeutralVeto() override
Definition: BPHParticleNeutralVeto.h:42