makes flat ntuples from miniaod or miniaodsim using crab3