add NEvents histogram for counting processed events. some additional fine tuning on the gen particles being saved. added back motherindex variable.