SCISOFT NCD: SCI-1562 more robust calculation of sector profile shape
and minor refactoring
SCISOFT NCD: SCI-1562 fix pipeline actor order