CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
BPHMassSelect Class Reference

#include <BPHMassSelect.h>

Inheritance diagram for BPHMassSelect:
BPHMomentumSelect BPHMassCuts

Public Member Functions

virtual bool accept (const BPHDecayMomentum &cand) const
 select particle More...
 
 BPHMassSelect (double minMass, double maxMass)
 
virtual ~BPHMassSelect ()
 
- Public Member Functions inherited from BPHMomentumSelect
 BPHMomentumSelect ()
 
virtual ~BPHMomentumSelect ()
 
- Public Member Functions inherited from BPHMassCuts
 BPHMassCuts (double minMass, double maxMass)
 
double getMassMax () const
 
double getMassMin () const
 get current mass cuts More...
 
void setMassMax (double m)
 
void setMassMin (double m)
 set mass cuts More...
 
virtual ~BPHMassCuts ()
 

Private Member Functions

 BPHMassSelect (const BPHMassSelect &x)
 
BPHMassSelectoperator= (const BPHMassSelect &x)
 

Additional Inherited Members

- Protected Member Functions inherited from BPHMassCuts
 BPHMassCuts (const BPHMassCuts &x)
 
BPHMassCutsoperator= (const BPHMassCuts &x)
 
- Protected Attributes inherited from BPHMassCuts
double mMax
 
double mMin
 

Detailed Description

Description: Class for candidate selection by invariant mass (at momentum sum level)

Author
Paolo Ronchese INFN Padova

Definition at line 32 of file BPHMassSelect.h.

Constructor & Destructor Documentation

BPHMassSelect::BPHMassSelect ( double  minMass,
double  maxMass 
)
inline
virtual BPHMassSelect::~BPHMassSelect ( )
inlinevirtual
BPHMassSelect::BPHMassSelect ( const BPHMassSelect x)
private

Member Function Documentation

virtual bool BPHMassSelect::accept ( const BPHDecayMomentum cand) const
inlinevirtual

select particle

Operations

Implements BPHMomentumSelect.

Definition at line 48 of file BPHMassSelect.h.

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

48  {
49  double mass = cand.composite().mass();
50  return ( ( mass > mMin ) && ( mass < mMax ) );
51  }
virtual double mass() const final
mass
double mMax
Definition: BPHMassCuts.h:64
double mMin
Definition: BPHMassCuts.h:63
virtual const pat::CompositeCandidate & composite() const
get a composite by the simple sum of simple particles
BPHMassSelect& BPHMassSelect::operator= ( const BPHMassSelect x)
private

Referenced by ~BPHMassSelect().