Project

General

Profile

Neat Tricks w/ SAM for Users

This is a collection of neat tricks that you can do with the SAM for user utilities.

Feel free to add more tricks or tips as you find them

Adding Histograms

So you have 10,000+ root files with histogram in them and you really just want to "hadd" them down to something more reasonable (like a single file).

Do the following:
1. Declare your 10,000+ root files with sam_add_dataset
2. Run this script:



...
3. Profit