BOSS 7.1.1
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>
#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

◆ IntToStr()

std::string IntToStr ( int a)

Definition at line 1210 of file EvtParticle.cc.

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

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.