Difference between revisions of "Elastic"
Line 1: | Line 1: | ||
− | ==How to | + | ==How to analyze elastic single arm data== |
Log in on any adaq computer as adaq. | Log in on any adaq computer as adaq. | ||
Type goonlana to go in the replay directory. | Type goonlana to go in the replay directory. | ||
− | + | If the file "elastic.list" is not edited type "emacs elastic.list&". A window with this file edited will appear | |
− | + | tipe "analyzer", | |
+ | when the analyzer prompt appears tipe .x "elasReplay.C" | ||
+ | analyzer will ask for a run number. Type the run number of the file you want to analyze. | ||
+ | After analyzer has finished to work type ".q" | ||
+ | Change on the edit window of the file "elastic.list" the third line. The number in this line should be equal to | ||
+ | the run number of the file you want to analyze. | ||
+ | Type "analyzer" again. | ||
+ | When the analyzer prompt appears type .x chaintrees_e06007_elastic.C("elastic.list") | ||
+ | Type then ".L Plot_elastic.C" | ||
+ | Type then the following commands: | ||
+ | "to_plot_Right_Arm_Momentum()" | ||
+ | "to_plot_Right_Arm_Phi()" | ||
+ | "to_plot_Right_Arm_Theta()" | ||
+ | "to_plot_Right_Arm_Phi_vs_Theta()" (this command should show the Sieve Slit hole pattern when you are | ||
+ | analyzing run performed with sive slit IN | ||
+ | "to_plot_Right_Arm_Y()" | ||
+ | "to_plot_Left_Arm_Momentum()" | ||
+ | to_plot_Left_Arm_Phi()" | ||
+ | "to_plot_Left_Arm_Theta()" | ||
+ | "to_plot_Left_Arm_Phi_vs_Theta()" (this command should show the Sieve Slit hole pattern when you are | ||
+ | analyzing run performed with sive slit IN | ||
+ | "to_plot_Left_Arm_Y()" | ||
+ | For each of the commands quoted above a spectrum will appear. | ||
+ | |||
+ | experienced analysis team people can change in the "Plot_elastic.C file" the range of the plots (perhaps this | ||
+ | will be useful when plotting Right and Left Arm momentum. | ||
+ | |||
+ | Advice Guido Urciuoli when something unusual appears. | ||
Revision as of 00:49, 2 March 2007
How to analyze elastic single arm data
Log in on any adaq computer as adaq. Type goonlana to go in the replay directory. If the file "elastic.list" is not edited type "emacs elastic.list&". A window with this file edited will appear tipe "analyzer", when the analyzer prompt appears tipe .x "elasReplay.C" analyzer will ask for a run number. Type the run number of the file you want to analyze. After analyzer has finished to work type ".q" Change on the edit window of the file "elastic.list" the third line. The number in this line should be equal to the run number of the file you want to analyze. Type "analyzer" again. When the analyzer prompt appears type .x chaintrees_e06007_elastic.C("elastic.list") Type then ".L Plot_elastic.C" Type then the following commands:
"to_plot_Right_Arm_Momentum()" "to_plot_Right_Arm_Phi()" "to_plot_Right_Arm_Theta()" "to_plot_Right_Arm_Phi_vs_Theta()" (this command should show the Sieve Slit hole pattern when you are
analyzing run performed with sive slit IN
"to_plot_Right_Arm_Y()" "to_plot_Left_Arm_Momentum()" to_plot_Left_Arm_Phi()" "to_plot_Left_Arm_Theta()" "to_plot_Left_Arm_Phi_vs_Theta()" (this command should show the Sieve Slit hole pattern when you are
analyzing run performed with sive slit IN
"to_plot_Left_Arm_Y()" For each of the commands quoted above a spectrum will appear.
experienced analysis team people can change in the "Plot_elastic.C file" the range of the plots (perhaps this will be useful when plotting Right and Left Arm momentum.
Advice Guido Urciuoli when something unusual appears.
To replay just type : analyzer <name of script above> and answer the questions ( run number, target type and number of events to be replayed )
To look at predefined histograms after the replay is done. Use the script online.C
- For the standard replay
- .x online.C+("detectorL",runnumber);
- .x online.C+("detectorR",runnumber);
- .x online.C+("coin",runnumber);
- For the coincidence runs