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

#include <linexi2.h>

+ Inheritance diagram for Heed::linexi2B:

Public Member Functions

 linexi2B (linexi2 &lx)
 
 ~linexi2B ()
 
void copy (const linexi2B &lxB)
 
 linexi2B (const linexi2B &lxB)
 
linexi2Boperator= (const linexi2B &lxB)
 
- Public Member Functions inherited from Heed::linexi2
 linexi2 (const linexi2_coor &lc, const double *fay)
 
 linexi2 (const long fqlr, const double *fax, const double *fay)
 
linexi2operator= (linexi2 &lx)
 
 linexi2 (linexi2 &lx)
 
double line (const double x)
 
- Public Member Functions inherited from Heed::linexi2_coor
 linexi2_coor (const long fqlr, const double *fax)
 
 linexi2_coor (const linexi2_coor &lc)
 
linexi2_cooroperator= (const linexi2_coor &lc)
 

Public Attributes

double ** B
 
- Public Attributes inherited from Heed::linexi2
const double * ay
 
double y_mean
 
double xy_mean
 
double a
 
double b
 
- Public Attributes inherited from Heed::linexi2_coor
long qlr
 
const double * ax
 
double x_mean
 
double Dx
 

Detailed Description

Definition at line 70 of file linexi2.h.

Constructor & Destructor Documentation

◆ linexi2B() [1/2]

Heed::linexi2B::linexi2B ( linexi2 lx)

Definition at line 75 of file linexi2.cpp.

75 : linexi2(lx) {
76 mfunname("linexi2B::linexi2B(linexi2& lx)");
77 B = (double**)new double[lx.qlr * lx.qlr];
78 for (long i = 0; i < qlr; i++)
79 for (long m = 0; m < qlr; m++)
80 B[i][m] = (ax[i] - x_mean) * (ax[m] - x_mean) / Dx + 1;
81}
#define mfunname(string)
Definition: FunNameStack.h:45
double ** B
Definition: linexi2.h:72
const double * ax
Definition: linexi2.h:23
linexi2(const linexi2_coor &lc, const double *fay)
Definition: linexi2.cpp:34

◆ ~linexi2B()

Heed::linexi2B::~linexi2B ( )
inline

Definition at line 74 of file linexi2.h.

74{ delete B; }

◆ linexi2B() [2/2]

Heed::linexi2B::linexi2B ( const linexi2B lxB)

Definition at line 87 of file linexi2.cpp.

87 : linexi2((linexi2&)lxB) {
88 mfunname("linexi2B::linexi2B(const linexi2B& lxB)");
89 B = (double**)new double[lxB.qlr * lxB.qlr];
90 for (long i = 0; i < qlr; i++)
91 for (long m = 0; m < qlr; m++) B[i][m] = lxB.B[i][m];
92}

Member Function Documentation

◆ copy()

void Heed::linexi2B::copy ( const linexi2B lxB)

Definition at line 82 of file linexi2.cpp.

82 {
83 *this = (linexi2&)lxB; // '=' redefined
84 for (long i = 0; i < qlr; i++)
85 for (long m = 0; m < qlr; m++) B[i][m] = lxB.B[i][m];
86}

Referenced by operator=().

◆ operator=()

linexi2B & Heed::linexi2B::operator= ( const linexi2B lxB)
inline

Definition at line 77 of file linexi2.h.

77 {
78 copy(lxB);
79 return *this;
80 }
void copy(const linexi2B &lxB)
Definition: linexi2.cpp:82

Member Data Documentation

◆ B

double** Heed::linexi2B::B

Definition at line 72 of file linexi2.h.

Referenced by copy(), linexi2B(), and ~linexi2B().


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