Message: Re: Fluorescence lines missing Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Fluorescence lines missing 

Forum: Physics List
Re: Question Fluorescence lines missing (Marco)
Date: 26 Nov, 2010
From: Manuel Castro Avila <Manuel Castro Avila>

Hi Marco,

I had the same problem to get the fluorescence lines. so, I Used the physic model:

    if (particleName == "gamma") {
      // gamma   

        G4PhotoElectricEffect* thePhotoElectricEffect = new G4PhotoElectricEffect();
      G4LivermorePhotoElectricModel* theLivermorePhotoElectricModel = new G4LivermorePhotoElectricModel();

      theLivermorePhotoElectricModel->ActivateAuger(true);
      theLivermorePhotoElectricModel->SetCutForLowEnSecPhotons(0.010*keV);
      theLivermorePhotoElectricModel->SetCutForLowEnSecElectrons(0.010*keV);

      thePhotoElectricEffect->SetModel( theLivermorePhotoElectricModel);
      pmanager->AddDiscreteProcess(thePhotoElectricEffect);

        G4ComptonScattering* theComptonScattering = new G4ComptonScattering();
      G4LivermoreComptonModel* theLivermoreComptonModel = new G4LivermoreComptonModel();
      //theComptonScattering->AddEmModel(0, theLivermoreComptonModel);
      theComptonScattering->SetModel(theLivermoreComptonModel);
      pmanager->AddDiscreteProcess(theComptonScattering);

      G4GammaConversion* theGammaConversion = new G4GammaConversion();
      G4LivermoreGammaConversionModel* theLivermoreGammaConversionModel = new G4LivermoreGammaConversionModel();
      //theGammaConversion->AddEmModel(0, theLivermoreGammaConversionModel);
      theGammaConversion->SetModel(theLivermoreGammaConversionModel);
      pmanager->AddDiscreteProcess(theGammaConversion);

      G4RayleighScattering* theRayleigh = new G4RayleighScattering();
      G4LivermoreRayleighModel* theRayleighModel = new G4LivermoreRayleighModel();
      //theRayleigh->AddEmModel(0, theRayleighModel);
      theRayleigh->SetModel(theRayleighModel);
      pmanager->AddDiscreteProcess(theRayleigh);
}

and worked I got the lines. I used the CutOff of the 1.*um for each particle (gamma,e-,e+).

I hope this work.

Manuel

 Add Message Add Message
to: "Re: Fluorescence lines missing"

 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 ]