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
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
TrackQuality
track quality
#define DEFINE_FWK_MODULE(type)
uint32_t const *__restrict__ Quality * quality
std::vector< Track > TrackCollection
collection of Tracks
~LightPFTrackProducer() override
Destructor.
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
bool getData(T &iHolder) const
PFTrackTransformer * pfTransformer_
PFTrackTransformer.
bool useQuality_
TRACK QUALITY.
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
T getParameter(std::string const &) const
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_