23 std::unique_ptr<PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo>
_theFinder;
28 : _newSeedCandidates(conf.getParameter<std::
string>(
"newSeedCandidates")) {
29 _theFinder = std::make_unique<PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo>(conf, consumesCollector());
34 auto result = std::make_unique<TrajectorySeedCollection>();
37 if (!
_theFinder->getTrajectorySeedCollection()->empty())
39 _theFinder->getTrajectorySeedCollection()->begin(),
40 _theFinder->getTrajectorySeedCollection()->end());
42 edm::LogError(
"SeedingConversion") <<
" Problem in the Single Leg Conversion Seed Producer " << er.
what()
45 edm::LogError(
"SeedingConversion") <<
" Problem in the Single Leg Conversion Seed Producer " << er.what()
49 edm::LogInfo(
"debugTrajSeedFromQuadruplets") <<
" TrajectorySeedCollection size " <<
result->size();
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
#define DEFINE_FWK_MODULE(type)
Log< level::Error, false > LogError
char const * what() const noexceptoverride
std::string _newSeedCandidates
Log< level::Info, false > LogInfo
PhotonConversionTrajectorySeedProducerFromQuadruplets(const edm::ParameterSet &)
std::unique_ptr< PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo > _theFinder
~PhotonConversionTrajectorySeedProducerFromQuadruplets() override
void produce(edm::Event &, const edm::EventSetup &) override