small refactor
avoid implicit casts
added PidClustering, small refactor
adapted to DNGF model
migrated from dnet40