Go to the documentation of this file.
11 produces<reco::PFRecTrackCollection>();
12 produces<reco::PFNuclearInteractionCollection>();
14 std::vector<edm::InputTag>
tags = iConfig.
getParameter<vector<InputTag> >(
"nuclearColList");
16 for (
unsigned int i = 0;
i <
tags.size(); ++
i)
28 auto pfNuclearColl = std::make_unique<reco::PFNuclearInteractionCollection>();
29 auto pfNuclearRecTrackColl = std::make_unique<reco::PFRecTrackCollection>();
48 for (trackRef_iterator it = nuclColl[
icoll].secondaryTracks_begin(); it != nuclColl[
icoll].secondaryTracks_end();
56 pfNuclearRecTrackColl->push_back(pftrack);
T const * product() const
void likelihood(int &npar, double *grad, double &fval, double *xval, int flag)
std::vector< NuclearInteraction > NuclearInteractionCollection
collection of NuclearInteractions
std::vector< edm::EDGetTokenT< reco::NuclearInteractionCollection > > nuclearContainers_
~PFNuclearProducer() override
Destructor.
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
reco::Vertex::trackRef_iterator trackRef_iterator
XYZVectorD XYZVector
spatial vector with cartesian internal representation
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
T getParameter(std::string const &) const
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
reconstructed track used as an input to particle flow
PFNuclearProducer(const edm::ParameterSet &)
Constructor.
void beginRun(const edm::Run &, const edm::EventSetup &) override
void endRun(const edm::Run &, const edm::EventSetup &) override
std::vector< PFRecTrack > PFRecTrackCollection
collection of PFRecTrack objects
PFTrackTransformer * pfTransformer_
PFTrackTransformer.