CMS 3D CMS Logo

PhotonConversionTrajectorySeedProducerFromSingleLeg.cc
Go to the documentation of this file.
5 
10 
13 //#include "UserUtilities/TimingPerformance/interface/TimeReport.h"
14 
16 public:
21  void produce(edm::Event& , const edm::EventSetup& ) override;
22 
23 private:
26 };
27 
28 
31  : _newSeedCandidates(conf.getParameter<std::string>( "newSeedCandidates"))
32 {
34  consumesCollector());
35  produces<TrajectorySeedCollection>(_newSeedCandidates);
36 }
37 
38 
40 {
41 
42 
43  auto result = std::make_unique<TrajectorySeedCollection>();
44 
45  _theFinder->find(ev,es,*result);
46  result->shrink_to_fit();
48 
49 
50 }
51 
#define dso_hidden
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:137
void find(const edm::Event &event, const edm::EventSetup &setup, TrajectorySeedCollection &output)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
bool ev
const EDProducer & operator=(const EDProducer &)=delete
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo * _theFinder
def move(src, dest)
Definition: eostools.py:510