LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar::EnsureOnlyOneSchedule< T > Class Template Reference

#include "EnsureOnlyOneSchedule.h"

Public Member Functions

 EnsureOnlyOneSchedule ()
 

Detailed Description

template<typename T>
class lar::EnsureOnlyOneSchedule< T >

Definition at line 26 of file EnsureOnlyOneSchedule.h.

Constructor & Destructor Documentation

template<typename T>
lar::EnsureOnlyOneSchedule< T >::EnsureOnlyOneSchedule ( )
inline

Definition at line 28 of file EnsureOnlyOneSchedule.h.

29  {
30  if (auto const nschedules = art::Globals::instance()->nschedules(); nschedules > 1) {
32  << "This job uses " << nschedules << " schedules, but the type '"
33  << cet::demangle_symbol(typeid(T).name()) << " supports\n"
34  << "processing only one event at a time. Please reconfigure your job to use only one "
35  "schedule.\n";
36  }
37  }
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66
static Globals * instance()
Definition: Globals.cc:17

The documentation for this class was generated from the following file: