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
KfTrackProducerBase::useSplitting
bool useSplitting
Definition: KfTrackProducerBase.h:42
KfTrackProducerBase::KfTrackProducerBase
KfTrackProducerBase(bool trajectoryInEvent, bool split)
Constructor.
Definition: KfTrackProducerBase.h:19
TrackerTopology
Definition: TrackerTopology.h:16
TrackProducerBase< reco::Track >::AlgoProductCollection
typename Base::AlgoProductCollection AlgoProductCollection
Definition: TrackProducerBase.h:44
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
TransientTrack.h
Propagator
Definition: Propagator.h:44
MeasurementTracker
Definition: MeasurementTracker.h:21
KfTrackProducerBase
Definition: KfTrackProducerBase.h:16
submitPVValidationJobs.split
def split(sequence, size)
Definition: submitPVValidationJobs.py:352
TrackProducerBase.h
KfTrackProducerBase::putInEvt
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.
Definition: KfTrackProducerBase.cc:21
cms::cuda::device::unique_ptr
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
Definition: device_unique_ptr.h:33
Trajectory
Definition: Trajectory.h:38
TrackProducerBase
Definition: TrackProducerBase.h:39
edm::Event
Definition: Event.h:73
TransientTrackingRecHitBuilder
Definition: TransientTrackingRecHitBuilder.h:6