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

#include <LocalChargedSigmaSelector.h>

Inheritance diagram for LocalChargedSigmaSelector:

Public Member Functions

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

Detailed Description

Definition at line 7 of file LocalChargedSigmaSelector.h.

Constructor & Destructor Documentation

◆ LocalChargedSigmaSelector()

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

Definition at line 7 of file LocalChargedSigmaSelector.cxx.

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

Referenced by LocalChargedSigmaSelector().

Member Function Documentation

◆ operator()()

bool LocalChargedSigmaSelector::operator() ( CDDecay & aSigma)
override

Definition at line 17 of file LocalChargedSigmaSelector.cxx.

17 {
18
19 // aChargedSigma.setUserTag(1);
20 aChargedSigma.setUserTag( aChargedSigma.decay().child( 1 ).userTag() );
21
22 double mass = aChargedSigma.mass();
23 if ( ( mass <= m_minMass ) || ( mass >= m_maxMass ) ) return false;
24
25 return true;
26}
double mass

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