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  //allow to fill different tracks collections if necessary ::
33  //0: not needed
34  //1: Before DAF
35  //2: After DAF
36  int BeforeOrAfter = 0);
37 
38 
39  // void setSecondHitPattern(Trajectory* traj, reco::Track& track);
40  private:
42 
43 };
44 
45 #endif
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 *, int BeforeOrAfter=0)
Put produced collections in the event.
std::vector< AlgoProduct > AlgoProductCollection
KfTrackProducerBase(bool trajectoryInEvent, bool split)
Constructor.
double split
Definition: MVATrainer.cc:139