CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
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:122
void find(const edm::Event &event, const edm::EventSetup &setup, TrajectorySeedCollection &output)
virtual void produce(Event &, EventSetup const &)=0
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
bool ev
tuple result
Definition: mps_fire.py:84
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
def move
Definition: eostools.py:510
const EDProducer & operator=(const EDProducer &)=delete
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo * _theFinder