CMS 3D CMS Logo

PFTrackProducer.h
Go to the documentation of this file.
1 #ifndef PFTrackProducer_H
2 #define PFTrackProducer_H
3 
19 
20 #include <memory>
21 #include <vector>
22 
24 
30 class Trajectory;
31 
33 public:
35  explicit PFTrackProducer(const edm::ParameterSet&);
36 
37 private:
38  void beginRun(const edm::Run&, const edm::EventSetup&) override;
39  void endRun(const edm::Run&, const edm::EventSetup&) override;
40 
42  void produce(edm::Event&, const edm::EventSetup&) override;
43 
46 
48  std::unique_ptr<PFTrackTransformer> pfTransformer_;
49  std::vector<edm::EDGetTokenT<reco::TrackCollection>> tracksContainers_;
50  std::vector<edm::EDGetTokenT<std::vector<Trajectory>>> trajContainers_;
57  bool trajinev_;
58  bool gsfinev_;
59 };
60 #endif
PFTrackProducer::muonColl_
edm::EDGetTokenT< reco::MuonCollection > muonColl_
Definition: PFTrackProducer.h:52
PFTrackProducer::pfTransformer_
std::unique_ptr< PFTrackTransformer > pfTransformer_
PFTrackTransformer.
Definition: PFTrackProducer.h:48
PFTrackProducer::gsfTrackLabel_
edm::EDGetTokenT< reco::GsfTrackCollection > gsfTrackLabel_
Definition: PFTrackProducer.h:51
PFTrackProducer::transientTrackToken_
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > transientTrackToken_
Definition: PFTrackProducer.h:44
edm::Run
Definition: Run.h:45
PFTrackProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
Definition: PFTrackProducer.cc:52
edm::EDGetTokenT< reco::GsfTrackCollection >
PFTrackProducer
Definition: PFTrackProducer.h:32
PFTrackProducer::tracksContainers_
std::vector< edm::EDGetTokenT< reco::TrackCollection > > tracksContainers_
Definition: PFTrackProducer.h:49
PFTrackProducer::trajinev_
bool trajinev_
Definition: PFTrackProducer.h:57
reco::TrackBase::TrackQuality
TrackQuality
track quality
Definition: TrackBase.h:150
EDProducer.h
PFTrackTransformer.h
PFTrackProducer::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition: PFTrackProducer.cc:210
MakerMacros.h
Track.h
TrackFwd.h
MuonFwd.h
IdealMagneticFieldRecord.h
PFTrackProducer::PFTrackProducer
PFTrackProducer(const edm::ParameterSet &)
Constructor.
Definition: PFTrackProducer.cc:19
PFTrackProducer::trajContainers_
std::vector< edm::EDGetTokenT< std::vector< Trajectory > > > trajContainers_
Definition: PFTrackProducer.h:50
TransientTrackBuilder.h
edm::ParameterSet
Definition: ParameterSet.h:47
PFTrackProducer::useQuality_
bool useQuality_
TRACK QUALITY.
Definition: PFTrackProducer.h:55
Event.h
edm::stream::EDProducer
Definition: EDProducer.h:38
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:58
TransientTrackRecord.h
PFTrackProducer::trackQuality_
reco::TrackBase::TrackQuality trackQuality_
Definition: PFTrackProducer.h:56
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord >
VertexFwd.h
GsfTrackFwd.h
PFTrackProducer::magneticFieldToken_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
Definition: PFTrackProducer.h:45
Trajectory
Definition: Trajectory.h:38
Frameworkfwd.h
PFTrackProducer::vtx_h
edm::EDGetTokenT< reco::VertexCollection > vtx_h
Definition: PFTrackProducer.h:53
PFTrackProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: PFTrackProducer.cc:202
ParameterSet.h
edm::Event
Definition: Event.h:73
PFTrackProducer::gsfinev_
bool gsfinev_
Definition: PFTrackProducer.h:58