test
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  std::auto_ptr<TrajectorySeedCollection> result( new TrajectorySeedCollection() );
44 
45  _theFinder->find(ev,es,*result);
46  result->shrink_to_fit();
47  ev.put(result, _newSeedCandidates);
48 
49 
50 }
51 
#define dso_hidden
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
std::vector< TrajectorySeed > TrajectorySeedCollection
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:121
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
const EDProducer & operator=(const EDProducer &)=delete
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo * _theFinder