30 for (
auto const&
p :
pset.getUntrackedParameter<std::vector<edm::ParameterSet>>(
"transitions")) {
32 p.getUntrackedParameter<
EventID>(
"id"));
38 if (iTrans ==
"IsStop") {
41 if (iTrans ==
"IsFile") {
44 if (iTrans ==
"IsRun") {
47 if (iTrans ==
"IsLumi") {
50 if (iTrans ==
"IsEvent") {
53 if (iTrans ==
"IsSynchronize") {
80 return std::make_shared<LuminosityBlockAuxiliary>(
95 desc.setComment(
"Generates the specified sequence of transitions.");
101 desc.addVPSetUntracked(
"transitions", trans, {{}});
102 descriptions.
add(
"source",
desc);
static ItemType stringToType(const std::string &)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
std::vector< std::pair< ItemType, EventID > > m_transitions
static void fillDescriptions(ConfigurationDescriptions &descriptions)
TestSource(ParameterSet const &, InputSourceDescription const &)
void readEvent_(EventPrincipal &eventPrincipal) final
std::vector< std::pair< ItemType, EventID > >::const_iterator m_nextTransition
static void fillDescription(ParameterSetDescription &desc)
std::shared_ptr< LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() final
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool getMapped(ProcessHistoryID const &key, ProcessHistory &value) const
void fillEventPrincipal(EventAuxiliary const &aux, ProcessHistory const *processHistory, DelayedReader *reader=nullptr)
std::shared_ptr< RunAuxiliary > readRunAuxiliary_() final
ItemType getNextItemType() final