1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include "FWCore/ServiceRegistry/interface/ModuleConsumesESInfo.h"
namespace edm {
ModuleConsumesESInfo::ModuleConsumesESInfo()
: transitionOfConsumer_(Transition::Event),
produceMethodIDOfProducer_(0),
isSource_(false),
isLooper_(false),
moduleLabelMismatch_(false) {}
std::string_view ModuleConsumesESInfo::moduleBaseType() const {
if (isLooper_) {
return "ESProducerLooper";
} else if (isSource_) {
return "ESSource";
}
return "ESProducer";
}
} // namespace edm
|