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 (const BPHMuonPtSelect &x)=delete
 
 BPHMuonPtSelect (double pt)
 
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 (const BPHParticlePtSelect &x)=delete
 
 BPHParticlePtSelect (double pt)
 
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() [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 ( )
inlineoverride

Destructor

Definition at line 42 of file BPHMuonPtSelect.h.

42 {}

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.

47  {
48  if (dynamic_cast<const pat::Muon*>(&cand) == nullptr)
49  return false;
51  }

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

◆ operator=()

BPHMuonPtSelect& BPHMuonPtSelect::operator= ( const BPHMuonPtSelect x)
delete
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
BPHParticlePtSelect::accept
bool accept(const reco::Candidate &cand) const override
select particle
Definition: BPHParticlePtSelect.h:47
BPHParticlePtSelect::BPHParticlePtSelect
BPHParticlePtSelect(double pt)
Definition: BPHParticlePtSelect.h:34
cand
Definition: decayParser.h:34