BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
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>

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

◆ IntToStr()

std::string IntToStr ( int  a)

Definition at line 1209 of file EvtParticle.cc.

1210 {
1211 std::string ans;
1212 std::string ans1;
1213 int k = 10 ;
1214 while (a > 0 )
1215 {
1216 ans += char (a % 10 + 48 );
1217 a /= 10 ;
1218 }
1219 for ( int i = ans.size() - 1 ; i >= 0 ; i -- )
1220 {
1221 ans1 += ans[i];
1222 }
1223 return ans1;
1224}

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

Variable Documentation

◆ MAX_DAUG

◆ MAX_LEVEL

const int MAX_LEVEL =10

Definition at line 39 of file EvtParticle.hh.

◆ MAX_TRIES

const int MAX_TRIES =10000

Definition at line 40 of file EvtParticle.hh.