Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
Heed::linexi2_coor Class Reference

#include <linexi2.h>

+ Inheritance diagram for Heed::linexi2_coor:

Public Member Functions

 linexi2_coor (const long fqlr, const double *fax)
 
 linexi2_coor (const linexi2_coor &lc)
 
linexi2_cooroperator= (const linexi2_coor &lc)
 

Public Attributes

long qlr
 
const double * ax
 
double x_mean
 
double Dx
 

Detailed Description

Definition at line 20 of file linexi2.h.

Constructor & Destructor Documentation

◆ linexi2_coor() [1/2]

Heed::linexi2_coor::linexi2_coor ( const long  fqlr,
const double *  fax 
)

Definition at line 16 of file linexi2.cpp.

17 : qlr(fqlr), ax(fax) {
18 x_mean = 0;
19 Dx = 0;
20 for (long n = 0; n < qlr; n++) {
21 x_mean += ax[n];
22 Dx += ax[n] * ax[n];
23 }
24 x_mean /= qlr;
25 Dx /= qlr;
26 Dx = Dx - x_mean * x_mean;
27}
const double * ax
Definition: linexi2.h:23

◆ linexi2_coor() [2/2]

Heed::linexi2_coor::linexi2_coor ( const linexi2_coor lc)
inline

Definition at line 27 of file linexi2.h.

28 : qlr(lc.qlr), ax(lc.ax), x_mean(lc.x_mean), Dx(lc.Dx) {
29 ;
30 }

Member Function Documentation

◆ operator=()

linexi2_coor & Heed::linexi2_coor::operator= ( const linexi2_coor lc)
inline

Definition at line 31 of file linexi2.h.

31 {
32 qlr = lc.qlr;
33 ax = lc.ax;
34 x_mean = lc.x_mean;
35 Dx = lc.Dx;
36 return *this;
37 }

Member Data Documentation

◆ ax

const double* Heed::linexi2_coor::ax

Definition at line 23 of file linexi2.h.

Referenced by Heed::linexi2::linexi2(), linexi2_coor(), Heed::operator<<(), and operator=().

◆ Dx

double Heed::linexi2_coor::Dx

Definition at line 25 of file linexi2.h.

Referenced by Heed::linexi2::linexi2(), linexi2_coor(), Heed::operator<<(), and operator=().

◆ qlr

long Heed::linexi2_coor::qlr

Definition at line 22 of file linexi2.h.

Referenced by Heed::linexi2::linexi2(), linexi2_coor(), Heed::operator<<(), and operator=().

◆ x_mean

double Heed::linexi2_coor::x_mean

The documentation for this class was generated from the following files: