Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
trajestep.cpp File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &file, const trajestep &f)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  file,
const trajestep f 
)

Definition at line 137 of file trajestep.cpp.

137 {
138 Ifile << "trajestep: s_cf=" << f.s_cf << "\n";
139 indn.n += 2;
140 Ifile << "currpos:" << f.currpos << indn << "dir=" << f.dir << indn
141 << "relcen=" << f.relcen << indn << "s_range_cf=" << f.s_range_cf
142 << " s_prec=" << f.s_prec << " mrange=" << f.mrange << '\n' << indn
143 << "mpoint=" << f.mpoint;
144 indn.n -= 2;
145 return file;
146}
int s_range_cf
Definition: trajestep.h:88
vec dir
Definition: trajestep.h:75
point currpos
Definition: trajestep.h:74
vfloat mrange
Definition: trajestep.h:91
int s_cf
Definition: trajestep.h:76
vec relcen
Definition: trajestep.h:80
point mpoint
Definition: trajestep.h:92
int s_prec
Definition: trajestep.h:90
indentation indn
Definition: prstream.cpp:13
#define Ifile
Definition: prstream.h:207