130 std::ostringstream os;
135 std::string stid(os.str());
136 ostr << std::setw(6) << stid;
144 ostr.setf(std::ios::fixed);
145 ostr <<
": P(" << std::setw(7) << std::setprecision(3)
149 <<
"," << std::setw(7) << std::setprecision(3)
157 std::ostringstream osv;
162 std::string svid(osv.str());
163 ostr <<
" " << std::setw(6) << svid;
165 ostr.unsetf(std::ios::fixed);
166 ostr.setf(std::ios::scientific | std::ios::right | std::ios::showpoint);
167 ostr <<
"- X(" << std::setw(9) << std::setprecision(2)
170 << std::setw(9) << std::setprecision(2)
173 ostr.unsetf(std::ios::scientific);
G4MCTSimParticle * GetParentParticle() const
void Print(std::ostream &ostr=std::cout, G4bool qrevorder=false) const
void SetStoreFlagToParentTree(G4bool q=true)
virtual ~G4MCTSimParticle()
G4MCTSimParticle * parentParticle
G4MCTSimParticle * GetAssociatedParticle(G4int i) const
G4LorentzVector momentumAtVertex
G4int GetTreeLevel() const
void SetParentParticle(const G4MCTSimParticle *p)
void PrintSingle(std::ostream &ostr=std::cout) const
G4int AssociateParticle(G4MCTSimParticle *p)
G4int GetNofAssociatedParticles() const
std::vector< G4MCTSimParticle * > associatedParticleList