Difference between revisions of "Mott Analysis"

From Ciswikidb
Jump to navigation Jump to search
Line 39: Line 39:
 
* ROOT provides a utility that generates a skeleton class designed to loop over the entries of the tree:
 
* ROOT provides a utility that generates a skeleton class designed to loop over the entries of the tree:
  
   root[] T->MakeClass("MyClass")
+
   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
 
   Files: MyClass.h and MyClass.C generated from Tree: T
  
 
* ''Mott Summary'' (April 2012) [[Media:Mott_Summary_April2012.pdf]] [[Media:Mott_Summary_April2012.ppt]]
 
* ''Mott Summary'' (April 2012) [[Media:Mott_Summary_April2012.pdf]] [[Media:Mott_Summary_April2012.ppt]]
 
* ''PEPPo Electron Mott Results'' (July 2013) [[Media:PEPPo_Mott_Talk.pdf]]  [[Media:PEPPo_Mott_Talk.pptx]]
 
* ''PEPPo Electron Mott Results'' (July 2013) [[Media:PEPPo_Mott_Talk.pdf]]  [[Media:PEPPo_Mott_Talk.pptx]]

Revision as of 10:52, 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

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