attpcdaq.daq.models.Experiment.start_run

Experiment.start_run()[source]

Creates and saves a new RunMetadata object with the next run number for the experiment.

The start_datetime field of the created RunMetadata instance is set to the current date and time.

Raises:RuntimeError – If there is already a run that has started but not stopped.