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::auto_ptr<TrackingRecHitCollection>&,
28  std::auto_ptr<reco::TrackCollection>&,
29  std::auto_ptr<reco::TrackExtraCollection>&,
30  std::auto_ptr<std::vector<Trajectory> >&,
32  const TrackerTopology *ttopo,
33  //allow to fill different tracks collections if necessary ::
34  //0: not needed
35  //1: Before DAF
36  //2: After DAF
37  int BeforeOrAfter = 0);
38 
39 
40  // void setSecondHitPattern(Trajectory* traj, reco::Track& track);
41  private:
43 
44 };
45 
46 #endif
std::vector< AlgoProduct > AlgoProductCollection
KfTrackProducerBase(bool trajectoryInEvent, bool split)
Constructor.
virtual void putInEvt(edm::Event &, const Propagator *prop, const MeasurementTracker *measTk, std::auto_ptr< TrackingRecHitCollection > &, std::auto_ptr< reco::TrackCollection > &, std::auto_ptr< reco::TrackExtraCollection > &, std::auto_ptr< std::vector< Trajectory > > &, AlgoProductCollection &, TransientTrackingRecHitBuilder const *, const TrackerTopology *ttopo, int BeforeOrAfter=0)
Put produced collections in the event.
double split
Definition: MVATrainer.cc:139