BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
LocalSigma0Selector.cxx
Go to the documentation of this file.
1#include "GaudiKernel/Bootstrap.h"
2
4
6
7LocalSigma0Selector::LocalSigma0Selector( const std::string& type, const std::string& name,
8 const IInterface* parent )
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}
14
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}
DECLARE_COMPONENT(BesBdkRc)
double mass
void setUserTag(int tag)
double mass() const
LocalSigma0Selector(const std::string &type, const std::string &name, const IInterface *parent)
bool operator()(CDDecay &aSigma)