CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
BPHParticlePtSelect Class Reference

#include <BPHParticlePtSelect.h>

Inheritance diagram for BPHParticlePtSelect:
BPHRecoSelect BPHMuonPtSelect

Public Member Functions

bool accept (const reco::Candidate &cand) const override
 select particle More...
 
 BPHParticlePtSelect (double pt)
 
double getPtMin () const
 get current pt min More...
 
void setPtMin (double pt)
 set pt min More...
 
 ~BPHParticlePtSelect () override
 
- Public Member Functions inherited from BPHRecoSelect
virtual bool accept (const reco::Candidate &cand, const BPHRecoBuilder *build) const
 
 BPHRecoSelect ()
 
virtual ~BPHRecoSelect ()
 

Private Member Functions

 BPHParticlePtSelect (const BPHParticlePtSelect &x)=delete
 
BPHParticlePtSelectoperator= (const BPHParticlePtSelect &x)=delete
 

Private Attributes

double ptMin
 

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 particle selection by Pt

Author
Paolo Ronchese INFN Padova

Definition at line 31 of file BPHParticlePtSelect.h.

Constructor & Destructor Documentation

BPHParticlePtSelect::BPHParticlePtSelect ( double  pt)
inline

Constructor

Definition at line 37 of file BPHParticlePtSelect.h.

Referenced by getPtMin().

BPHParticlePtSelect::~BPHParticlePtSelect ( )
inlineoverride

Destructor

Definition at line 41 of file BPHParticlePtSelect.h.

References accept(), reco::Candidate::p4(), and ptMin.

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

Member Function Documentation

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

select particle

Operations

Reimplemented from BPHRecoSelect.

Definition at line 46 of file BPHParticlePtSelect.h.

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

46  {
47  return ( cand.p4().pt() > ptMin );
48  }
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector
double BPHParticlePtSelect::getPtMin ( ) const
inline
BPHParticlePtSelect& BPHParticlePtSelect::operator= ( const BPHParticlePtSelect x)
privatedelete

Referenced by getPtMin().

void BPHParticlePtSelect::setPtMin ( double  pt)
inline

Member Data Documentation

double BPHParticlePtSelect::ptMin
private

Definition at line 62 of file BPHParticlePtSelect.h.

Referenced by getPtMin(), setPtMin(), and ~BPHParticlePtSelect().