2#ifndef G_GARFIELD_CONSTANTS_H
3#define G_GARFIELD_CONSTANTS_H
7static const int IonProdTypeElectron = -1;
8static const int IonProdTypeHole = 1;
9static const int IonProdTypeIon = 2;
11static const int DxcProdTypeElectron = -1;
12static const int DxcProdTypePhoton = 1;
15static const int ElectronCollisionTypeElastic = 0;
16static const int ElectronCollisionTypeIonisation = 1;
17static const int ElectronCollisionTypeAttachment = 2;
18static const int ElectronCollisionTypeInelastic = 3;
19static const int ElectronCollisionTypeExcitation = 4;
20static const int ElectronCollisionTypeSuperelastic = 5;
21static const int ElectronCollisionTypeVirtual = 6;
23static const int ElectronCollisionTypeAcousticPhonon = 10;
24static const int ElectronCollisionTypeOpticalPhonon = 11;
25static const int ElectronCollisionTypeIntervalleyG = 12;
26static const int ElectronCollisionTypeIntervalleyF = 13;
27static const int ElectronCollisionTypeInterbandXL = 14;
28static const int ElectronCollisionTypeInterbandXG = 15;
29static const int ElectronCollisionTypeInterbandLG = 16;
30static const int ElectronCollisionTypeImpurity = 17;
32static const int PhotonCollisionTypeElastic = 0;
33static const int PhotonCollisionTypeIonisation = 1;
34static const int PhotonCollisionTypeInelastic = 2;
35static const int PhotonCollisionTypeExcitation = 3;
38static const int StatusAlive = 0;
39static const int StatusLeftDriftArea = -1;
40static const int StatusTooManySteps = -2;
41static const int StatusCalculationAbandoned = -3;
42static const int StatusLeftDriftMedium = -5;
43static const int StatusAttached = -7;
44static const int StatusSharpKink = -8;
45static const int StatusBelowTransportCut = -16;
46static const int StatusOutsideTimeWindow = -17;
47static const double Small = 1.e-20;
49static const double BoundaryDistance = 1.e-8;
53static const double Tesla2Internal = 1.e5;