Warning, file /geant4/examples/advanced/CaTS/include/lArTPCSD.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 "lArTPCHit.hh"
0047 #include "G4VSensitiveDetector.hh"
0048 #include "G4ScintillationTrackInformation.hh"
0049 #include <G4MaterialPropertyVector.hh>
0050 #include <G4String.hh>
0051 #include <G4Types.hh>
0052 class G4Material;
0053 class G4PhysicsTable;
0054 class G4TouchableHistory;
0055 class G4Step;
0056 class G4HCofThisEvent;
0057 class G4MaterialPropertiesTable;
0058 class G4PhysicsOrderedFreeVector;
0059
0060 class lArTPCSD : public G4VSensitiveDetector
0061 {
0062 public:
0063 lArTPCSD(G4String name);
0064 virtual ~lArTPCSD() = default;
0065 void Initialize(G4HCofThisEvent* hitCollection) final;
0066 G4bool ProcessHits(G4Step* step, G4TouchableHistory* history) final;
0067 void EndOfEvent(G4HCofThisEvent* hitCollection) final;
0068
0069 private:
0070 G4int materialIndex;
0071 const G4Material* aMaterial;
0072 G4MaterialPropertiesTable* aMaterialPropertiesTable;
0073
0074
0075
0076 G4MaterialPropertyVector* Fast_Intensity{ nullptr };
0077 G4MaterialPropertyVector* Slow_Intensity{ nullptr };
0078 G4double YieldRatio{ 0 };
0079 G4double FastTimeConstant{ 0 };
0080 G4double SlowTimeConstant{ 0 };
0081 G4ScintillationType ScintillationType;
0082
0083
0084
0085 G4MaterialPropertyVector* Rindex{ nullptr };
0086 G4PhysicsOrderedFreeVector* CerenkovAngleIntegrals{ nullptr };
0087 const G4PhysicsTable* thePhysicsTable{ 0 };
0088 G4double Pmin{ 0 };
0089 G4double Pmax{ 0 };
0090 G4double dp{ 0 };
0091 G4double nMax{ 0 };
0092 G4bool first{ false };
0093 G4bool verbose{ false };
0094 G4int tCphotons{ 0 };
0095 G4int tSphotons{ 0 };
0096 G4double NumElectrons(G4double e, G4double ds);
0097 lArTPCHitsCollection* flArTPCHitsCollection{ nullptr };
0098 G4int fHCID{ 0 };
0099 };