Write MyEventClass and use TClonesArray to book branch in root