BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtParticle.hh File Reference
#include "EvtGlobalSet.hh"
#include "EvtId.hh"
#include "EvtSpinDensity.hh"
#include "EvtSpinType.hh"
#include "EvtVector4R.hh"
#include <assert.h>
#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 1188 of file EvtParticle.cc.

1188 {
1189 std::string ans;
1190 std::string ans1;
1191 int k = 10;
1192 while ( a > 0 )
1193 {
1194 ans += char( a % 10 + 48 );
1195 a /= 10;
1196 }
1197 for ( int i = ans.size() - 1; i >= 0; i-- ) { ans1 += ans[i]; }
1198 return ans1;
1199}

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.