74 lhs <<
"[ Currently a#of particles in the CHIPS World = " << rhs.
GetQPEntries() <<
"]";
99 static const G4int mnofParts = 512;
100 static const G4bool cf =
true;
102 G4cout<<
"G4QCHIPSWorld::GetParticles: n="<<nOfParts<<
" particles"<<
G4endl;
108 G4cout<<
"G4QCHIPSWorld::GetParticles: Creating CHIPS World of nP="<<nOfParts<<
G4endl;
110 G4int curNP=GetQWorld().size();
114 if (nOfParts>mnofParts)
116 G4cerr<<
"***G4QCHIPSWorld::GetPartics:nOfParts="<<nOfParts<<
">"<<mnofParts<<
G4endl;
119 if (nOfParts<10) nOfParts=10;
121 G4cout<<
"G4QCHIPSWorld::GetParticles: n="<<nOfParts<<
",c="<<curNP<<
G4endl;
123 for (
G4int i=curNP; i<nOfParts; i++)
126 G4cout<<
"G4QCHIPSWorld::GetParticles: Create particle QCode="<<i<<
G4endl;
130 G4cout<<
"G4QCHIPSWorld::GetParticles: Particle QCode="<<i<<
" is created."<<
G4endl;
134 GetQWorld().push_back(curPart);
136 G4cout<<
"G4QCHIPSWorld::GetParticles: Pt#"<<i<<
"("<<nOfParts<<
") is done"<<
G4endl;
143 G4cout<<
"G4QCHIPSWorld::GetParticles: TotalPt#"<<GetQWorld().size()<<
G4endl;
std::ostream & operator<<(std::ostream &lhs, G4QCHIPSWorld &rhs)
G4DLLIMPORT std::ostream G4cerr
G4DLLIMPORT std::ostream G4cout
static G4QCHIPSWorld * Get()
G4int GetQPEntries() const
G4QParticleVector * GetParticles(G4int nOfParts=0)