Garfield++
v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
eparticle.h
Go to the documentation of this file.
1
#ifndef EPARTICLE_H
2
#define EPARTICLE_H
3
#include "
wcpplib/geometry/mparticle.h
"
4
#include "
wcpplib/particle/particle_def.h
"
5
6
/*
7
Charged particle, combination of features of massive geometrical
8
particle and specification of concrete particle as one of types
9
known by science.
10
11
1998 - 2004, I. Smirnov.
12
*/
13
14
namespace
Heed
{
15
16
class
eparticle
:
public
mparticle
,
public
particle_type
{
17
public
:
18
/// Constructors
19
eparticle
(
void
) :
mparticle
(),
particle_type
() {}
20
eparticle
(
manip_absvol
* primvol,
const
point
& pt,
const
vec
& vel,
vfloat
time,
21
particle_def
* fpardef);
22
eparticle
(
manip_absvol
* primvol,
const
point
& pt,
23
const
vec
& vel,
// length does not have meaning
24
vfloat
time,
particle_def
* fpardef,
double
gamma_1);
25
AnyType_copy
(
eparticle
,
gparticle
);
26
/// Destructor
27
virtual
~eparticle
() { ; }
28
virtual
void
print
(std::ostream& file,
int
l)
const
;
29
30
virtual
int
force
(
const
point
& pt,
vec
& f,
vec
& f_perp,
vfloat
& mrange);
31
// if returns 0 then no force, but it should fill zero to f anyway
32
// mrange - distance at which the force should not change much
33
34
};
35
36
}
37
38
#endif
Heed::eparticle
Definition:
eparticle.h:16
Heed::eparticle::eparticle
eparticle(void)
Constructors.
Definition:
eparticle.h:19
Heed::eparticle::print
virtual void print(std::ostream &file, int l) const
Definition:
eparticle.cpp:33
Heed::eparticle::force
virtual int force(const point &pt, vec &f, vec &f_perp, vfloat &mrange)
Definition:
eparticle.cpp:24
Heed::eparticle::~eparticle
virtual ~eparticle()
Destructor.
Definition:
eparticle.h:27
Heed::eparticle::AnyType_copy
AnyType_copy(eparticle, gparticle)
Heed::mparticle
Definition:
mparticle.h:22
Heed::particle_def
Definition:
particle_def.h:57
Heed::particle_type
Definition:
particle_def.h:148
gparticle
Definition:
gparticle.h:178
manip_absvol
Definition:
volume.h:195
point
Definition:
vec.h:477
vec
Definition:
vec.h:248
mparticle.h
Heed
Definition:
BGMesh.cpp:3
particle_def.h
vfloat
double vfloat
Definition:
vfloat.h:15
garfieldpp-v1r0
Heed
wcpplib
particle
eparticle.h
Generated by
1.9.6