Spin legacy run

Pull request in need of review from @martinamalberti and @musella.

The pull requests contains several updates for legacy spin analysis including a bug fix to the cosThetaDepedentIntereference which was causing a crash on exit.

There are also several commits which I had to include after pulling in @martinamalberti 's configuration for running the 7TeV.

Can you review these changes and then I can collapse the commits and we can merge?