added friend class to use method for jet analysis