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
5
6/*
7Charged particle, combination of features of massive geometrical
8particle and specification of concrete particle as one of types
9known by science.
10
111998 - 2004, I. Smirnov.
12*/
13
14namespace Heed {
15
16class eparticle : public mparticle, public particle_type {
17 public:
18 /// Constructors
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);
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
eparticle(void)
Constructors.
Definition: eparticle.h:19
virtual void print(std::ostream &file, int l) const
Definition: eparticle.cpp:33
virtual int force(const point &pt, vec &f, vec &f_perp, vfloat &mrange)
Definition: eparticle.cpp:24
virtual ~eparticle()
Destructor.
Definition: eparticle.h:27
AnyType_copy(eparticle, gparticle)
Definition: vec.h:477
Definition: vec.h:248
Definition: BGMesh.cpp:3
double vfloat
Definition: vfloat.h:15