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

bool accept (const reco::Candidate &cand) const override
 select charged particles More...
 
 BPHParticleNeutralVeto ()
 
 ~BPHParticleNeutralVeto () override
 
- 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)=delete
 
BPHParticleNeutralVetooperator= (const BPHParticleNeutralVeto &x)=delete
 

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 {}
BPHParticleNeutralVeto::~BPHParticleNeutralVeto ( )
inlineoverride

Destructor

Definition at line 41 of file BPHParticleNeutralVeto.h.

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

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

Member Function Documentation

bool BPHParticleNeutralVeto::accept ( const reco::Candidate cand) const
inlineoverridevirtual

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)
privatedelete

Referenced by ~BPHParticleNeutralVeto().