CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PhotonConversionTrajectorySeedProducerFromSingleLeg.cc
Go to the documentation of this file.
6 
11 
14 //#include "UserUtilities/TimingPerformance/interface/TimeReport.h"
15 
17 public:
19  ~PhotonConversionTrajectorySeedProducerFromSingleLeg() override { delete _theFinder; }
21  delete;
24  void produce(edm::Event&, const edm::EventSetup&) override;
25 
26 private:
29 };
30 
32  const edm::ParameterSet& conf)
33  : _newSeedCandidates(conf.getParameter<std::string>("newSeedCandidates")) {
35  produces<TrajectorySeedCollection>(_newSeedCandidates);
36 }
37 
39  auto result = std::make_unique<TrajectorySeedCollection>();
40 
41  _theFinder->find(ev, es, *result);
42  result->shrink_to_fit();
44 }
45 
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:133
void find(const edm::Event &event, const edm::EventSetup &setup, TrajectorySeedCollection &output)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
tuple result
Definition: mps_fire.py:311
def move
Definition: eostools.py:511
const EDProducer & operator=(const EDProducer &)=delete
#define dso_hidden
Definition: Visibility.h:12
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo * _theFinder