#include <Doxymodules_biasing.h>
Definition at line 178 of file Doxymodules_biasing.h.
◆ RMC01SD()
Definition at line 65 of file RMC01SD.cc.
70{
71 collectionName.insert("edep");
72 collectionName.insert("current_electron");
73 collectionName.insert("current_proton");
74 collectionName.insert("current_gamma");
75}
RMC01DoubleWithWeightHitsCollection * fProtonCurrentCollection
RMC01DoubleWithWeightHitsCollection * fElectronCurrentCollection
RMC01DoubleWithWeightHitsCollection * fEventEdepCollection
RMC01DoubleWithWeightHitsCollection * fGammaCurrentCollection
◆ ~RMC01SD()
◆ Initialize()
Definition at line 85 of file RMC01SD.cc.
86{
88 static G4int HCID = -1;
89
91 (SensitiveDetectorName,collectionName[0]);
92 HCID = GetCollectionID(0);
94
96 (SensitiveDetectorName,collectionName[1]);
97 HCID = GetCollectionID(1);
99
101 (SensitiveDetectorName,collectionName[2]);
102 HCID = GetCollectionID(2);
104
106 (SensitiveDetectorName,collectionName[3]);
107 HCID = GetCollectionID(3);
109}
◆ ProcessHits()
Definition at line 113 of file RMC01SD.cc.
114{
115 G4double weight =aStep->GetTrack()->GetWeight();
116 G4double edep= aStep->GetTotalEnergyDeposit();
119
120 G4StepPoint* preStepPoint =aStep->GetPreStepPoint();
121
122 if (preStepPoint->GetStepStatus() == fGeomBoundary ){
123
124 weight=preStepPoint->GetWeight();
125 G4double eKin = preStepPoint->GetKineticEnergy();
133 }
134 return true;
135}
◆ EndOfEvent()
◆ Clear()
◆ DrawAll()
void RMC01SD::DrawAll |
( |
| ) |
|
|
virtual |
◆ PrintAll()
void RMC01SD::PrintAll |
( |
| ) |
|
|
virtual |
◆ fTotalEventEdep
G4double RMC01SD::fTotalEventEdep |
|
private |
◆ fEventEdepCollection
◆ fProtonCurrentCollection
◆ fGammaCurrentCollection
◆ fElectronCurrentCollection
The documentation for this class was generated from the following files: