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

Constructor

Definition at line 34 of file BPHMuonChargeSelect.h.

◆ BPHMuonChargeSelect() [2/2]

BPHMuonChargeSelect::BPHMuonChargeSelect ( const BPHMuonChargeSelect x)
delete

◆ ~BPHMuonChargeSelect()

BPHMuonChargeSelect::~BPHMuonChargeSelect ( )
inlineoverride

Destructor

Definition at line 42 of file BPHMuonChargeSelect.h.

42 {}

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.

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

Referenced by esMonitoring.FDJsonServer::handle_accept().

◆ operator=()

BPHMuonChargeSelect& BPHMuonChargeSelect::operator= ( const BPHMuonChargeSelect x)
delete
BPHParticleChargeSelect::accept
bool accept(const reco::Candidate &cand) const override
select particle
Definition: BPHParticleChargeSelect.h:47
cand
Definition: decayParser.h:32
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
BPHParticleChargeSelect::BPHParticleChargeSelect
BPHParticleChargeSelect(int c)
Definition: BPHParticleChargeSelect.h:34