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

- 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 31 of file BPHMuonPtSelect.h.

Constructor & Destructor Documentation

BPHMuonPtSelect::BPHMuonPtSelect ( double  pt)
inline

Constructor

Definition at line 37 of file BPHMuonPtSelect.h.

Referenced by ~BPHMuonPtSelect().

BPHMuonPtSelect::~BPHMuonPtSelect ( )
inlineoverride

Destructor

Definition at line 41 of file BPHMuonPtSelect.h.

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

41 {}
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 46 of file BPHMuonPtSelect.h.

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

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

Referenced by ~BPHMuonPtSelect().