finished GRIFFIN state machine for choosing subdetector deployment