11 for (
auto &
c : transportMethod_)
14 if (transportMethod_ ==
"HECTOR") {
15 instance_ = std::make_unique<HectorTransport>(iConfig, iC);
16 }
else if (transportMethod_ ==
"TOTEM") {
17 instance_ = std::make_unique<TotemTransport>(iConfig);
18 }
else if (transportMethod_ ==
"OPTICALFUNCTIONS") {
19 instance_ = std::make_unique<OpticalFunctionsTransport>(iConfig, iC);
22 <<
"Unknow transport method. Is must be either HECTOR, TOTEM or OPTICALFUNCTIONS (case insensitive)";
T getParameter(std::string const &) const
std::unique_ptr< BaseProtonTransport > instance_
ProtonTransport(const edm::ParameterSet &iConfig, edm::ConsumesCollector iC)