CMS 3D CMS Logo

List of all members | Public 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 (const BPHMassSelect &x)=delete
 
 BPHMassSelect (double minMass, double maxMass)
 
BPHMassSelectoperator= (const BPHMassSelect &x)=delete
 
 ~BPHMassSelect () override
 
- Public Member Functions inherited from BPHMomentumSelect
 BPHMomentumSelect ()
 
 BPHMomentumSelect (const BPHMomentumSelect &x)=delete
 
BPHMomentumSelectoperator= (const BPHMomentumSelect &x)=delete
 
virtual ~BPHMomentumSelect ()
 
- Public Member Functions inherited from BPHMassCuts
 BPHMassCuts (const BPHMassCuts &x)=delete
 
 BPHMassCuts (double minMass, double maxMass)
 
double getMassMax () const
 
double getMassMin () const
 get current mass cuts More...
 
BPHMassCutsoperator= (const BPHMassCuts &x)=delete
 
void setMassMax (double m)
 
void setMassMin (double m)
 set mass cuts More...
 
virtual ~BPHMassCuts ()
 

Additional Inherited Members

- Public Types inherited from BPHMomentumSelect
using AcceptArg = BPHDecayMomentum
 
- 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 31 of file BPHMassSelect.h.

Constructor & Destructor Documentation

◆ BPHMassSelect() [1/2]

BPHMassSelect::BPHMassSelect ( double  minMass,
double  maxMass 
)
inline

Constructor

Definition at line 35 of file BPHMassSelect.h.

◆ BPHMassSelect() [2/2]

BPHMassSelect::BPHMassSelect ( const BPHMassSelect x)
delete

◆ ~BPHMassSelect()

BPHMassSelect::~BPHMassSelect ( )
inlineoverride

Destructor

Definition at line 43 of file BPHMassSelect.h.

43 {}

Member Function Documentation

◆ accept()

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

select particle

Operations

Implements BPHMomentumSelect.

Definition at line 48 of file BPHMassSelect.h.

48  {
49  double mass = cand.composite().mass();
50  return ((mass >= mMin) && (mass <= mMax));
51  }

Referenced by BPHX3872ToJPsiPiPiBuilder::build(), BPHDecayToV0Builder::buildFromV0(), BPHOniaToMuMuBuilder::extractList(), and esMonitoring.FDJsonServer::handle_accept().

◆ operator=()

BPHMassSelect& BPHMassSelect::operator= ( const BPHMassSelect x)
delete
BPHMassCuts::mMax
double mMax
Definition: BPHMassCuts.h:63
B2GTnPMonitor_cfi.maxMass
maxMass
Definition: B2GTnPMonitor_cfi.py:55
cand
Definition: decayParser.h:32
BPHMassCuts::BPHMassCuts
BPHMassCuts(double minMass, double maxMass)
Definition: BPHMassCuts.h:35
BPHMassCuts::mMin
double mMin
Definition: BPHMassCuts.h:62
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
B2GTnPMonitor_cfi.minMass
minMass
Definition: B2GTnPMonitor_cfi.py:54