Skip to content
Snippets Groups Projects
Commit f50d0306 authored by Bertram Kopf's avatar Bertram Kopf
Browse files

few modifications in PwaUtils/PwaGen.cc II

parent b60b3f63
No related branches found
No related tags found
No related merge requests found
...@@ -231,7 +231,7 @@ void PwaGen::dumpAscii(EvtData* evtData){ ...@@ -231,7 +231,7 @@ void PwaGen::dumpAscii(EvtData* evtData){
for( ; fspIter != fsParticles.end(); ++fspIter ) { for( ; fspIter != fsParticles.end(); ++fspIter ) {
Vector4<double> tmp4vec = evtData->FourVecsString[ (*fspIter)->name() ]; Vector4<double> tmp4vec = evtData->FourVecsString[ (*fspIter)->name() ];
if(_energyFirst){ if(_energyFirst){
*_stream << std::setprecision(8) << tmp4vec.E()*_unitScaleFactor << tmp4vec.Px()*_unitScaleFactor << "\t" << tmp4vec.Py()*_unitScaleFactor << "\t" << tmp4vec.Pz()*_unitScaleFactor << "\t" << std::endl; *_stream << std::setprecision(8) << tmp4vec.E()*_unitScaleFactor << "\t" << tmp4vec.Px()*_unitScaleFactor << "\t" << tmp4vec.Py()*_unitScaleFactor << "\t" << tmp4vec.Pz()*_unitScaleFactor << "\t" << std::endl;
} }
else{ else{
*_stream << std::setprecision(8) << tmp4vec.Px()*_unitScaleFactor << "\t" << tmp4vec.Py()*_unitScaleFactor << "\t" << tmp4vec.Pz()*_unitScaleFactor << "\t" << tmp4vec.E()*_unitScaleFactor << std::endl; *_stream << std::setprecision(8) << tmp4vec.Px()*_unitScaleFactor << "\t" << tmp4vec.Py()*_unitScaleFactor << "\t" << tmp4vec.Pz()*_unitScaleFactor << "\t" << tmp4vec.E()*_unitScaleFactor << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment