CMS 3D CMS Logo

List of all members | Public Member Functions
BPHMuonPtSelect Class Reference

#include <BPHMuonPtSelect.h>

Inheritance diagram for BPHMuonPtSelect:
BPHParticlePtSelect BPHRecoSelect

Public Member Functions

bool accept (const reco::Candidate &cand) const override
 select muon More...
 
 BPHMuonPtSelect (double pt)
 
 BPHMuonPtSelect (const BPHMuonPtSelect &x)=delete
 
BPHMuonPtSelectoperator= (const BPHMuonPtSelect &x)=delete
 
 ~BPHMuonPtSelect () override=default
 
- Public Member Functions inherited from BPHParticlePtSelect
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
 

Additional Inherited Members

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

Detailed Description

Description: Class for muon selection by Pt

Author
Paolo Ronchese INFN Padova

Definition at line 30 of file BPHMuonPtSelect.h.

Constructor & Destructor Documentation

◆ BPHMuonPtSelect() [1/2]

BPHMuonPtSelect::BPHMuonPtSelect ( double  pt)
inline

Constructor

Definition at line 34 of file BPHMuonPtSelect.h.

◆ BPHMuonPtSelect() [2/2]

BPHMuonPtSelect::BPHMuonPtSelect ( const BPHMuonPtSelect x)
delete

◆ ~BPHMuonPtSelect()

BPHMuonPtSelect::~BPHMuonPtSelect ( )
overridedefault

Destructor

Member Function Documentation

◆ accept()

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

select muon

Operations

Implements BPHRecoSelect.

Definition at line 47 of file BPHMuonPtSelect.h.

Referenced by BPHOniaToMuMuBuilder::extractList(), and esMonitoring.FDJsonServer::handle_accept().

47  {
48  if (dynamic_cast<const pat::Muon*>(&cand) == nullptr)
49  return false;
51  }
bool accept(const reco::Candidate &cand) const override
select particle

◆ operator=()

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