CMS 3D CMS Logo

List of all members | Public 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)
 
 BPHParticlePtSelect (const BPHParticlePtSelect &x)=delete
 
double getPtMin () const
 get current pt min More...
 
BPHParticlePtSelectoperator= (const BPHParticlePtSelect &x)=delete
 
void setPtMin (double pt)
 set pt min More...
 
 ~BPHParticlePtSelect () override=default
 
- Public Member Functions inherited from BPHRecoSelect
virtual bool accept (const reco::Candidate &cand, const BPHRecoBuilder *builder) const
 
 BPHRecoSelect ()
 
 BPHRecoSelect (const BPHRecoSelect &x)=delete
 
BPHRecoSelectoperator= (const BPHRecoSelect &x)=delete
 
virtual ~BPHRecoSelect ()=default
 

Private Attributes

double ptMin
 

Additional Inherited Members

- Public Types inherited from BPHRecoSelect
using AcceptArg = reco::Candidate
 

Detailed Description

Description: Class for particle selection by Pt

Author
Paolo Ronchese INFN Padova

Definition at line 30 of file BPHParticlePtSelect.h.

Constructor & Destructor Documentation

◆ BPHParticlePtSelect() [1/2]

BPHParticlePtSelect::BPHParticlePtSelect ( double  pt)
inline

Constructor

Definition at line 34 of file BPHParticlePtSelect.h.

◆ BPHParticlePtSelect() [2/2]

BPHParticlePtSelect::BPHParticlePtSelect ( const BPHParticlePtSelect x)
delete

◆ ~BPHParticlePtSelect()

BPHParticlePtSelect::~BPHParticlePtSelect ( )
overridedefault

Destructor

Member Function Documentation

◆ accept()

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

select particle

Operations

Implements BPHRecoSelect.

Definition at line 47 of file BPHParticlePtSelect.h.

Referenced by esMonitoring.FDJsonServer::handle_accept().

47 { return (cand.p4().pt() >= ptMin); }

◆ getPtMin()

double BPHParticlePtSelect::getPtMin ( ) const
inline

◆ operator=()

BPHParticlePtSelect& BPHParticlePtSelect::operator= ( const BPHParticlePtSelect x)
delete

◆ setPtMin()

void BPHParticlePtSelect::setPtMin ( double  pt)
inline

Member Data Documentation

◆ ptMin

double BPHParticlePtSelect::ptMin
private

Definition at line 59 of file BPHParticlePtSelect.h.

Referenced by getPtMin(), and setPtMin().