Merged TTHAnalysis (step 2: removing duplicated code, checking that ntuplizer works)