13 produces<reco::PFRecTrackCollection>();
14 produces<reco::PFNuclearInteractionCollection>();
16 std::vector<edm::InputTag> tags=
17 iConfig.
getParameter< vector < InputTag > >(
"nuclearColList");
19 for (
unsigned int i=0;
i<tags.size();++
i)
37 auto pfNuclearColl = std::make_unique<reco::PFNuclearInteractionCollection>();
38 auto pfNuclearRecTrackColl = std::make_unique<reco::PFRecTrackCollection>();
58 for(trackRef_iterator it = nuclColl[
icoll].secondaryTracks_begin(); it!=nuclColl[
icoll].secondaryTracks_end(); it++){
66 pfNuclearRecTrackColl->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.
PFTrackTransformer * pfTransformer_
PFTrackTransformer.
void likelihood(int &npar, double *grad, double &fval, double *xval, int flag)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< edm::EDGetTokenT< reco::NuclearInteractionCollection > > nuclearContainers_
std::vector< NuclearInteraction > NuclearInteractionCollection
collection of NuclearInteractions
reco::Vertex::trackRef_iterator trackRef_iterator
~PFNuclearProducer() override
Destructor.
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
RefProd< PROD > getRefBeforePut()
T const * product() const
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
XYZVectorD XYZVector
spatial vector with cartesian internal representation
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
void endRun(const edm::Run &, const edm::EventSetup &) override
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
PFNuclearProducer(const edm::ParameterSet &)
Constructor.
std::vector< PFRecTrack > PFRecTrackCollection
collection of PFRecTrack objects
void beginRun(const edm::Run &, const edm::EventSetup &) override