Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
linexi2.h File Reference
#include <iostream>

Go to the source code of this file.

Classes

class  linexi2_coor
 
class  linexi2
 
class  linexi2B
 

Functions

std::ostream & operator<< (std::ostream &file, const linexi2_coor &l)
 
std::ostream & operator<< (std::ostream &file, const linexi2 &l)
 

Function Documentation

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream &  file,
const linexi2 l 
)

Definition at line 70 of file linexi2.cpp.

70 {
71 Ifile << "linexi2_coor: qlr=" << l.qlr << '\n';
72 Ifile << "x_mean=" << l.x_mean << " Dx=" << l.Dx << '\n';
73 Ifile << "y_mean=" << l.y_mean << " xy_mean=" << l.xy_mean << '\n';
74 Ifile << "a=" << l.a << " b=" << l.b << '\n';
75 int n;
76 for (n = 0; n < l.qlr; n++)
77 Ifile << "n=" << n << " x=" << l.ax[n] << " y=" << l.ay[n] << '\n';
78 return file;
79}
double x_mean
Definition: linexi2.h:22
const double * ax
Definition: linexi2.h:21
double Dx
Definition: linexi2.h:23
long qlr
Definition: linexi2.h:20
double y_mean
Definition: linexi2.h:42
const double * ay
Definition: linexi2.h:41
double a
Definition: linexi2.h:44
double xy_mean
Definition: linexi2.h:43
double b
Definition: linexi2.h:45
#define Ifile
Definition: prstream.h:207

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream &  file,
const linexi2_coor l 
)

Definition at line 28 of file linexi2.cpp.

28 {
29 Ifile << "linexi2_coor: qlr=" << l.qlr << " x_mean=" << l.x_mean
30 << " Dx=" << l.Dx << '\n';
31 int n;
32 for (n = 0; n < l.qlr; n++)
33 Ifile << "n=" << n << " x=" << l.ax[n] << '\n';
34 return file;
35}