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), 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 private:
43 };
44 
45 #endif
std::vector< std::string_view > split(std::string_view, const char *)
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.
KfTrackProducerBase(bool trajectoryInEvent, bool split)
Constructor.
std::vector< AlgoProduct > AlgoProductCollection
fixed size matrix