RecoTracker
TrackProducer
plugins
GsfTrackRefitter.h
Go to the documentation of this file.
1
#ifndef GsfTrackRefitter_h
2
#define GsfTrackRefitter_h
3
8
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
9
#include "
RecoTracker/TrackProducer/interface/GsfTrackProducerBase.h
"
10
#include "
RecoTracker/TrackProducer/interface/TrackProducerAlgorithm.h
"
11
#include "
FWCore/Utilities/interface/InputTag.h
"
12
#include "
TrackingTools/GsfTracking/interface/GsfTrackConstraintAssociation.h
"
13
14
class
GsfTrackRefitter
:
public
GsfTrackProducerBase
,
public
edm::stream::EDProducer
<> {
15
public
:
17
explicit
GsfTrackRefitter
(
const
edm::ParameterSet
& iConfig);
18
20
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
21
22
private
:
23
TrackProducerAlgorithm<reco::GsfTrack>
theAlgo
;
24
enum
Constraint
{
25
none
,
26
// momentum,
27
vertex
28
};
29
Constraint
constraint_
;
30
edm::EDGetTokenT<GsfTrackVtxConstraintAssociationCollection>
gsfTrackVtxConstraintTag_
;
31
edm::ESGetToken<TrackerTopology, TrackerTopologyRcd>
ttopoToken_
;
32
};
33
34
#endif
GsfTrackRefitter::Constraint
Constraint
Definition:
GsfTrackRefitter.h:24
GsfTrackRefitter::vertex
Definition:
GsfTrackRefitter.h:27
EDProducer.h
GsfTrackRefitter::constraint_
Constraint constraint_
Definition:
GsfTrackRefitter.h:29
TrackProducerAlgorithm.h
edm::EDGetTokenT
Definition:
EDGetToken.h:37
GsfTrackRefitter::GsfTrackRefitter
GsfTrackRefitter(const edm::ParameterSet &iConfig)
Constructor.
Definition:
GsfTrackRefitter.cc:18
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
GsfTrackRefitter
Definition:
GsfTrackRefitter.h:14
GsfTrackRefitter::ttopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > ttopoToken_
Definition:
GsfTrackRefitter.h:31
TrackProducerAlgorithm< reco::GsfTrack >
GsfTrackRefitter::produce
void produce(edm::Event &, const edm::EventSetup &) override
Implementation of produce method.
Definition:
GsfTrackRefitter.cc:52
GsfTrackProducerBase.h
edm::EventSetup
Definition:
EventSetup.h:59
GsfTrackConstraintAssociation.h
edm::stream::EDProducer
Definition:
EDProducer.h:36
InputTag.h
GsfTrackProducerBase
Definition:
GsfTrackProducerBase.h:26
edm::ParameterSet
Definition:
ParameterSet.h:47
GsfTrackRefitter::theAlgo
TrackProducerAlgorithm< reco::GsfTrack > theAlgo
Definition:
GsfTrackRefitter.h:23
edm::Event
Definition:
Event.h:73
GsfTrackRefitter::none
Definition:
GsfTrackRefitter.h:25
GsfTrackRefitter::gsfTrackVtxConstraintTag_
edm::EDGetTokenT< GsfTrackVtxConstraintAssociationCollection > gsfTrackVtxConstraintTag_
Definition:
GsfTrackRefitter.h:30
Generated for CMSSW Reference Manual by
1.8.14