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

virtual bool accept (const reco::Candidate &cand) const
 select particle More...
 
 BPHParticlePtSelect (double pt)
 
double getPtMin () const
 get current pt min More...
 
void setPtMin (double pt)
 set pt min More...
 
virtual ~BPHParticlePtSelect ()
 
- 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)
 
BPHParticlePtSelectoperator= (const BPHParticlePtSelect &x)
 

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().

virtual BPHParticlePtSelect::~BPHParticlePtSelect ( )
inlinevirtual

Destructor

Definition at line 41 of file BPHParticlePtSelect.h.

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

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

Member Function Documentation

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

select particle

Operations

Reimplemented from BPHRecoSelect.

Reimplemented in BPHMuonPtSelect.

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

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().