Better handle productions with long job names
Currently the processing_pass
is constructed to be AnaProd-$VERSION-$JOB_NAME
where. If the job uses another analysis production job as input the common prefix is stripped.
This can be made smarter to strip redundant information like the event type, magnet polarity and year which is stored elsewhere in the bookkeeping path.
lb-ap render
should also be made to check that the final processing_pass
values are going to be valid and exit with an error if not.