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_ptr< reco::PFNuclearInteractionCollection >
39 auto_ptr< reco::PFRecTrackCollection >
60 for(trackRef_iterator it = nuclColl[
icoll].secondaryTracks_begin(); it!=nuclColl[
icoll].secondaryTracks_end(); it++){
68 pfNuclearRecTrackColl->push_back(pftrack);
75 iEvent.
put(pfNuclearRecTrackColl);
76 iEvent.
put(pfNuclearColl);
T getParameter(std::string const &) const
reconstructed track used as an input to particle flow
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_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::vector< PFNuclearInteraction > PFNuclearInteractionCollection
collection of NuclearInteractions
~PFNuclearProducer()
Destructor.
std::vector< NuclearInteraction > NuclearInteractionCollection
collection of NuclearInteractions
reco::Vertex::trackRef_iterator trackRef_iterator
RefProd< PROD > getRefBeforePut()
virtual 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
T const * product() const
virtual 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
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override