Go to the documentation of this file.
41 produces<reco::PFRecTrackCollection>();
42 produces<reco::PFNuclearInteractionCollection>();
44 std::vector<edm::InputTag>
tags = iConfig.
getParameter<vector<InputTag> >(
"nuclearColList");
46 for (
unsigned int i = 0;
i <
tags.size(); ++
i)
58 auto pfNuclearColl = std::make_unique<reco::PFNuclearInteractionCollection>();
59 auto pfNuclearRecTrackColl = std::make_unique<reco::PFRecTrackCollection>();
78 for (trackRef_iterator it = nuclColl[
icoll].secondaryTracks_begin(); it != nuclColl[
icoll].secondaryTracks_end();
86 pfNuclearRecTrackColl->push_back(pftrack);
T const * product() const
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
void likelihood(int &npar, double *grad, double &fval, double *xval, int flag)
#define DEFINE_FWK_MODULE(type)
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.
bool getData(T &iHolder) 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
T getParameter(std::string const &) const
std::vector< PFRecTrack > PFRecTrackCollection
collection of PFRecTrack objects
PFTrackTransformer * pfTransformer_
PFTrackTransformer.