CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
BPHParticleEtaSelect Class Reference

#include <BPHParticleEtaSelect.h>

Inheritance diagram for BPHParticleEtaSelect:
BPHRecoSelect BPHMuonEtaSelect

Public Member Functions

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

 BPHParticleEtaSelect (const BPHParticleEtaSelect &x)=delete
 
BPHParticleEtaSelectoperator= (const BPHParticleEtaSelect &x)=delete
 

Private Attributes

double etaMax
 

Additional Inherited Members

- Protected Member Functions inherited from BPHRecoSelect
const reco::Candidateget (const std::string &name, const BPHRecoBuilder *build) const
 

Detailed Description

Descrietaion: Class for particle selection by eta

Author
Paolo Ronchese INFN Padova

Definition at line 31 of file BPHParticleEtaSelect.h.

Constructor & Destructor Documentation

BPHParticleEtaSelect::BPHParticleEtaSelect ( double  eta)
inline

Constructor

Definition at line 37 of file BPHParticleEtaSelect.h.

Referenced by getEtaMax().

BPHParticleEtaSelect::~BPHParticleEtaSelect ( )
inlineoverride

Destructor

Definition at line 41 of file BPHParticleEtaSelect.h.

References accept(), etaMax, and reco::Candidate::p4().

41 {}
BPHParticleEtaSelect::BPHParticleEtaSelect ( const BPHParticleEtaSelect x)
privatedelete

Member Function Documentation

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

select particle

Operations

Reimplemented from BPHRecoSelect.

Definition at line 46 of file BPHParticleEtaSelect.h.

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

46  {
47  return ( fabs( cand.p4().eta() ) < etaMax );
48  }
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector
double BPHParticleEtaSelect::getEtaMax ( ) const
inline
BPHParticleEtaSelect& BPHParticleEtaSelect::operator= ( const BPHParticleEtaSelect x)
privatedelete

Referenced by getEtaMax().

void BPHParticleEtaSelect::setEtaMax ( double  eta)
inline

Member Data Documentation

double BPHParticleEtaSelect::etaMax
private

Definition at line 62 of file BPHParticleEtaSelect.h.

Referenced by getEtaMax(), setEtaMax(), and ~BPHParticleEtaSelect().