CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
BPHParticleNeutralVeto Class Reference

#include <BPHParticleNeutralVeto.h>

Inheritance diagram for BPHParticleNeutralVeto:
BPHRecoSelect

Public Member Functions

virtual bool accept (const reco::Candidate &cand) const
 select charged particles More...
 
 BPHParticleNeutralVeto ()
 
virtual ~BPHParticleNeutralVeto ()
 
- Public Member Functions inherited from BPHRecoSelect
virtual bool accept (const reco::Candidate &cand, const BPHRecoBuilder *build) const
 
 BPHRecoSelect ()
 
virtual ~BPHRecoSelect ()
 

Private Member Functions

 BPHParticleNeutralVeto (const BPHParticleNeutralVeto &x)
 
BPHParticleNeutralVetooperator= (const BPHParticleNeutralVeto &x)
 

Additional Inherited Members

- Protected Member Functions inherited from BPHRecoSelect
const reco::Candidateget (const std::string &name, const BPHRecoBuilder *build) const
 

Detailed Description

Description: Class for neutral particle rejection

Author
Paolo Ronchese INFN Padova

Definition at line 31 of file BPHParticleNeutralVeto.h.

Constructor & Destructor Documentation

BPHParticleNeutralVeto::BPHParticleNeutralVeto ( )
inline

Constructor

Definition at line 37 of file BPHParticleNeutralVeto.h.

Referenced by ~BPHParticleNeutralVeto().

37 {}
virtual BPHParticleNeutralVeto::~BPHParticleNeutralVeto ( )
inlinevirtual

Destructor

Definition at line 41 of file BPHParticleNeutralVeto.h.

References accept(), BPHParticleNeutralVeto(), reco::Candidate::charge(), operator=(), and x.

41 {}
BPHParticleNeutralVeto::BPHParticleNeutralVeto ( const BPHParticleNeutralVeto x)
private

Member Function Documentation

virtual bool BPHParticleNeutralVeto::accept ( const reco::Candidate cand) const
inlinevirtual

select charged particles

Operations

Reimplemented from BPHRecoSelect.

Definition at line 46 of file BPHParticleNeutralVeto.h.

Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), esMonitoring.FDJsonServer::handle_accept(), and ~BPHParticleNeutralVeto().

46  {
47  return ( cand.charge() != 0 );
48  }
virtual int charge() const =0
electric charge
BPHParticleNeutralVeto& BPHParticleNeutralVeto::operator= ( const BPHParticleNeutralVeto x)
private

Referenced by ~BPHParticleNeutralVeto().