lpernie/ECALpro — pull request #1 by hardenbr (2014-10-27 20:02:00+00:00)
Title: Josh Modifications for HLT Optimization

Here are the changes I remember.

- I added a flag MakeNTupleForOptimization. I ran into issues running the optimization tree builder when looking at 2012 data. Before the isMC flag served this purpose, but assumed we would only build trees for MC.

- The s4s9 values were only filled when the MVA regression was defined and caused segfaults. I now fill these regardless.

- There are a bunch of DEBUG flags from when I was sorting out the s4s9 issues

- My implementation of the HLT Isolation, but I have been unable to validate it. This should just be a starting point.

- My cuts are applied to the uncorrected values of the kinematics (as they should be to re-produce what is done at HLT). I store the uncorrected kinematic variables separately in the tree.

- I renamed all the tree variables Str2 to be consistent with the code that runs the optimization (leftover from the pizero dumper)

- I added maximum mPi0 and mEta cuts to cut down the size of the output when running the optimization