HepPDT Reference Documentation

HepPDT

Constituent.cc

Go to the documentation of this file.
00001 // ----------------------------------------------------------------------
00002 //
00003 // Constituent.cc
00004 //
00005 // ----------------------------------------------------------------------
00006 
00007 #include "HepPDT/defs.h"
00008 #include "HepPDT/Constituent.hh"
00009 
00010 namespace HepPDT {
00011 
00012 bool Constituent::isUp( ) const
00013 {
00014     if( itsPid.fundamentalID() == 2 ) { return true; }
00015     return false;
00016 }
00017 
00018 bool Constituent::isDown( ) const
00019 {
00020     if( itsPid.fundamentalID() == 1 ) { return true; }
00021     return false;
00022 }
00023 
00024 bool Constituent::isStrange( ) const
00025 {
00026     if( itsPid.fundamentalID() == 3 ) { return true; }
00027     return false;
00028 }
00029 
00030 bool Constituent::isCharm( ) const
00031 {
00032     if( itsPid.fundamentalID() == 4 ) { return true; }
00033     return false;
00034 }
00035 
00036 bool Constituent::isBottom( ) const
00037 {
00038     if( itsPid.fundamentalID() == 5 ) { return true; }
00039     return false;
00040 }
00041 
00042 bool Constituent::isTop( ) const
00043 {
00044     if( itsPid.fundamentalID() == 6 ) { return true; }
00045     return false;
00046 }
00047 
00048 } // HepPDT

Generated on Fri Dec 4 14:05:23 2009 for HepPDT by  doxygen 1.4.7