CMS 3D CMS Logo

HelperPropagatorUtility.cc
Go to the documentation of this file.
1 #include <memory>
2 
4 
5 std::unique_ptr<Propagator> SetPropagationDirection(Propagator const& iprop, PropagationDirection dir) {
6  std::unique_ptr<Propagator> p(iprop.clone());
7  p->setPropagationDirection(dir);
8 
9  return p;
10 }
virtual Propagator * clone() const =0
std::unique_ptr< Propagator > SetPropagationDirection(Propagator const &iprop, PropagationDirection dir)
PropagationDirection