Analysis environment
The analysis code in HZZ2l2nu
is currently coupled to the CMSSW environment, despite the fact that it does not depend on CMSSW. This is a disadvantage since a number of tools in this environment are outdated. In particular, ROOT is three years old, and Matplotlib is archaic.
I would propose that the analysis environment is set independently from the CMSSW release. LCG configurations would be a good choice. As a simple solution, we can have a script to set up the environment inside the directory, although in that case we will need to be conscious of having multiple environments in the same repository. Ideally, I would instead move the analysis code to a dedicated repository. This will also come handy for working with the full Run 2 data set: the CMSSW part will be different for different years (at least until the final re-reconstruction), but the analysis code can be common.
@npostiau, @hanwen, @lyuan, what do you think?
Please note that the same considerations apply to the statistical analysis: it's a rather independent part, and combine
requires a specific version of CMSSW.