Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef UtilAlgos_DeltaRMinPairSelector_h
#define UtilAlgos_DeltaRMinPairSelector_h
#include "CommonTools/UtilAlgos/interface/ParameterAdapter.h"
#include "CommonTools/Utils/interface/DeltaRMinPairSelector.h"

namespace reco {
  namespace modules {

    template <>
    struct ParameterAdapter<DeltaRMinPairSelector> {
      static DeltaRMinPairSelector make(const edm::ParameterSet& cfg) {
        return DeltaRMinPairSelector(cfg.getParameter<double>("deltaRMin"));
      }
    };

  }  // namespace modules
}  // namespace reco

#endif