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