CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackProducerWithSCAssociation.h
Go to the documentation of this file.
1 #ifndef TrackProducerWithSCAssociation_h
2 #define TrackProducerWithSCAssociation_h
3 
18 
20 public:
21 
22  explicit TrackProducerWithSCAssociation(const edm::ParameterSet& iConfig);
23 
24 
25  virtual void produce(edm::Event&, const edm::EventSetup&) override;
26 
27  std::vector<reco::TransientTrack> getTransient(edm::Event&, const edm::EventSetup&);
28 
29 private:
40 
41 
42  //Same recipe as Ursula's for electrons. Copy this from TrackProducerBase to get the OrphanHandle
43  //ugly temporary solution!! I agree !
44  void putInEvt(edm::Event& evt,
45  const Propagator* thePropagator,
46  const MeasurementTracker* theMeasTk,
47  std::auto_ptr<TrackingRecHitCollection>& selHits,
48  std::auto_ptr<reco::TrackCollection>& selTracks,
49  std::auto_ptr<reco::TrackExtraCollection>& selTrackExtras,
50  std::auto_ptr<std::vector<Trajectory> >& selTrajectories,
51  AlgoProductCollection& algoResults, TransientTrackingRecHitBuilder const * hitBuilder,
52  const TrackerTopology *ttopo);
53 };
54 
55 #endif
edm::EDGetTokenT< MeasurementTrackerEvent > measurementTrkToken_
edm::OrphanHandle< reco::TrackCollection > rTracks_
std::vector< reco::TransientTrack > getTransient(edm::Event &, const edm::EventSetup &)
void putInEvt(edm::Event &evt, const Propagator *thePropagator, const MeasurementTracker *theMeasTk, std::auto_ptr< TrackingRecHitCollection > &selHits, std::auto_ptr< reco::TrackCollection > &selTracks, std::auto_ptr< reco::TrackExtraCollection > &selTrackExtras, std::auto_ptr< std::vector< Trajectory > > &selTrajectories, AlgoProductCollection &algoResults, TransientTrackingRecHitBuilder const *hitBuilder, const TrackerTopology *ttopo)
edm::EDGetTokenT< reco::TrackCandidateCaloClusterPtrAssociation > assoc_token
TrackProducerAlgorithm< reco::Track > theAlgo
TrackProducerWithSCAssociation(const edm::ParameterSet &iConfig)
std::vector< AlgoProduct > AlgoProductCollection
virtual void produce(edm::Event &, const edm::EventSetup &) override
Method where the procduction take place. To be implemented in concrete classes.