CMS 3D CMS Logo

List of all members | Public Member Functions
BPHMuonChargeSelect Class Reference

#include <BPHMuonChargeSelect.h>

Inheritance diagram for BPHMuonChargeSelect:
BPHParticleChargeSelect BPHRecoSelect

Public Member Functions

bool accept (const reco::Candidate &cand) const override
 select muon More...
 
 BPHMuonChargeSelect (int c)
 
 BPHMuonChargeSelect (const BPHMuonChargeSelect &x)=delete
 
BPHMuonChargeSelectoperator= (const BPHMuonChargeSelect &x)=delete
 
 ~BPHMuonChargeSelect () override=default
 
- Public Member Functions inherited from BPHParticleChargeSelect
bool accept (const reco::Candidate &cand) const override
 select particle More...
 
 BPHParticleChargeSelect (int c)
 
 BPHParticleChargeSelect (const BPHParticleChargeSelect &x)=delete
 
double getCharge () const
 get selection charge More...
 
BPHParticleChargeSelectoperator= (const BPHParticleChargeSelect &x)=delete
 
void setCharge (int c)
 set selection charge More...
 
 ~BPHParticleChargeSelect () 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 charge

Author
Paolo Ronchese INFN Padova

Definition at line 30 of file BPHMuonChargeSelect.h.

Constructor & Destructor Documentation

◆ BPHMuonChargeSelect() [1/2]

BPHMuonChargeSelect::BPHMuonChargeSelect ( int  c)
inline

◆ BPHMuonChargeSelect() [2/2]

BPHMuonChargeSelect::BPHMuonChargeSelect ( const BPHMuonChargeSelect x)
delete

◆ ~BPHMuonChargeSelect()

BPHMuonChargeSelect::~BPHMuonChargeSelect ( )
overridedefault

Destructor

Member Function Documentation

◆ accept()

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

select muon

Operations

Implements BPHRecoSelect.

Definition at line 47 of file BPHMuonChargeSelect.h.

Referenced by 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=()

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