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

Private Attributes

double ptMin
 

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

Destructor

Definition at line 42 of file BPHParticlePtSelect.h.

42 {}

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

get current pt min

Definition at line 56 of file BPHParticlePtSelect.h.

References ptMin.

Referenced by BPHDecayToResTrkBuilder::build(), BPHOniaToMuMuBuilder::getPtMin(), and BPHDecayToResTrkBuilder::getTrkPtMin().

56 { return ptMin; }

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