#include <XrayFluoEventAction.hh>
Definition at line 54 of file XrayFluoEventAction.hh.
◆ XrayFluoEventAction() [1/3]
Definition at line 60 of file XrayFluoEventAction.cc.
XrayFluoEventActionMessenger * eventMessenger
XrayFluoVDetectorType * detectorType
XrayFluoVDetectorType * GetDetectorType() const
G4bool GetPhaseSpaceFlag() const
◆ XrayFluoEventAction() [2/3]
Definition at line 77 of file XrayFluoEventAction.cc.
XrayFluoEventActionMessenger * eventMessenger
XrayFluoVDetectorType * GetDetectorType() const
XrayFluoVDetectorType * detectorType
◆ XrayFluoEventAction() [3/3]
Definition at line 90 of file XrayFluoEventAction.cc.
XrayFluoVDetectorType * GetDetectorType() const
XrayFluoEventActionMessenger * eventMessenger
XrayFluoVDetectorType * detectorType
◆ ~XrayFluoEventAction()
XrayFluoEventAction::~XrayFluoEventAction |
( |
| ) |
|
|
virtual |
◆ BeginOfEventAction()
void XrayFluoEventAction::BeginOfEventAction |
( |
const G4Event * |
evt | ) |
|
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 111 of file XrayFluoEventAction.cc.
115 if ( eventNumber == 1){
118 G4cout <<
"1--------+---------+---------+---------+---------5e6"<<
G4endl;
121 if ( ((eventNumber) % 100000) == 0 ) {
123 if ( eventNumber % (
G4int)5e6 != 0 )
G4cout <<
"#" << std::flush;
G4int GetCollectionID(G4String colName)
G4GLOB_DLL std::ostream G4cout
static G4SDManager * GetSDMpointer()
◆ EndOfEventAction()
void XrayFluoEventAction::EndOfEventAction |
( |
const G4Event * |
evt | ) |
|
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 137 of file XrayFluoEventAction.cc.
148 G4double totEnergyDetect=0., totEnergy=0., energyD=0.;
157 for (
G4int i=0;i<n_hit;i++)
159 totEnergy += (*HPGeHC)[i]->GetEdepTot();
163 totEnergyDetect += energyD;
G4VHitsCollection * GetHC(G4int i)
virtual G4double ResponseFunction(G4double)=0
static XrayFluoAnalysisManager * getInstance()
XrayFluoVDetectorType * detectorType
G4HCofThisEvent * GetHCofThisEvent() const
void analyseEnergyDep(G4double eDep)
◆ RandomCut()
Definition at line 172 of file XrayFluoEventAction.cc.
183 if ( Random<efficiency )
185 G4double sigma = std::sqrt(F*epsilon*
energy+std::pow(deltaE/2355,2));
189 else {EdepDetect = 0.;}
ThreeVector shoot(const G4int Ap, const G4int Af)
double epsilon(double density, double temperature)
◆ SetDrawFlag()
void XrayFluoEventAction::SetDrawFlag |
( |
G4String |
val | ) |
|
|
inline |
◆ SetPrintModulo()
void XrayFluoEventAction::SetPrintModulo |
( |
G4int |
val | ) |
|
|
inline |
◆ detectorType
◆ drawFlag
◆ eventMessenger
◆ HPGeCollID
G4int XrayFluoEventAction::HPGeCollID |
|
private |
◆ printModulo
G4int XrayFluoEventAction::printModulo |
|
private |
The documentation for this class was generated from the following files: