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

virtual bool accept (const reco::Candidate &cand) const
 select particle More...
 
 BPHParticleEtaSelect (double eta)
 
double getEtaMax () const
 get current eta max More...
 
void setEtaMax (double eta)
 set eta max More...
 
virtual ~BPHParticleEtaSelect ()
 
- 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)
 
BPHParticleEtaSelectoperator= (const BPHParticleEtaSelect &x)
 

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().

virtual BPHParticleEtaSelect::~BPHParticleEtaSelect ( )
inlinevirtual

Destructor

Definition at line 41 of file BPHParticleEtaSelect.h.

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

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

Member Function Documentation

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

select particle

Operations

Reimplemented from BPHRecoSelect.

Reimplemented in BPHMuonEtaSelect.

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)
private

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().