LocalEptoRhoGamSelector Class Reference

#include <LocalEptoRhoGamSelector.h>

Inheritance diagram for LocalEptoRhoGamSelector:

DCSelectionFunction< CDDecay > unary_function List of all members.

Public Member Functions

 LocalEptoRhoGamSelector ()
bool operator() (CDDecay &aEp)
bool operator() (CDDecay &iArg) const

Private Member Functions

 LocalEptoRhoGamSelector (const LocalEptoRhoGamSelector &)
const LocalEptoRhoGamSelectoroperator= (const LocalEptoRhoGamSelector &)

Private Attributes

double m_minMass
double m_maxMass

Detailed Description

Definition at line 7 of file LocalEptoRhoGamSelector.h.


Constructor & Destructor Documentation

LocalEptoRhoGamSelector::LocalEptoRhoGamSelector (  ) 

Definition at line 13 of file LocalEptoRhoGamSelector.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("minMassEptoRhoGam",               m_minMass = 0.938);
00022   m_propMgr.declareProperty("maxMassEptoRhoGam",               m_maxMass = 0.978);
00023    
00024    
00025   jobSvc->setMyProperties("LocalEptoRhoGamSelector", &m_propMgr);
00026 }

LocalEptoRhoGamSelector::LocalEptoRhoGamSelector ( const LocalEptoRhoGamSelector  )  [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 LocalEptoRhoGamSelector::operator() ( CDDecay aEp  )  [virtual]

Implements DCSelectionFunction< CDDecay >.

Definition at line 28 of file LocalEptoRhoGamSelector.cxx.

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

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

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


Member Data Documentation

double LocalEptoRhoGamSelector::m_maxMass [private]

Definition at line 22 of file LocalEptoRhoGamSelector.h.

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

double LocalEptoRhoGamSelector::m_minMass [private]

Definition at line 21 of file LocalEptoRhoGamSelector.h.

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


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