Difference between revisions of "Elastic"

From Hall A Wiki
Jump to: navigation, search
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
==How to replay data==
+
==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.
Different kind of replays are available,
 
*replay.C  usual replay it create a root file on /adaql3/work1/e06007/rootfiles/onlana_XXXX.root
 
  
 +
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 working 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).
  
To replay just type :
+
Contact Guido Urciuoli when something unusual appears in the spectra.
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
 

Latest revision as of 00:57, 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 working 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).

Contact Guido Urciuoli when something unusual appears in the spectra.