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 *)
XrayFluoVDetectorType * GetDetectorType() const
XrayFluoEventActionMessenger * eventMessenger
virtual G4double ResponseFunction(G4double)=0
G4GLOB_DLL std::ostream G4cout
virtual ~XrayFluoEventAction()
static XrayFluoAnalysisManager * getInstance()
XrayFluoVDetectorType * detectorType
G4double RandomCut(G4double)
XrayFluoVDetectorType * GetDetectorType() const
G4double energy(const ThreeVector &p, const G4double m)
static G4SDManager * GetSDMpointer()
virtual void BeginOfEventAction(const G4Event *)
G4HCofThisEvent * GetHCofThisEvent() const
void analyseEnergyDep(G4double eDep)
virtual void EndOfEventAction(const G4Event *)
G4bool GetPhaseSpaceFlag() const
double epsilon(double density, double temperature)