This sounds like a job for my lathe.

Maybe I should make a set up for use by SOHC4 members?
Another method: requires
straight forks...this is the "shade tree mechanic's" method...
Put the bike on the sidestand, but with shims under the stand until the bike is nearly vertical (or, find another way to make it stand vertical on its tires, like a rope to the rafters). Then, using two heavy, 2" tick (or so) wood blocks with a long nail in each one, and a long string, set the blocks-and-strings so the string touches both the front and rear of the rear ties, as high as possible, and also passes close to the front tire, similarly. The front is narrower than the rear, so a small gap between the string and the front tire should appear, on both sides. Now, align the rear wheel to get this relationship equal on both sides of the front wheel (or, add a second string and wood block set for the opposite side to speed things along). When the string(s) touch both sies of the rear tire, neither side of the front tire, and the gaps on both sides of the front tire are equal, check the rear axle's alignment marks. If the left-to-right difference is more than 1/8 of one mark, the frame is twisted between the swingarm pivot and the steering head.
Production tolerance was 1/8 of one mark for a "straight" frame. Very few were truly straight. (My K2 is 1/3 mark off, due to a wreck in 1972).
Following BryanJ's advice: it is possible to "untwist" these frames by inserting a large, strong, hollow tube (hollow is stronger than solid rod) into the steering head and clamping the frame thru the swingarm pivot mounting bolts, then twisting with a hydraulic ram. It's been done to racing frames I've seen: just not observed on CB750 (by me, anyway). It's often done on chopper frames (this part is missing on Orange County Chopper shows...) to ensure the final result is straight.