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;
22static const int ElectronCollisionTypeAcousticPhonon = 10;
23static const int ElectronCollisionTypeOpticalPhonon = 11;
24static const int ElectronCollisionTypeIntervalleyG = 12;
25static const int ElectronCollisionTypeIntervalleyF = 13;
26static const int ElectronCollisionTypeInterbandXL = 14;
27static const int ElectronCollisionTypeInterbandXG = 15;
28static const int ElectronCollisionTypeInterbandLG = 16;
29static const int ElectronCollisionTypeImpurity = 17;
31static const int PhotonCollisionTypeElastic = 0;
32static const int PhotonCollisionTypeIonisation = 1;
33static const int PhotonCollisionTypeInelastic = 2;
34static const int PhotonCollisionTypeExcitation = 3;
37static const int StatusAlive = 0;
38static const int StatusLeftDriftArea = -1;
39static const int StatusTooManySteps = -2;
40static const int StatusCalculationAbandoned = -3;
41static const int StatusLeftDriftMedium = -5;
42static const int StatusAttached = -7;
43static const int StatusSharpKink = -8;
44static const int StatusBelowTransportCut = -16;
45static const int StatusOutsideTimeWindow = -17;
46static const double Small = 1.e-20;
48static const double BoundaryDistance = 1.e-8;
52static const double Tesla2Internal = 1.e5;