Garfield++ v2r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
HeedParticle_BGM.h
Go to the documentation of this file.
1#ifndef HEEDPARTICLE_BGM_H
2#define HEEDPARTICLE_BGM_H
3
4#include <vector>
5#include "HeedCluster.h"
7
8namespace Heed {
9extern long last_particle_number;
10
11/// Definition of the particle which can be traced through the geometry.
12/// 2003, I. Smirnov
13
15 public:
16 /// Default constructor.
18 /// Constructor.
19 /// if fs_loss_only == 1 - only transfer energy and
20 /// no other physics: no deposition of clusters,
21 /// no generation of virtual photons.
22 /// Thus it is just a PAI without even clusters
23 HeedParticle_BGM(manip_absvol* primvol, const point& pt, const vec& vel,
24 vfloat time, particle_def* fpardef, HeedFieldMap* fieldmap,
25 bool fs_loss_only = false, bool fs_print_listing = false);
26 /// Destructor
27 virtual ~HeedParticle_BGM() {}
28
29 virtual void physics(std::vector<gparticle*>& secondaries);
30 virtual void print(std::ostream& file, int l) const;
31 virtual HeedParticle_BGM* copy() const { return new HeedParticle_BGM(*this); }
32
33 private:
34 bool s_print_listing;
35 long particle_number;
36
37 bool s_loss_only;
38 std::vector<double> etransf;
39 std::vector<long> natom;
40 std::vector<long> nshell;
41
42 std::vector<HeedCluster> m_clusterBank;
43};
44}
45
46#endif
Retrieve electric and magnetic field from Sensor.
Definition: HeedFieldMap.h:15
HeedParticle_BGM()
Default constructor.
virtual ~HeedParticle_BGM()
Destructor.
virtual void physics(std::vector< gparticle * > &secondaries)
virtual HeedParticle_BGM * copy() const
virtual void print(std::ostream &file, int l) const
Abstract base classs for volume "manipulators".
Definition: volume.h:178
Point.
Definition: vec.h:374
Definition: vec.h:186
Definition: BGMesh.cpp:5
long last_particle_number
Definition: HeedParticle.h:9
double vfloat
Definition: vfloat.h:16