/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtParticle.hh File Reference

#include <assert.h>
#include "EvtGenBase/EvtVector4R.hh"
#include "EvtGenBase/EvtSpinDensity.hh"
#include "EvtGenBase/EvtId.hh"
#include "EvtGenBase/EvtSpinType.hh"
#include <string>
#include "EvtGenModels/EvtGlobalSet.hh"

Go to the source code of this file.

Classes

class  EvtParticle

Functions

std::string IntToStr (int a)

Variables

const int MAX_DAUG = 100
const int MAX_LEVEL = 10
const int MAX_TRIES = 10000


Function Documentation

std::string IntToStr ( int  a  ) 

Definition at line 1211 of file EvtParticle.cc.

References genRecEmupikp::i, and deljobs::string.

Referenced by EvtParticle::dumpTreeRec(), and EvtParticle::writeTreeRec().

01212   {
01213      std::string  ans;
01214      std::string  ans1;
01215      int  k  =   10 ;
01216      while  (a  >   0 )
01217       {
01218         ans  +=   char (a % 10 + 48 );
01219         a  /=   10 ;
01220     }
01221      for  ( int  i = ans.size() - 1 ; i >= 0 ; i -- )
01222       {
01223         ans1  +=  ans[i];
01224     }
01225      return  ans1;
01226 }  


Variable Documentation

const int MAX_DAUG = 100

Definition at line 38 of file EvtParticle.hh.

Referenced by EvtTauola::decay(), EvtPythia::decay(), EvtPyGaGa::decay(), EvtPycont::decay(), EvtLundCharm::decay(), EvtLunda::decay(), EvtJscont::decay(), EvtJetSet::decay(), EvtBtoXsgamma::decay(), EvtBtoXsEtap::decay(), EvtBHadronic::decay(), EvtDecayTable::inChannelList(), EvtDecayIncoherent::makeDecay(), and EvtDecayTable::readDecayFile().

const int MAX_LEVEL = 10

Definition at line 39 of file EvtParticle.hh.

const int MAX_TRIES = 10000

Definition at line 40 of file EvtParticle.hh.


Generated on Tue Nov 29 23:15:54 2016 for BOSS_7.0.2 by  doxygen 1.4.7