std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
then usage $script< input file >[option[primary[working directory]]] nWhere option can be N