46 return std::optional<BetheHeitlerInit>();
60 : betheHeitlerInit_(doInit(p)),
61 mass_(p.getParameter<double>(
"Mass")),
62 useMultipleScattering_(p.getParameter<std::
string>(
"MultipleScatteringUpdator") ==
"GsfMultipleScatteringUpdator")
71 std::unique_ptr<GsfMaterialEffectsUpdator> msUpdator;
73 msUpdator = std::make_unique<GsfMultipleScatteringUpdator>(
mass_);
78 std::unique_ptr<GsfMaterialEffectsUpdator> elUpdator;
85 auto updator = std::make_unique<GsfCombinedMaterialEffectsUpdator>(*msUpdator, *elUpdator);
94 desc.
add<
double>(
"Mass");
const bool useMultipleScattering_
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ParameterDescriptionNode * ifValue(ParameterDescription< T > const &switchParameter, std::unique_ptr< ParameterDescriptionCases< T >> cases)
std::optional< BetheHeitlerInit > betheHeitlerInit_
tuple MultipleScatteringUpdator
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
std::unique_ptr< GsfMaterialEffectsUpdator > produce(const TrackingComponentsRecord &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
BetheHeitlerInit(std::string iName, int iCorrection)
std::optional< BetheHeitlerInit > doInit(const edm::ParameterSet &p)
T getParameter(std::string const &) const
GsfMaterialEffectsESProducer(const edm::ParameterSet &p)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)