13 produces<reco::PFRecTrackCollection>();
14 produces<reco::PFDisplacedTrackerVertexCollection>();
34 auto pfDisplacedTrackerVertexColl = std::make_unique<reco::PFDisplacedTrackerVertexCollection>();
35 auto pfRecTrackColl = std::make_unique<reco::PFRecTrackCollection>();
58 std::vector<reco::Track> refittedTracks = nuclColl[
icoll].refittedTracks();
61 for(
unsigned it = 0; it < refittedTracks.size(); it++){
83 pfRecTrackColl->push_back(pfRecTrack);
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::TrackCollection > pfTrackContainer_
reconstructed track used as an input to particle flow
std::vector< PFDisplacedVertex > PFDisplacedVertexCollection
collection of PFDisplacedVertex objects
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
PFDisplacedTrackerVertexProducer(const edm::ParameterSet &)
Constructor.
edm::EDGetTokenT< reco::PFDisplacedVertexCollection > pfDisplacedVertexContainer_
void beginRun(const edm::Run &, const edm::EventSetup &) override
void endRun(const edm::Run &, const edm::EventSetup &) override
PFTrackTransformer * pfTransformer_
PFTrackTransformer.
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
RefProd< PROD > getRefBeforePut()
~PFDisplacedTrackerVertexProducer() override
Destructor.
XYZVectorD XYZVector
spatial vector with cartesian internal representation
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
int charge() const
track electric charge
std::vector< PFRecTrack > PFRecTrackCollection
collection of PFRecTrack objects