CMS 3D CMS Logo

List of all members | Public Member Functions | Private 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 () override
 
- Public Member Functions inherited from BPHParticleEtaSelect
bool accept (const reco::Candidate &cand) const override
 select particle More...
 
 BPHParticleEtaSelect (double eta)
 
double getEtaMax () const
 get current eta max More...
 
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 ()
 
virtual ~BPHRecoSelect ()
 

Private Member Functions

 BPHMuonEtaSelect (const BPHMuonEtaSelect &x)=delete
 
BPHMuonEtaSelectoperator= (const BPHMuonEtaSelect &x)=delete
 

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::BPHMuonEtaSelect ( double  eta)
inline

Constructor

Definition at line 34 of file BPHMuonEtaSelect.h.

Referenced by ~BPHMuonEtaSelect().

BPHMuonEtaSelect::~BPHMuonEtaSelect ( )
inlineoverride

Destructor

Definition at line 38 of file BPHMuonEtaSelect.h.

References accept(), BPHParticleEtaSelect::accept(), BPHMuonEtaSelect(), operator=(), and x.

38 {}
BPHMuonEtaSelect::BPHMuonEtaSelect ( const BPHMuonEtaSelect x)
privatedelete

Member Function Documentation

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

select muon

Operations

Reimplemented from BPHRecoSelect.

Definition at line 43 of file BPHMuonEtaSelect.h.

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

43  {
44  if (dynamic_cast<const pat::Muon*>(&cand) == nullptr)
45  return false;
46  return BPHParticleEtaSelect::accept(cand);
47  }
bool accept(const reco::Candidate &cand) const override
select particle
BPHMuonEtaSelect& BPHMuonEtaSelect::operator= ( const BPHMuonEtaSelect x)
privatedelete

Referenced by ~BPHMuonEtaSelect().