Difference between revisions of "Mott Analysis"

From Ciswikidb
Jump to navigation Jump to search
Line 54: Line 54:
  
 
==Silo and Farm==
 
==Silo and Farm==
* Group Area
 
Unix application area (non data): /group/positron
 
  
* Silo
+
* From '''jlabl2'', do: '''ssh ifarm''' to access ifarm1101, the interactive front end for the CentOS 6.2 farm.
Log in to ifarml64.jlab.org
 
  
Stub files are located: /mss/accel/peppo/raw
+
* MSS: The archive location of the Stub files is: /mss/accel/peppo/raw
 +
Old file before the experiment:  /mss/accel/positron/PEPPo or /mss/accel/positron/mott
  
Use Jasmine utilities to access files [http://scicomp.jlab.org read more]
+
* To get files from MSS:
  
The corresponding cache area: /cache/mss/accel/peppo/raw
+
  jget /mss/accel/peppo/raw/Mott_Sample_7231.dat.0
 +
  The file will be copied from tape to the cache area: /cache/mss/accel/peppo/raw
  
* Farm
+
* Work Disk: /work/accel/peppo
Use Auger utilities to access farm [http://scicomp.jlab.org read more]
 
  
Must be member of Unix group: "positron"
+
* Scratch Disk: /scratch
 
 
Use project code: "positron"
 
 
 
Root is installed:  /apps/root/
 
 
 
* Work Disk (Dedicated)
 
Self managed work 1TB area: /work/accel/peppo
 
 
 
* Volatile Disk (Scratch)
 
Auto managed volatile 1TB area: /volatile/accel/peppo
 
 
 
Reservation = 0.5TB (space between 0.5-1.0TB may be auto-deleted)
 
 
 
 
 
 
 
PEPPo production data is on the silo here: /mss/accel/peppo/raw
 
 
 
Old file before the experiment:  /mss/accel/positron/PEPPo or /mss/accel/positron/mott
 
 
 
When from silo are moved here automatically:  /cache/mss/accel/peppo
 
 
 
Action Item
 
 
 
1. Ask Anthony Cuffe to move opsmdaq1 files to opsmdaq0 before opsmdaq1 is removed
 

Revision as of 11:20, 7 January 2014

Data Files

 CODA writes the data to this disk: /data/mott


Analyze a run

 In the directory: /work/idaq/Mott/Analysis/decoder/
 Type: decode.pl RunNumber


Analysis Macros

Simple commands to plot data:
root [1] T->Draw("FADC_CH1:Iteration$","","*l",10,100)
root [2] T->Draw("S1m_CH4:Entry$","","*l",100,1000)
root [3] T->Draw("TDC18-TDC17")

There are several macros to be used for the analysis. All are in opsmdaq1 in the directory:

 /work/idaq/Mott/Analysis/macro/
To plot the Mott FADC Pedestals:
[102] idaq@opsmdaq1 > root
root [0] .L FADC_Ped.C
root [1] FADC_Ped t
Enter Run Number: 
7154
root [2] t.Loop()
To calculate Mott Asymmetries:
[102] idaq@opsmdaq1 > root
root [0]  .L MottAsym.C
root [1]  MottAsym t
Enter Run Number: 
7154
root [2] t.Loop()


Analysis Help

  • ROOT provides a utility that generates a skeleton class designed to loop over the entries of the tree:
 root [0] TFile *f = new TFile("Mott_Sample_7231_0.root");
 root [1] T->MakeClass("MyClass")
 Files: MyClass.h and MyClass.C generated from Tree: T


Silo and Farm

  • From jlabl2, do: ssh ifarm' to access ifarm1101, the interactive front end for the CentOS 6.2 farm.
  • MSS: The archive location of the Stub files is: /mss/accel/peppo/raw
Old file before the experiment:  /mss/accel/positron/PEPPo or /mss/accel/positron/mott
  • To get files from MSS:
 jget /mss/accel/peppo/raw/Mott_Sample_7231.dat.0
 The file will be copied from tape to the cache area: /cache/mss/accel/peppo/raw
  • Work Disk: /work/accel/peppo
  • Scratch Disk: /scratch