C++ objects for beam physics | IEEE Conference Publication | IEEE Xplore