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

#include <LocalSigma0Selector.h>

+ Inheritance diagram for LocalSigma0Selector:

Public Member Functions

 LocalSigma0Selector ()
 
bool operator() (CDDecay &aSigma)
 
- Public Member Functions inherited from DCSelectionFunction< CDDecay >
 DCSelectionFunction ()
 
virtual ~DCSelectionFunction ()
 
virtual bool operator() (CDDecay &)=0
 
bool operator() (CDDecay &iArg) const
 

Detailed Description

Definition at line 7 of file LocalSigma0Selector.h.

Constructor & Destructor Documentation

◆ LocalSigma0Selector()

LocalSigma0Selector::LocalSigma0Selector ( )

Definition at line 13 of file LocalSigma0Selector.cxx.

14{
15 IJobOptionsSvc* jobSvc;
16 Gaudi::svcLocator()->service("JobOptionsSvc", jobSvc);
17
18 PropertyMgr m_propMgr;
19
20 //Declare the properties
21 m_propMgr.declareProperty("MinMassCut", m_minMass=1.15);
22 m_propMgr.declareProperty("MaxMassCut", m_maxMass=1.23);
23
24 jobSvc->setMyProperties("LocalSigma0Selector", &m_propMgr);
25}

Member Function Documentation

◆ operator()()

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

Implements DCSelectionFunction< CDDecay >.

Definition at line 27 of file LocalSigma0Selector.cxx.

27 {
28
29 aSigma0.setUserTag(1);
30 double mass = aSigma0.mass();
31 if ((mass <= m_minMass)||(mass >= m_maxMass)) return false;
32
33 return true;
34}
double mass

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