The “Adding Your Class to ROOT: ClassDef” web page contains a bit not-up-to-date informations. See:
See also: ROOT User’s Guide → Adding a Class