ef METHOD_NAME(self):
  """Create new units if required given the inputdata"""
  # call parent for chaining
  super(ND280Transform_CSVEvtList,self).METHOD_NAME()
  # Look at the application schema and check if there is a csvfile variable
  try:
    csvfile = self.application.csvfile
  except AttributeError:
    logger.error('This application doesn\'t contain a csvfile variable. Use another Transform !')
    return
  subsets = splitCSVFile(self.application.csvfile, self.nbevents)
  for s,sub in enumerate(subsets):
    # check if this data is being run over by checking all the names listed
    ok = False
    for unit in self.units:
      if unit.subpartid == s:
        ok = True
    if ok:
      continue
    # new unit required for this dataset
    unit = ND280Unit_CSVEvtList()
    unit.name = "Unit %d" % len(self.units)
    unit.subpartid = s
    unit.eventswanted = sub
    unit.inputdata = self.inputdata[0]
    self.addUnitToTRF( unit )