All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
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) {
31  throw art::Exception{art::errors::Configuration}
32  << "This job uses " << nschedules << " schedules, but the type '" << cet::demangle_symbol(typeid(T).name()) << " supports\n"
33  << "processing only one event at a time. Please reconfigure your job to use only one schedule.\n";
34  }
35  }
const std::string instance
then echo fcl name

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