Add the lumiBlock number as a variable.
Replace JECTree with JRANtuple. Add the lumiBlock number as a variable. Add additional errors, warnings, and comments.