00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef PARTICLE_ID_METHODS_HH
00018 #define PARTICLE_ID_METHODS_HH
00019
00020 namespace HepPID {
00021
00024 enum location { nj=1, nq3, nq2, nq1, nl, nr, n, n8, n9, n10 };
00025
00027 unsigned short digit( location loc, const int & pid );
00028
00031 int A(const int & pid );
00032
00035 int Z(const int & pid );
00036
00039 int lambda( const int & pid );
00040
00042 int abspid( const int & pid );
00043
00045 int fundamentalID( const int & pid );
00047 bool hasFundamentalAnti( const int & pid );
00048
00051 int extraBits( const int & pid );
00052
00053
00054
00056 bool isValid( const int & pid );
00058 bool isMeson( const int & pid );
00060 bool isBaryon( const int & pid );
00062 bool isDiQuark( const int & pid );
00064 bool isHadron( const int & pid );
00066 bool isLepton( const int & pid );
00068 bool isNucleus( const int & pid );
00070 bool isPentaquark( const int & pid );
00072 bool isSUSY( const int & pid );
00074 bool isRhadron( const int & pid );
00075
00077 bool hasUp( const int & pid );
00079 bool hasDown( const int & pid );
00081 bool hasStrange( const int & pid );
00083 bool hasCharm( const int & pid );
00085 bool hasBottom( const int & pid );
00087 bool hasTop( const int & pid );
00088
00089
00090
00092 int jSpin( const int & pid );
00094 int sSpin( const int & pid );
00096 int lSpin( const int & pid );
00098 int threeCharge( const int & pid );
00099
00100
00101 }
00102
00103 #endif // PARTICLE_ID_METHODS_HH