BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
LocalRhotoPiPiSelector Class Reference

#include <LocalRhotoPiPiSelector.h>

+ Inheritance diagram for LocalRhotoPiPiSelector:

Public Member Functions

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

Detailed Description

Constructor & Destructor Documentation

◆ LocalRhotoPiPiSelector() [1/2]

LocalRhotoPiPiSelector::LocalRhotoPiPiSelector ( )

Definition at line 13 of file LocalRhotoPiPiSelector.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("minMassRhotoPiPi", m_minMass = 0.5);
22 m_propMgr.declareProperty("maxMassRhotoPiPi", m_maxMass = 1.0);
23
24 jobSvc->setMyProperties("LocalRhotoPiPiSelector", &m_propMgr);
25}

◆ LocalRhotoPiPiSelector() [2/2]

LocalRhotoPiPiSelector::LocalRhotoPiPiSelector ( )

Member Function Documentation

◆ operator()() [1/2]

bool LocalRhotoPiPiSelector::operator() ( CDDecay aRho)
virtual

Implements DCSelectionFunction< CDDecay >.

Definition at line 27 of file LocalRhotoPiPiSelector.cxx.

27 {
28
29 aRho.setUserTag(1);
30 double mass = aRho.mass();
31 if( mass >= m_minMass && mass <= m_maxMass)
32 return true;
33 return false;
34}
double mass
void setUserTag(int tag)
Definition: CDCandidate.cxx:81
double mass() const

◆ operator()() [2/2]

bool LocalRhotoPiPiSelector::operator() ( CDDecay aRho)
virtual

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