test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // ---------------------
28 // -- Class Interface --
29 // ---------------------
30 
32 
33  public:
34 
38 
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
55 
56 };
57 
58 
59 #endif
60 
virtual bool accept(const reco::Candidate &cand) const
select charged particles
virtual int charge() const =0
electric charge
BPHParticleNeutralVeto & operator=(const BPHParticleNeutralVeto &x)