User:Jake Mokris: Difference between revisions
Jake Mokris (talk | contribs) No edit summary |
Jake Mokris (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
I plan on writing a set of user-friendly classes that use [http://root.cern.ch 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. | I plan on writing a set of user-friendly classes that use [http://root.cern.ch 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 Maksimovic, who taught 173.308 in 2005, provided a ROOT macro that does ''part'' of the analysis: [http://www.pha.jhu.edu/~c173_608/franck-hertz/root/Franck_Hertz.C] | 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 Maksimovic, who taught 173.308 in 2005, provided a ROOT macro that does ''part'' of the analysis: [http://www.pha.jhu.edu/~c173_608/franck-hertz/root/Franck_Hertz.C Franck_Hertz.C] | ||
FIRST WITCH | FIRST WITCH |
Revision as of 20:46, 14 February 2011
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 Maksimovic, 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.