Difference between revisions of "TF SPIM Intro"
Line 374: | Line 374: | ||
Since Energy is conserved (Elastic Scattering), we may define the Hamiltonian as | Since Energy is conserved (Elastic Scattering), we may define the Hamiltonian as | ||
− | <math>H = T + U = \frac{1}{2} (mu \dot{r}^2 + \frac{\ell}{\mu r^2}) + U(r) = constant \equiv E</math> | + | <math>H = T + U = \frac{1}{2} (\mu \dot{r}^2 + \frac{\ell}{\mu r^2}) + U(r) = constant \equiv E</math> |
solving for <math>\dot{r}</math> | solving for <math>\dot{r}</math> |
Revision as of 16:40, 26 September 2013
Introduction
Experimentalists use simulations to predict the sources of background which will interfere with the signal they plan on measuring. An important aspect of this process is to understand how signals are produced in your measurement device. Devices share the common problem of isolating a signal produced in the device from the noise that is present in the device.
Below is a description of how signals are produced in bulk materials.
Particle Detection
A device detects a particle only after the particle transfers energy to the device.
Energy intrinsic to a device depends on the material used in a device
Consider a device made of some material with an average atomic number (
) at some temperature ( ). The material's atoms are in constant thermal motion (unless you can manage to have T = zero degrees Klevin).Statistical Thermodynamics tells us that the canonical energy distribution of the atoms is given by the Maxwell-Boltzmann statistics such that
represents the probability of any atom in the system having an energy where
Note: You may be more familiar with the Maxwell-Boltzmann distribution in the form
where
would represent the molecules in the gas sample with speeds between andExample 1: P(E=5 eV)
- What is the probability that an atom in a 12.011 gram block of carbon would have an energy of 5 eV?
First lets check that the probability distribution is Normalized; ie: does
?
is calculated by integrating P(E) over some energy interval ( ie: ). I will arbitrarily choose 4.9 eV to 5.1 eV as a starting point.
assuming a room temperature of
then
and
or in other words the precise mathematical calculation of the probability may be approximated by just using the distribution function alone
This approximation breaks down as
Since we have 12.011 grams of carbon and 1 mole of carbon = 12.011 g =
carbon atomsWe do not expect to see a 5 eV carbon atom in a sample size of
carbon atoms when the probability of observing such an atom is . Note: The mass of the earth is about g atoms, so a detector the size of the earth would also have a very small probability of having a carbon atom with an energy of 5 eV.The energy we expect to see would be calculated by
If you used this block of carbon as a detector you would easily notice an event in which a carbon atom absorbed 5 eV of energy as compared to the energy of a typical atom in the carbon block.
- Silicon detectors and Ionization chambers are two commonly used devices for detecting radiation.
approximately 1 eV of energy is all that you need to create an electron-ion pair in Silicon
approximately 10 eV of energy is needed to ionize an atom in a gas chamber
The low probability of having an atom with 10 eV of energy means that an ionization chamber would have a better Signal to Noise ratio (SNR) for detecting 10 eV radiation than a silicon detector
But if you cool the silicon detector to 200 degrees Kelvin (200 K) then
So cooling your detector will slow the atoms down making it more noticable when one of the atoms absorbs energy.
also, if the radiation flux is large, more electron-hole pairs are created and you get a more noticeable signal.
Unfortunately, with some detectore, like silicon, you can cause radiation damage that diminishes it's quantum efficiency for absorbing energy.
- What does this have to do with Simulations?
- You just did a SImulation. Consider the following description of the Monte Carlo Method
The Monte Carlo method
- Stochastic
- from the greek word "stachos"
- a means of, relating to, or characterized by conjecture and randomness.
A stochastic process is one whose behavior is non-deterministic in that the next state of the process is partially determined.
The above particle detector was an example of describing a stochastic process using a probability distribution to determine the likely hood of finding an atom with a certain energy.
Quantun Mechanics is perhaps the best example such a non-deterministic systems. The canonical systems in Thermodynamics is another example.
Basically the monte-carlo method uses a random number generator (RNG) to generate a distribution (gaussian, uniform, Poission,...) which is used to solve a stochastic process based on an astochastic description.
Example 2 Calculation of
- Astochastic description
- may be measured as the ratio of the area of a circle of radius divided by the area of a square of length
You can measure the value of
if you physically measure the above ratios.- Stochastic description
- Construct a dart board representing the above geometry, throw several darts at it, and look at a ratio of the number of darts in the circle to the total number of darts thrown (assuming you always hit the dart board).
- Monte-Carlo Method
- Here is an outline of a program to calulate using the Monte-Carlo method with the above Stochastic description
begin loop x=rnd y=rnd dist=sqrt(x*x+y*y) if dist <= 1.0 then numbCircHits+=1.0 numbSquareHist += 1.0 end loop print PI = 4*numbCircHits/numbSquareHits
A Unix Primer
To get our feet wet using the UNIX operating system, we will try to solve example 2 above using a RNG under UNIX
List of important Commands
- ls
- pwd
- cd
- df
- ssh
- scp
- mkdir
- printenv
- emacs, vi, vim
- make, gcc
- man
- less
- rm
Most of the commands executed within a shell under UNIX have command line arguments (switches) which tell the command to print information about using the command to the screen. The common forms of these switches are "-h", "--h", or "--help"
ls --help ssh -h
the switch deponds on your flavor of UNIX
if using the switch doesn't help you can try the "man" (sort for manual) pages (if they were installed). Try
man -k pwd
the above command will search the manual for the key word "pwd"
Example 3: using UNIX to compile a RNG
Step
- login to aztec.
click here for a description of logging in if using windows - mkdir src
- cd src
- cp -R ~tforest/NucSim/Day1 ./
- ls
- cd Day1
- make
- ./rndtest
Here is a web link to the source files you can copy in case the above doesn't work
A Root Primer
In bash shell do
export ROOTSYS=~tforest/src/ROOT/root
if chsh do
setenv ROOTSYS ~tforest/src/ROOT/root
To start the root program type
$ROOTSYS/bin/root
Example 1: Create Ntuple and Draw Histogram
Cross Sections
Definitions
- Total cross section
- Differential cross section
- =
- Solid Angle
- = surface area of a sphere covered by the detector
- ie;the detectors area projected onto the surface of a sphere
- A= surface area of detector
- r=distance from interaction point to detector
- steradians
- if your detector was a hollow ball
- steradians
- Units
- Cross-sections have the units of Area
- 1 barn =
- [units of ] =
- Luminosity
- Fixed target scattering
- is the area of the ring of incident particles
= # of particles in =
- = # particles in a ring of radius and thickness
You can measure
if you measure the # of particles detected in a known detector solid angle from a known incident particle Flux ( ) as
Alternatively if you have a theory which tells you
which you want to test experimentally with a beam of flux then you would measure counts (particles)
- Units
- = # of particles
- or for a count rate divide both sides by time and you get beam current on the RHS
- integrate and you have the total number of counts
- Classical Scattering
- In classical scattering you get the same number of particles out that you put in (no capture, conversion,..)
- tells you how the impact parameter changes with scattering angle
Example 4: Elastic Scattering
This example is an example of classical scattering.
Our goal is to find
for an elastic collision of 2 impenetrable spheres of diameter . We need to look for a relationship between the impact parameter and the scattering angle . To find this relationship, let's solve this elastic scattering problem by describing the collision using the Center of Mass (C.M.) coordinate system in terms of the reduced mass. As we shall see, by using C.M. coordinate system the 2-body collision becomes a 1-body problem. Then we will describe the motion of the reduced mass in the C.M. Frame.Media:SPIM_ElasCollis_Lab_CM_Frame.xfig.txt
- Variable definitions
- = impact parameter ; distance of closest approach
- = mass of incoming ball
- = mass of target ball
- = iniital velocity of incoming ball in Lab Frame
- = final velocity of in Lab Frame
- = scattering angle of in Lab frame after collision
- = iniital velocity of in C.M. Frame
- = final velocity of in C.M. Frame
- = iniital velocity of in C.M. Frame
- = final velocity of in C.M. Frame
- = scattering angle of in C.M. frame after collision
- Determining the reduced mass
- vector definitions
- = a position vector pointing to the location of
- = a position vector pointing to the location of
- = a position vector pointing to the center of mass of the two ball system
- = the magnitude of this vector is the distance between the two masses
In the C.M. reference frame the above vectors have the following relationships
solving the above equations for
and and defining the reduced mass as- reduced mass
leads to
We can use the above reduced mass relationships to construct the Lagrangian in terms of
instead of and thereby reducing the problem from a 2-body problem to a 1-body problem.- Construct the Lagrangian
The Lagrangian is defined as:
where
kinetic energy of the system
Potential energy of the system which describes the interaction
- =
- =
after substituting derivative of the expressions for
and- =
The 2-body problem is now described by a 1-body Lagrangian we need to determine which coordinate system (cartesian, spherical,..) to use to write an expression for (
). Polar seems best unless there is a dependence in the azimuthal angle.Lagranges equations of motion are given by
where
represents one of the coordinate (cannonical variables).To get the classical scattering cross section we are interested in finding an expression for the dependence of the impact parameter on the scattering angle,
.Now lets redraw the collision in terms of a reference frame fixed on
(before collision its the Lab Frame but not after collision).Media:SPIM_ElasColls_CMFrame_xfig.txt
The C.M. Frame rides along the center of mass, the above coordinate system though has its origin on
. The above drawing identifies and for the system at the point of the collision in which the CM frame is a distance (the size of the ball) from the origin of the coordinate system fixed to . If then there is no collision ( ), otherwise a collision happens when r=a (the distance between the balls is equal to their diameter). A head on collision is defined as ( ).- Observation
- as gets smaller, gets bigger
Using plane polar coordinates (
) we can describe the problem in the lab frame as:
Lagranges Equation of Motion:
there is a constant of motion ( Constant angular momentum)
substitute
into
The two equations above are in terms of
and whereas our goal is to find an expression for . Since is related to and is related to ( ; see figure above) we should try and find expressions for in terms of- Trick
- or
We now need an expression for
in order to integrate the above equation to determine the functional dependence of and hence .Since Energy is conserved (Elastic Scattering), we may define the Hamiltonian as
solving for
substituting the above into the equation for
and integrating:
For
:
substituting this expression for
into the last expression for above :
- Integral Table
let
then
or
- Now substitute the above into the expression for
drop the negative sign, sqrt in denominator allows this, and use the trig identity
- compare with result from definition
- = scattering cross-section
- number of particles scattered = number of incident particles
- Area = = The area profile in which a collision occurs( the ball diameter is )
Lab Frame Cross Sections
The C.M. frame is often chosen to theoretically calculate cross-sections even though experiments are conducted in the Lab frame. In such cases you will need to transform cross-sections between two frames.
The total cross-section should be frame independent
or
where
is in the CM frame and is in the Lab frame.
- A non-relativistic transformation
The transformation is governed by the dependence of
onLets return back to our picture of the scattering Process
if we superimpose the vectors
and we haveTrig identities (non-relativistic Gallilean transformation) tell us
solving for
For an elastic collision only the directions change in the CM Frame:
&- From the definition of the C.M.
- conservation of momentum in CM Frame
- Gallilean Coordinate transformation
- another expression for
using the above gallilean transformation we can do the following
or
after a little trig substitution
constant
now use the chain rule to find
- constant
after substitution:
For the above equation to be more useful one would prefer to recast it in terms of only
and masses.