LocalRhotoPiPiSelector Class Reference

#include <LocalRhotoPiPiSelector.h>

Inheritance diagram for LocalRhotoPiPiSelector:

DCSelectionFunction< CDDecay > unary_function List of all members.

Public Member Functions

 LocalRhotoPiPiSelector ()
bool operator() (CDDecay &aRho)
bool operator() (CDDecay &iArg) const

Private Member Functions

 LocalRhotoPiPiSelector (const LocalRhotoPiPiSelector &)
const LocalRhotoPiPiSelectoroperator= (const LocalRhotoPiPiSelector &)

Private Attributes

double m_minMass
double m_maxMass

Detailed Description

Definition at line 7 of file LocalRhotoPiPiSelector.h.


Constructor & Destructor Documentation

LocalRhotoPiPiSelector::LocalRhotoPiPiSelector (  ) 

Definition at line 13 of file LocalRhotoPiPiSelector.cxx.

References m_maxMass, and m_minMass.

00014 {
00015   IJobOptionsSvc* jobSvc;
00016   Gaudi::svcLocator()->service("JobOptionsSvc", jobSvc);
00017 
00018   PropertyMgr m_propMgr;
00019 
00020   //Declare the properties
00021   m_propMgr.declareProperty("minMassRhotoPiPi",               m_minMass = 0.5);
00022   m_propMgr.declareProperty("maxMassRhotoPiPi",               m_maxMass = 1.0);
00023    
00024   jobSvc->setMyProperties("LocalRhotoPiPiSelector", &m_propMgr);
00025 }

LocalRhotoPiPiSelector::LocalRhotoPiPiSelector ( const LocalRhotoPiPiSelector  )  [private]


Member Function Documentation

bool DCSelectionFunction< CDDecay >::operator() ( CDDecay iArg  )  const [inline, inherited]

Definition at line 78 of file DCSelectionFunction.h.

00078                                        {
00079          return const_cast<DCSelectionFunction<Arg> *>(this)->operator()(iArg);
00080       }

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

Implements DCSelectionFunction< CDDecay >.

Definition at line 27 of file LocalRhotoPiPiSelector.cxx.

References m_maxMass, m_minMass, CDCandidate::mass(), mass, and CDCandidate::setUserTag().

00027                                                       {
00028 
00029   aRho.setUserTag(1);
00030   double mass = aRho.mass();
00031   if( mass >= m_minMass && mass <= m_maxMass)
00032     return true;
00033   return false;
00034 }

const LocalRhotoPiPiSelector& LocalRhotoPiPiSelector::operator= ( const LocalRhotoPiPiSelector  )  [private]


Member Data Documentation

double LocalRhotoPiPiSelector::m_maxMass [private]

Definition at line 22 of file LocalRhotoPiPiSelector.h.

Referenced by LocalRhotoPiPiSelector(), and operator()().

double LocalRhotoPiPiSelector::m_minMass [private]

Definition at line 21 of file LocalRhotoPiPiSelector.h.

Referenced by LocalRhotoPiPiSelector(), and operator()().


Generated on Tue Nov 29 23:20:03 2016 for BOSS_7.0.2 by  doxygen 1.4.7