CMS 3D CMS Logo

List of all members | Public Member Functions
BPHMuonEtaSelect Class Reference

#include <BPHMuonEtaSelect.h>

Inheritance diagram for BPHMuonEtaSelect:
BPHParticleEtaSelect BPHRecoSelect

Public Member Functions

bool accept (const reco::Candidate &cand) const override
 select muon More...
 
 BPHMuonEtaSelect (double eta)
 
 BPHMuonEtaSelect (const BPHMuonEtaSelect &x)=delete
 
BPHMuonEtaSelectoperator= (const BPHMuonEtaSelect &x)=delete
 
 ~BPHMuonEtaSelect () override
 
- Public Member Functions inherited from BPHParticleEtaSelect
bool accept (const reco::Candidate &cand) const override
 select particle More...
 
 BPHParticleEtaSelect (double eta)
 
 BPHParticleEtaSelect (const BPHParticleEtaSelect &x)=delete
 
double getEtaMax () const
 get current eta max More...
 
BPHParticleEtaSelectoperator= (const BPHParticleEtaSelect &x)=delete
 
void setEtaMax (double eta)
 set eta max More...
 
 ~BPHParticleEtaSelect () 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

Descrietaion: Class for muon selection by eta

Author
Paolo Ronchese INFN Padova

Definition at line 30 of file BPHMuonEtaSelect.h.

Constructor & Destructor Documentation

◆ BPHMuonEtaSelect() [1/2]

BPHMuonEtaSelect::BPHMuonEtaSelect ( double  eta)
inline

Constructor

Definition at line 34 of file BPHMuonEtaSelect.h.

◆ BPHMuonEtaSelect() [2/2]

BPHMuonEtaSelect::BPHMuonEtaSelect ( const BPHMuonEtaSelect x)
delete

◆ ~BPHMuonEtaSelect()

BPHMuonEtaSelect::~BPHMuonEtaSelect ( )
inlineoverride

Destructor

Definition at line 42 of file BPHMuonEtaSelect.h.

42 {}

Member Function Documentation

◆ accept()

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

select muon

Operations

Implements BPHRecoSelect.

Definition at line 47 of file BPHMuonEtaSelect.h.

Referenced by BPHOniaToMuMuBuilder::extractList(), and 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=()

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