CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
18 
20  explicit KfTrackProducerBase(bool trajectoryInEvent, bool split) :
21  TrackProducerBase<reco::Track>(trajectoryInEvent),useSplitting(split) {}
22 
24  virtual void putInEvt(edm::Event&,
25  const Propagator* prop,
26  const MeasurementTracker* measTk,
27  std::unique_ptr<TrackingRecHitCollection>&,
28  std::unique_ptr<reco::TrackCollection>&,
29  std::unique_ptr<reco::TrackExtraCollection>&,
30  std::unique_ptr<std::vector<Trajectory> >&,
31  std::unique_ptr<std::vector<int> >&,
34  const TrackerTopology *ttopo,
35  //allow to fill different tracks collections if necessary ::
36  //0: not needed
37  //1: Before DAF
38  //2: After DAF
39  int BeforeOrAfter = 0);
40 
41 
42  // void setSecondHitPattern(Trajectory* traj, reco::Track& track);
43  private:
45 
46 };
47 
48 #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
KfTrackProducerBase(bool trajectoryInEvent, bool split)
Constructor.
double split
Definition: MVATrainer.cc:139