CMS 3D CMS Logo

List of all members | Public Member Functions | Private 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 () override
 
- Public Member Functions inherited from BPHParticlePtSelect
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

 BPHMuonPtSelect (const BPHMuonPtSelect &x)=delete
 
BPHMuonPtSelectoperator= (const BPHMuonPtSelect &x)=delete
 

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

Author
Paolo Ronchese INFN Padova

Definition at line 30 of file BPHMuonPtSelect.h.

Constructor & Destructor Documentation

BPHMuonPtSelect::BPHMuonPtSelect ( double  pt)
inline

Constructor

Definition at line 34 of file BPHMuonPtSelect.h.

Referenced by ~BPHMuonPtSelect().

BPHMuonPtSelect::~BPHMuonPtSelect ( )
inlineoverride

Destructor

Definition at line 38 of file BPHMuonPtSelect.h.

References accept(), BPHParticlePtSelect::accept(), BPHMuonPtSelect(), operator=(), and x.

38 {}
BPHMuonPtSelect::BPHMuonPtSelect ( const BPHMuonPtSelect x)
privatedelete

Member Function Documentation

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

select muon

Operations

Reimplemented from BPHRecoSelect.

Definition at line 43 of file BPHMuonPtSelect.h.

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

43  {
44  if (dynamic_cast<const pat::Muon*>(&cand) == nullptr)
45  return false;
46  return BPHParticlePtSelect::accept(cand);
47  }
bool accept(const reco::Candidate &cand) const override
select particle
BPHMuonPtSelect& BPHMuonPtSelect::operator= ( const BPHMuonPtSelect x)
privatedelete

Referenced by ~BPHMuonPtSelect().