AnalysisTask base class for multi event analysis (mixing).