BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtParticle.cc File Reference
#include "EvtGenBase/EvtPatches.hh"
#include <iostream>
#include <math.h>
#include <fstream>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <strstream>
#include "EvtGenBase/EvtParticle.hh"
#include "EvtGenBase/EvtId.hh"
#include "EvtGenBase/EvtRandom.hh"
#include "EvtGenBase/EvtRadCorr.hh"
#include "EvtGenBase/EvtPDL.hh"
#include "EvtGenBase/EvtDecayTable.hh"
#include "EvtGenBase/EvtDiracParticle.hh"
#include "EvtGenBase/EvtScalarParticle.hh"
#include "EvtGenBase/EvtVectorParticle.hh"
#include "EvtGenBase/EvtTensorParticle.hh"
#include "EvtGenBase/EvtPhotonParticle.hh"
#include "EvtGenBase/EvtRaritaSchwingerParticle.hh"
#include "EvtGenBase/EvtNeutrinoParticle.hh"
#include "EvtGenBase/EvtStringParticle.hh"
#include "EvtGenBase/EvtStdHep.hh"
#include "EvtGenBase/EvtSecondary.hh"
#include "EvtGenBase/EvtReport.hh"
#include "EvtGenBase/EvtGenKine.hh"
#include "EvtGenBase/EvtCPUtil.hh"
#include "EvtGenBase/EvtParticleFactory.hh"
#include "EvtGenBase/EvtSpinDensity.hh"

Go to the source code of this file.

Functions

void init_vector (EvtParticle **part)
 
void init_scalar (EvtParticle **part)
 
void init_tensor (EvtParticle **part)
 
void init_dirac (EvtParticle **part)
 
void init_photon (EvtParticle **part)
 
void init_raritaschinger (EvtParticle **part)
 
void init_neutrino (EvtParticle **part)
 
void init_string (EvtParticle **part)
 
std::string IntToStr (int a)
 

Function Documentation

◆ init_dirac()

◆ init_neutrino()

◆ init_photon()

◆ init_raritaschinger()

◆ init_scalar()

◆ init_string()

◆ init_tensor()

◆ init_vector()

◆ IntToStr()

std::string IntToStr ( int  a)

Definition at line 1211 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtParticle.cc.

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

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