12 produces<reco::PFRecTrackCollection>();
13 produces<reco::PFDisplacedTrackerVertexCollection>();
16 consumes<reco::PFDisplacedVertexCollection>(iConfig.
getParameter<
InputTag>(
"displacedTrackerVertexColl"));
25 auto pfDisplacedTrackerVertexColl = std::make_unique<reco::PFDisplacedTrackerVertexCollection>();
26 auto pfRecTrackColl = std::make_unique<reco::PFRecTrackCollection>();
49 for (
unsigned it = 0; it < refittedTracks.size(); it++) {
66 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