Warning, file /geant4/examples/advanced/CaTS/include/RadiatorSD.hh was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044 #pragma once
0045
0046 #include "G4VSensitiveDetector.hh"
0047 #include "G4ScintillationTrackInformation.hh"
0048 #include <G4MaterialPropertyVector.hh>
0049 #include <G4String.hh>
0050 #include <G4Types.hh>
0051 class G4Step;
0052 class G4Material;
0053 class G4HCofThisEvent;
0054 class G4MaterialPropertiesTable;
0055 class G4PhysicsOrderedFreeVector;
0056 class G4PhysicsTable;
0057 class G4TouchableHistory;
0058
0059 class RadiatorSD : public G4VSensitiveDetector
0060 {
0061 public:
0062 RadiatorSD(G4String name);
0063 virtual ~RadiatorSD() = default;
0064
0065 void Initialize(G4HCofThisEvent* hitCollection) final;
0066 G4bool ProcessHits(G4Step* step, G4TouchableHistory* history) final;
0067 void EndOfEvent(G4HCofThisEvent* hitCollection) final;
0068
0069 private:
0070 const G4Material* aMaterial;
0071 G4MaterialPropertiesTable* aMaterialPropertiesTable;
0072
0073
0074
0075 G4MaterialPropertyVector* Fast_Intensity;
0076 G4MaterialPropertyVector* Slow_Intensity;
0077 G4double YieldRatio;
0078 G4double FastTimeConstant;
0079 G4double SlowTimeConstant;
0080 G4ScintillationType ScintillationType;
0081
0082
0083
0084 G4MaterialPropertyVector* Rindex;
0085 G4PhysicsOrderedFreeVector* CerenkovAngleIntegrals;
0086 const G4PhysicsTable* thePhysicsTable;
0087 G4double Pmin{ 0 };
0088 G4double Pmax{ 0 };
0089 G4double dp{ 0 };
0090 G4double nMax{ 0 };
0091 G4bool first{ true };
0092 G4bool verbose{ false };
0093 G4int tCphotons{ 0 };
0094 G4int tSphotons{ 0 };
0095 #ifdef WITH_G4OPTICKS
0096
0097
0098
0099 G4double maxCos{ 0.0 };
0100 G4double maxSin2{ 0.0 };
0101 G4double beta{ 0.0 };
0102 G4double beta1{ 0.0 };
0103 G4double beta2{ 0.0 };
0104 G4double BetaInverse{ 0.0 };
0105 G4double MeanNumberOfPhotons1{ 0.0 };
0106 G4double MeanNumberOfPhotons2{ 0.0 };
0107 G4int Sphotons{ 0 };
0108 G4int Cphotons{ 0 };
0109 const G4double ScintillationTime{ 0.0 };
0110 const G4int scntId{ 1 };
0111 #endif
0112 };