Message: Re: Fluence rate computed from the deposited energy of the optical photons Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Fluence rate computed from the deposited energy of the optical photons 

Forum: Processes Involving Optical Photons
Re: Question Fluence rate computed from the deposited energy of the optical photons (Clément DUPONT)
Date: 04 Feb, 2015
From: C Mos <C Mos>

Hi

When I am working with my data, anytime I need to process the data or before I get to store it, I always operate with my units of interest. For example:

  G4double GammaByProductKEhighest=(*secVec).at(lp1)->GetKineticEnergy();

When processing:

  if((GammaByProductKEhighest/MeV) > 1.0 )
     {//DO_somehing since my particle is higher than 1MeV}

Similarly, when I want to print:

    G4cout << "\tEnergy=>  " << G4BestUnit(aTrack->GetKineticEnergy(),"Energy");
    G4cout << "\tEnergy=>  " << aTrack->GetKineticEnergy()/MeV << " MeV.";

I hope this helps,

C Mos

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Fluence rate computed from the deposited energy of the optical photons   (michel maire - 05 Feb, 2015)
(_ None: Re: Fluence rate computed from the deposited energy of the optical photons   (Clément DUPONT - 11 Feb, 2015)
1 None: Re: Fluence rate computed from the deposited energy of the optical photons   (C Mos - 11 Feb, 2015)
2 Warning: Re: Fluence rate computed from the deposited energy of the optical photons   (Gumplinger Peter - 11 Mar, 2015)
 Add Message Add Message
to: "Re: Fluence rate computed from the deposited energy of the optical photons"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews