Difference between revisions of "FSRoot"

From GlueXWiki
Jump to: navigation, search
Line 7: Line 7:
 
(1) Use FlattenForFSRoot ([https://github.com/JeffersonLab/hd_utilities/tree/master/FlattenForFSRoot/flatten.cc hd_utilities/FlattenForFSRoot/flatten]) to generate flat trees from the standard analysis trees.   
 
(1) Use FlattenForFSRoot ([https://github.com/JeffersonLab/hd_utilities/tree/master/FlattenForFSRoot/flatten.cc hd_utilities/FlattenForFSRoot/flatten]) to generate flat trees from the standard analysis trees.   
  
>  flatten -i [input analysis file name] -o [output FSRoot file name]
+
>  flatten -in [input analysis file name] -out [output FSRoot file name]
  
 
Run flatten with no flags to see further run options.  This should work for data, reconstructed MC, and thrown MC.   
 
Run flatten with no flags to see further run options.  This should work for data, reconstructed MC, and thrown MC.   

Revision as of 19:21, 9 December 2021

FSRoot is an alternative to DSelectors that uses flat trees.


There are two steps:


(1) Use FlattenForFSRoot (hd_utilities/FlattenForFSRoot/flatten) to generate flat trees from the standard analysis trees.

> flatten -in [input analysis file name] -out [output FSRoot file name]

Run flatten with no flags to see further run options. This should work for data, reconstructed MC, and thrown MC.

See the FlattenForFSRoot/Documentation directory for more information.


(2) Use FSRoot (available at https://github.com/remitche66/FSRoot) to make histograms from the flat trees.

See the FSRoot/Documentation directory for documentation.