49 #include "G4HCofThisEvent.hh" 50 #include "G4VHitsCollection.hh" 115 if ( eventNumber == 1){
118 G4cout <<
"1--------+---------+---------+---------+---------5e6"<<
G4endl;
121 if ( ((eventNumber) % 100000) == 0 ) {
123 if ( eventNumber % (
G4int)5e6 != 0 )
G4cout <<
"#" << std::flush;
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;
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)
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
XrayFluoVDetectorType * GetDetectorType() const
XrayFluoEventAction(const XrayFluoDetectorConstruction *)
XrayFluoEventActionMessenger * eventMessenger
virtual G4double ResponseFunction(G4double)=0
G4GLOB_DLL std::ostream G4cout
virtual ~XrayFluoEventAction()
static XrayFluoAnalysisManager * getInstance()
XrayFluoVDetectorType * GetDetectorType() const
XrayFluoVDetectorType * detectorType
G4double RandomCut(G4double)
static G4SDManager * GetSDMpointer()
G4HCofThisEvent * GetHCofThisEvent() const
virtual void BeginOfEventAction(const G4Event *)
XrayFluoVDetectorType * GetDetectorType() const
void analyseEnergyDep(G4double eDep)
virtual void EndOfEventAction(const G4Event *)
double epsilon(double density, double temperature)
G4bool GetPhaseSpaceFlag() const