BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
LocalomegatoPiPiPi0Selector Class Reference

#include <LocalomegatoPiPiPi0Selector.h>

+ Inheritance diagram for LocalomegatoPiPiPi0Selector:

Public Member Functions

 LocalomegatoPiPiPi0Selector ()
 
bool operator() (CDDecay &aEp)
 
- 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 LocalomegatoPiPiPi0Selector.h.

Constructor & Destructor Documentation

◆ LocalomegatoPiPiPi0Selector()

LocalomegatoPiPiPi0Selector::LocalomegatoPiPiPi0Selector ( )

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

Member Function Documentation

◆ operator()()

bool LocalomegatoPiPiPi0Selector::operator() ( CDDecay aEp)
virtual

Implements DCSelectionFunction< CDDecay >.

Definition at line 27 of file LocalomegatoPiPiPi0Selector.cxx.

27 {
28
29 //aomega.setUserTag(1);
30 int userTag_pion1=aomega.decay().child(0).userTag();
31 int userTag_pion2=aomega.decay().child(1).userTag();
32 if(userTag_pion1==1 &&userTag_pion2==1) aomega.setUserTag(1);
33 else aomega.setUserTag(2);
34
35 double mass = aomega.mass();
36 if ((mass <= m_minMass)||(mass >= m_maxMass)) return false;
37
38 return true;
39}
double mass

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