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

bool accept (const BPHDecayMomentum &cand) const override
 select particle More...
 
 BPHMassSelect (double minMass, double maxMass)
 
 ~BPHMassSelect () override
 
- 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)=delete
 
BPHMassSelectoperator= (const BPHMassSelect &x)=delete
 

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
BPHMassSelect::~BPHMassSelect ( )
inlineoverride
BPHMassSelect::BPHMassSelect ( const BPHMassSelect x)
privatedelete

Member Function Documentation

bool BPHMassSelect::accept ( const BPHDecayMomentum cand) const
inlineoverridevirtual

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  }
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
double mass() const final
mass
BPHMassSelect& BPHMassSelect::operator= ( const BPHMassSelect x)
privatedelete

Referenced by ~BPHMassSelect().