CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
BPHMuonChargeSelect Class Reference

#include <BPHMuonChargeSelect.h>

Inheritance diagram for BPHMuonChargeSelect:
BPHParticleChargeSelect BPHRecoSelect

Public Member Functions

virtual bool accept (const reco::Candidate &cand) const
 select muon More...
 
 BPHMuonChargeSelect (int c)
 
virtual ~BPHMuonChargeSelect ()
 
- Public Member Functions inherited from BPHParticleChargeSelect
 BPHParticleChargeSelect (int c)
 
double getCharge () const
 get seelction charge More...
 
void setCharge (int c)
 set seelction charge More...
 
virtual ~BPHParticleChargeSelect ()
 
- Public Member Functions inherited from BPHRecoSelect
virtual bool accept (const reco::Candidate &cand, const BPHRecoBuilder *build) const
 
 BPHRecoSelect ()
 
virtual ~BPHRecoSelect ()
 

Private Member Functions

 BPHMuonChargeSelect (const BPHMuonChargeSelect &x)
 
BPHMuonChargeSelectoperator= (const BPHMuonChargeSelect &x)
 

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 charge

Author
Paolo Ronchese INFN Padova

Definition at line 31 of file BPHMuonChargeSelect.h.

Constructor & Destructor Documentation

BPHMuonChargeSelect::BPHMuonChargeSelect ( int  c)
inline

Constructor

Definition at line 37 of file BPHMuonChargeSelect.h.

Referenced by ~BPHMuonChargeSelect().

virtual BPHMuonChargeSelect::~BPHMuonChargeSelect ( )
inlinevirtual

Destructor

Definition at line 41 of file BPHMuonChargeSelect.h.

References accept(), BPHParticleChargeSelect::accept(), BPHMuonChargeSelect(), operator=(), and x.

41 {}
BPHMuonChargeSelect::BPHMuonChargeSelect ( const BPHMuonChargeSelect x)
private

Member Function Documentation

virtual bool BPHMuonChargeSelect::accept ( const reco::Candidate cand) const
inlinevirtual

select muon

Operations

Reimplemented from BPHParticleChargeSelect.

Definition at line 46 of file BPHMuonChargeSelect.h.

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

46  {
47  if ( reinterpret_cast<const pat::Muon*>( &cand ) == 0 ) return false;
48  return BPHParticleChargeSelect::accept( cand );
49  };
virtual bool accept(const reco::Candidate &cand) const
select particle
BPHMuonChargeSelect& BPHMuonChargeSelect::operator= ( const BPHMuonChargeSelect x)
private

Referenced by ~BPHMuonChargeSelect().