CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
 
- 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
 
- 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 ()
 

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.

BPHMuonPtSelect::BPHMuonPtSelect ( const BPHMuonPtSelect x)
delete
BPHMuonPtSelect::~BPHMuonPtSelect ( )
inlineoverride

Destructor

Definition at line 42 of file BPHMuonPtSelect.h.

42 {}

Member Function Documentation

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;
50  return BPHParticlePtSelect::accept(cand);
51  }
bool accept(const reco::Candidate &cand) const override
select particle
BPHMuonPtSelect& BPHMuonPtSelect::operator= ( const BPHMuonPtSelect x)
delete