RecoTracker
TrackProducer
plugins
TrackRefitter.h
Go to the documentation of this file.
1
#ifndef TrackRefitter_h
2
#define TrackRefitter_h
3
10
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
11
#include "
RecoTracker/TrackProducer/interface/KfTrackProducerBase.h
"
12
#include "
RecoTracker/TrackProducer/interface/TrackProducerAlgorithm.h
"
13
14
class
TrackRefitter
:
public
KfTrackProducerBase
,
public
edm::stream::EDProducer
<> {
15
public
:
17
explicit
TrackRefitter
(
const
edm::ParameterSet
& iConfig);
18
20
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
21
22
private
:
23
TrackProducerAlgorithm<reco::Track>
theAlgo
;
24
enum
Constraint
{
none
,
momentum
,
vertex
,
trackParameters
};
25
Constraint
constraint_
;
26
edm::EDGetToken
trkconstrcoll_
;
27
};
28
29
#endif
TrackRefitter::none
Definition:
TrackRefitter.h:24
TrackRefitter::TrackRefitter
TrackRefitter(const edm::ParameterSet &iConfig)
Constructor.
Definition:
TrackRefitter.cc:16
TrackRefitter::constraint_
Constraint constraint_
Definition:
TrackRefitter.h:25
EDProducer.h
TrackRefitter::vertex
Definition:
TrackRefitter.h:24
KfTrackProducerBase
Definition:
KfTrackProducerBase.h:16
KfTrackProducerBase.h
edm::ParameterSet
Definition:
ParameterSet.h:47
TrackRefitter::trackParameters
Definition:
TrackRefitter.h:24
TrackRefitter::Constraint
Constraint
Definition:
TrackRefitter.h:24
TrackProducerAlgorithm< reco::Track >
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:58
edm::EDGetToken
Definition:
EDGetToken.h:35
TrackRefitter::trkconstrcoll_
edm::EDGetToken trkconstrcoll_
Definition:
TrackRefitter.h:26
TrackProducerAlgorithm.h
TrackRefitter::produce
void produce(edm::Event &, const edm::EventSetup &) override
Implementation of produce method.
Definition:
TrackRefitter.cc:56
TrackRefitter::theAlgo
TrackProducerAlgorithm< reco::Track > theAlgo
Definition:
TrackRefitter.h:23
TrackRefitter::momentum
Definition:
TrackRefitter.h:24
edm::Event
Definition:
Event.h:73
TrackRefitter
Definition:
TrackRefitter.h:14
Generated for CMSSW Reference Manual by
1.8.16