Message: Energy range question Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Energy range question 

Forum: Particles
Date: 02 Dec, 2005
From: andreas battaglia <andreas.battaglia@roma1.infn.it>

Hallo, 
I have a short question about how the code reads the energy range.

For example suppose you have to define a scintillation range, such as:

const G4int nEntriesScint = 12;
  G4double PhotonEnergyScint[nEntriesScint] =
    {  
      3.44*eV, 3.26*eV, 3.1*eV, 3.02*eV, 2.95*eV, 2.92*eV, 
      2.82*eV, 2.76*eV, 2.7*eV, 2.58*eV, 2.38*eV, 2.08*eV       
    };
  G4double ScintilFast[nEntriesScint] =
    {    
      0.04, 0.07, 0.20, 0.49, 0.84, 1.00, 
      0.83, 0.55, 0.40, 0.17, 0.03, 0.00 
    };


How does the code read the extreme points?: 

 - for Energy >= 3.44*eV ---> Scintillation probability = 0.04
   for Energy <= 2.08*eV ---> Scintillation probability = 0.00

 - for Energy = 3.44*eV ---> Scintillation probability = 0.04
   for Energy = 2.08*eV ---> Scintillation probability = 0.00
   for Energy > 3.44*eV && for Energy < 2.08*eV ---> Scintillation probability not defined

In the latter case how does the code work? The scintillation is not activated at all or what?
And are the extreme points interpreted in the same way by all the physical modules or not?: 
for example the scintillation and the cerenkov processes consider the end points in the same way?

Thanks a lot

Andreas Battaglia

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

1 Feedback: Re: Energy range question   (Peter Gumplinger - 02 Dec, 2005)
 Add Message Add Message
to: "Energy range question"

 Subscribe Subscribe

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


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]