Check sample at TQAnalysisAlgorithm init, not TQCut
Fix provided by @okuprash but so far only used by ssWW
Release notes
I'm not sure whether this is wanted centrally, but we needed that to make the unfolding work in the ssWW analysis.
Details
Unfolding used to crash on empty (missing CollectionTree) files at the TQCut level Now check that the sample is properly initialized already at the TQAnalysisAlgorithm level. TQCut will only through a warning, and not crash.
Edited by Cyril Pascal Becot