User:Jake Mokris
I plan on writing a set of user-friendly classes that use ROOT to conduct the data analysis required in the experiments. Links to the macros are forthcoming... for now, here's the base program: media: bla.txt. Obviously you'll want to change the extension to .C; apparently the Wiki doesn't let us upload .C files. I'm teaching myself C++ as I do this, so I imagine my program could be written a bit better. I'll try to comment as much as I can so that what the program is doing makes sense.
So I'm doing the Franck-Hertz experiment this week; I'm sort of struggling with a program to subtract the background and fit all the peaks. Prof. Petar Maksimovi<math>\text{\'{c}}</math>, who taught 173.308 in 2005, provided a ROOT macro that does part of the analysis: Franck_Hertz.C
FIRST WITCH
When shall we three meet again In thunder, lightning, or in rain?
LADY MACBETH
O, never Shall sun that morrow see! Your face, my thane, is as a book where men May read strange matters.
MACBETH
Who can be wise, amazed, temperate and furious, Loyal and neutral, in a moment?
MACBETH
How now, you secret, black, and midnight hags! What is't you do?
ALL
A deed without a name.
MACBETH
Thou comest to use thy tongue; thy story quickly.
MESSENGER
Gracious my lord, I should report that which I say I saw, But know not how to do it.