44 produces<reco::PFRecTrackCollection>();
46 std::vector<InputTag>
tags = iConfig.
getParameter<vector<InputTag> >(
"TkColList");
48 for (
unsigned int i = 0;
i <
tags.size(); ++
i)
59 auto PfTrColl = std::make_unique<reco::PFRecTrackCollection>();
66 for (
unsigned int i = 0;
i < Tk.size();
i++) {
72 bool mymsgwarning =
false;
75 PfTrColl->push_back(pftrack);
reconstructed track used as an input to particle flow
T getParameter(std::string const &) const
LightPFTrackProducer(const edm::ParameterSet &)
Constructor.
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
TrackQuality
track quality
T const * product() 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.
#define DEFINE_FWK_MODULE(type)
void endRun(const edm::Run &, const edm::EventSetup &) override
static TrackQuality qualityByName(const std::string &name)
XYZVectorD XYZVector
spatial vector with cartesian internal representation
void beginRun(const edm::Run &, const edm::EventSetup &) override
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
std::vector< edm::EDGetTokenT< reco::TrackCollection > > tracksContainers_
reco::TrackBase::TrackQuality trackQuality_