BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
LocalSigma0Selector Class Reference

#include <LocalSigma0Selector.h>

Inheritance diagram for LocalSigma0Selector:

Public Member Functions

 LocalSigma0Selector (const std::string &type, const std::string &name, const IInterface *parent)
bool operator() (CDDecay &aSigma)

Detailed Description

Definition at line 7 of file LocalSigma0Selector.h.

Constructor & Destructor Documentation

◆ LocalSigma0Selector()

LocalSigma0Selector::LocalSigma0Selector ( const std::string & type,
const std::string & name,
const IInterface * parent )

Definition at line 7 of file LocalSigma0Selector.cxx.

9 : base_class( type, name, parent ) {
10 // Declare the properties
11 declareProperty( "MinMassCut", m_minMass = 1.15 );
12 declareProperty( "MaxMassCut", m_maxMass = 1.23 );
13}

Referenced by LocalSigma0Selector().

Member Function Documentation

◆ operator()()

bool LocalSigma0Selector::operator() ( CDDecay & aSigma)

Definition at line 15 of file LocalSigma0Selector.cxx.

15 {
16
17 aSigma0.setUserTag( 1 );
18 double mass = aSigma0.mass();
19 if ( ( mass <= m_minMass ) || ( mass >= m_maxMass ) ) return false;
20
21 return true;
22}
double mass

The documentation for this class was generated from the following files: