Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

LocalEptoRhoGamSelector Class Reference

#include <LocalEptoRhoGamSelector.h>

Inheritance diagram for LocalEptoRhoGamSelector:

DCSelectionFunction< CDDecay > DCSelectionFunction< CDDecay > unary_function unary_function unary_function unary_function List of all members.

Public Member Functions

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

Private Member Functions

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

Private Attributes

double m_maxMass
double m_minMass

Constructor & Destructor Documentation

LocalEptoRhoGamSelector::LocalEptoRhoGamSelector  ) 
 

00014 {
00015    IJobOptionsSvc* jobSvc;
00016    Gaudi::svcLocator()->service("JobOptionsSvc", jobSvc);
00017 
00018    PropertyMgr m_propMgr;
00019 
00020    //Declare the properties
00021    m_propMgr.declareProperty("minMass",               m_minMass = 0.938);
00022    m_propMgr.declareProperty("maxMass",               m_maxMass = 0.978);
00023    
00024    
00025    jobSvc->setMyProperties("LocalEptoRhoGamSelector", &m_propMgr);
00026 }

LocalEptoRhoGamSelector::LocalEptoRhoGamSelector const LocalEptoRhoGamSelector  )  [private]
 

LocalEptoRhoGamSelector::LocalEptoRhoGamSelector  ) 
 

LocalEptoRhoGamSelector::LocalEptoRhoGamSelector const LocalEptoRhoGamSelector  )  [private]
 


Member Function Documentation

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

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

bool LocalEptoRhoGamSelector::operator() CDDecay aEp  )  [virtual]
 

Implements DCSelectionFunction< CDDecay >.

bool LocalEptoRhoGamSelector::operator() CDDecay aEp  )  [virtual]
 

Implements DCSelectionFunction< CDDecay >.

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

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

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


Member Data Documentation

double LocalEptoRhoGamSelector::m_maxMass [private]
 

double LocalEptoRhoGamSelector::m_minMass [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:21:22 2011 for BOSS6.5.5 by  doxygen 1.3.9.1