#include "EvtGenBase/EvtPatches.hh"
#include <iostream>
#include <iomanip>
#include "EvtGenBase/EvtVector4R.hh"
#include "EvtGenBase/EvtStdHep.hh"
Go to the source code of this file.
◆ operator<<()
ostream & operator<< |
( |
ostream & |
s, |
|
|
const EvtStdHep & |
stdhep |
|
) |
| |
Definition at line 80 of file EvtStdHep.cc.
80 {
81
84 ios::fmtflags
f=
s.flags();
85
86
88 s <<
" N Id Ist M1 M2 DF DL px py pz E t x y z"<<endl;
89 int i;
90 for(i=0;i<stdhep._npart;i++){
91
95 s<<stdhep._id[i]<<
" ";
97 s<<stdhep._istat[i]<<
" ";
99 s<<stdhep._prntfirst[i]<<
" ";
101 s<<stdhep._prntlast[i]<<
" ";
103 s<<stdhep._daugfirst[i]<<
" ";
105 s<<stdhep._dauglast[i]<<
" ";
108 s<<setiosflags( ios::right|ios::fixed );
109 s<<stdhep._p4[i].
get(1)<<
" ";
112 s<<setiosflags( ios::right|ios::fixed );
113 s<<stdhep._p4[i].
get(2)<<
" ";
116 s<<setiosflags( ios::right|ios::fixed );
117 s<<stdhep._p4[i].
get(3)<<
" ";
120 s<<setiosflags( ios::right|ios::fixed );
121 s<<stdhep._p4[i].
get(0)<<
" ";
124 s<<setiosflags( ios::right|ios::fixed );
125 s<<stdhep._x[i].
get(0)<<
" ";
128 s<<setiosflags( ios::right|ios::fixed );
129 s<<stdhep._x[i].
get(1)<<
" ";
132 s<<setiosflags( ios::right|ios::fixed );
133 s<<stdhep._x[i].
get(2)<<
" ";
136 s<<setiosflags( ios::right|ios::fixed );
137 s<<stdhep._x[i].
get(3)<<endl;
139 }
140
142
146
148
149}
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")