15 produces<reco::PFRecTrackCollection>();
17 std::vector<InputTag>
tags = iConfig.
getParameter<vector<InputTag> >(
"TkColList");
19 for (
unsigned int i = 0;
i < tags.size(); ++
i)
30 auto PfTrColl = std::make_unique<reco::PFRecTrackCollection>();
37 for (
unsigned int i = 0;
i < Tk.size();
i++) {
43 bool mymsgwarning =
false;
46 PfTrColl->push_back(pftrack);
T getParameter(std::string const &) const
reconstructed track used as an input to particle flow
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
LightPFTrackProducer(const edm::ParameterSet &)
Constructor.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< Track > TrackCollection
collection of Tracks
~LightPFTrackProducer() override
Destructor.
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
PFTrackTransformer * pfTransformer_
PFTrackTransformer.
bool useQuality_
TRACK QUALITY.
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
void endRun(const edm::Run &, const edm::EventSetup &) override
static TrackQuality qualityByName(const std::string &name)
T const * product() const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
void beginRun(const edm::Run &, const edm::EventSetup &) override
std::vector< edm::EDGetTokenT< reco::TrackCollection > > tracksContainers_
reco::TrackBase::TrackQuality trackQuality_