CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public 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 (const BPHParticleNeutralVeto &x)=delete
 
BPHParticleNeutralVetooperator= (const BPHParticleNeutralVeto &x)=delete
 
 ~BPHParticleNeutralVeto () override
 
- Public Member Functions inherited from BPHRecoSelect
virtual bool accept (const reco::Candidate &cand, const BPHRecoBuilder *build) const
 
 BPHRecoSelect ()
 
 BPHRecoSelect (const BPHRecoSelect &x)=delete
 
BPHRecoSelectoperator= (const BPHRecoSelect &x)=delete
 
virtual ~BPHRecoSelect ()
 

Additional Inherited Members

- Public Types inherited from BPHRecoSelect
using AcceptArg = reco::Candidate
 
- 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 30 of file BPHParticleNeutralVeto.h.

Constructor & Destructor Documentation

BPHParticleNeutralVeto::BPHParticleNeutralVeto ( )
inline

Constructor

Definition at line 34 of file BPHParticleNeutralVeto.h.

34 {}
BPHParticleNeutralVeto::BPHParticleNeutralVeto ( const BPHParticleNeutralVeto x)
delete
BPHParticleNeutralVeto::~BPHParticleNeutralVeto ( )
inlineoverride

Destructor

Definition at line 42 of file BPHParticleNeutralVeto.h.

42 {}

Member Function Documentation

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

select charged particles

Operations

Implements BPHRecoSelect.

Definition at line 47 of file BPHParticleNeutralVeto.h.

Referenced by esMonitoring.FDJsonServer::handle_accept().

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