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

#include <LocalChargedSigmaSelector.h>

+ Inheritance diagram for LocalChargedSigmaSelector:

Public Member Functions

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

Detailed Description

Definition at line 7 of file LocalChargedSigmaSelector.h.

Constructor & Destructor Documentation

◆ LocalChargedSigmaSelector()

LocalChargedSigmaSelector::LocalChargedSigmaSelector ( )

Definition at line 13 of file LocalChargedSigmaSelector.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.13);
22 m_propMgr.declareProperty("MaxMassCut", m_maxMass=1.23);
23
24 jobSvc->setMyProperties("LocalChargedSigmaSelector", &m_propMgr);
25}

Member Function Documentation

◆ operator()()

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

Implements DCSelectionFunction< CDDecay >.

Definition at line 27 of file LocalChargedSigmaSelector.cxx.

27 {
28
29 //aChargedSigma.setUserTag(1);
30 aChargedSigma.setUserTag(aChargedSigma.decay().child(1).userTag());
31
32 double mass = aChargedSigma.mass();
33 if ((mass <= m_minMass)||(mass >= m_maxMass)) return false;
34
35 return true;
36}
double mass

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