17 produces<reco::PFRecTrackCollection>();
21 std::vector<InputTag> tags =
22 iConfig.
getParameter< vector < InputTag > >(
"TkColList");
24 for (
unsigned int i=0;
i<tags.size();++
i)
42 auto PfTrColl = std::make_unique<reco::PFRecTrackCollection>();
50 for(
unsigned int i=0;
i<Tk.size();
i++){
58 bool mymsgwarning =
false;
61 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()
Destructor.
virtual 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.
virtual 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
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
std::vector< edm::EDGetTokenT< reco::TrackCollection > > tracksContainers_
reco::TrackBase::TrackQuality trackQuality_