McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


McXtrace: Template_Scatter_log_losses

[ Identification | Description | Input parameters | Output parameters | Links ]

The Template_Scatter_log_losses Instrument

Example instrument of Scatter_logger feature usage for detection of lost instensity

Identification

  • Site: Templates
  • Author: Erik B Knudsen (erkn@fysik.dtu.dk)
  • Origin: DTU Fysik
  • Date: 2021

Description

This instrument is an example of how to use the Scatter_logger family of components in McXtrace.
In this example the photons deposited in a capillary mirror of a LENGTH m, are monitored by two instances of Monitor_nD
The first (mnd1) stretches the full length of the capillary and simply monitors the intensity lost in
the walls, the latter (mnd2) shows the lost intensity binned by photon energy in the last
0.1m of tube.

Also include (but commented out) is a code-snippet that would dump the lost photons to stdout

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
LENGTHmThe length of the capillary to be modelled1
verbose0

Links


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated on 2022-02-07 21:31:39


Last Modified: Wednesday, 11-May-2022 22:46:11 CEST
Search website mailinglist archive GitHub repos