code: def select_tmpltbank_class(curr_exe):
      
      exe_to_class_map = {
          'pycbc_geom_nonspinbank'  : PyCBCTmpltbankExecutable,
          'pycbc_aligned_stoch_bank': PyCBCTmpltbankExecutable
      }
      try:
          return exe_to_class_map[curr_exe]
      except KeyError:
          raise NotImplementedError(
              "No job class exists for executable %s, exiting" % curr_exe)
docs: This function returns a class that is appropriate for setting up
      template bank jobs within workflow.
  
      Parameters
      ----------
      curr_exe : string
          The name of the executable to be used for generating template banks.
  
      Returns
      --------
      exe_class : Sub-class of pycbc.workflow.core.Executable that holds utility
          functions appropriate for the given executable.  Instances of the class
          ('jobs') **must** have methods
          * job.create_node()
          and
          * job.get_valid_times(ifo, )