CMS 3D CMS Logo

KfTrackProducerBase.h
Go to the documentation of this file.
1 #ifndef KfTrackProducerBase_h
2 #define KfTrackProducerBase_h
3 
11 
13 
14 class Trajectory;
15 
16 class KfTrackProducerBase : public TrackProducerBase<reco::Track> {
17 public:
19  explicit KfTrackProducerBase(bool trajectoryInEvent, bool split)
20  : TrackProducerBase<reco::Track>(trajectoryInEvent), rekeyClusterRefs_(false), useSplitting(split) {}
21 
23  virtual void putInEvt(edm::Event&,
24  const Propagator* prop,
25  const MeasurementTracker* measTk,
26  std::unique_ptr<TrackingRecHitCollection>&,
27  std::unique_ptr<reco::TrackCollection>&,
28  std::unique_ptr<reco::TrackExtraCollection>&,
29  std::unique_ptr<std::vector<Trajectory> >&,
30  std::unique_ptr<std::vector<int> >&,
33  const TrackerTopology* ttopo,
34  //allow to fill different tracks collections if necessary ::
35  //0: not needed
36  //1: Before DAF
37  //2: After DAF
38  int BeforeOrAfter = 0);
39 
40  // void setSecondHitPattern(Trajectory* traj, reco::Track& track);
41 protected:
44  rekeyClusterRefs_ = true;
46  }
47 
50 
51 private:
53 };
54 
55 #endif
virtual void putInEvt(edm::Event &, const Propagator *prop, const MeasurementTracker *measTk, std::unique_ptr< TrackingRecHitCollection > &, std::unique_ptr< reco::TrackCollection > &, std::unique_ptr< reco::TrackExtraCollection > &, std::unique_ptr< std::vector< Trajectory > > &, std::unique_ptr< std::vector< int > > &, AlgoProductCollection &, TransientTrackingRecHitBuilder const *, const TrackerTopology *ttopo, int BeforeOrAfter=0)
Put produced collections in the event.
typename Base::AlgoProductCollection AlgoProductCollection
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
void setClusterRemovalInfo(const edm::InputTag &clusterRemovalInfo)
Sets the information on cluster removal, and turns it on.
edm::InputTag clusterRemovalInfo_
KfTrackProducerBase(bool trajectoryInEvent, bool split)
Constructor.
fixed size matrix