Can the headspace on a new barrel be set withot a set of go/no go gauges? if so what method?

Thanks