BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
LocalEptoRhoGamSelector.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 // Declare the properties
12 declareProperty( "minMassEptoRhoGam", m_minMass = 0.938 );
13 declareProperty( "maxMassEptoRhoGam", m_maxMass = 0.978 );
14}
15
17
18 // aEp.setUserTag(1);
19 aEp.setUserTag( aEp.decay().child( 0 ).userTag() );
20
21 double mass = aEp.mass();
22 if ( mass >= m_minMass && mass <= m_maxMass ) return true;
23 else return false;
24}
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
LocalEptoRhoGamSelector(const std::string &type, const std::string &name, const IInterface *parent)