41 produces<reco::PFRecTrackCollection>();
42 produces<reco::PFDisplacedTrackerVertexCollection>();
45 consumes<reco::PFDisplacedVertexCollection>(iConfig.
getParameter<
InputTag>(
"displacedTrackerVertexColl"));
54 auto pfDisplacedTrackerVertexColl = std::make_unique<reco::PFDisplacedTrackerVertexCollection>();
55 auto pfRecTrackColl = std::make_unique<reco::PFRecTrackCollection>();
95 pfRecTrackColl->push_back(pfRecTrack);
edm::EDGetTokenT< reco::TrackCollection > pfTrackContainer_
reconstructed track used as an input to particle flow
std::vector< PFDisplacedVertex > PFDisplacedVertexCollection
collection of PFDisplacedVertex objects
T getParameter(std::string const &) const
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
PFDisplacedTrackerVertexProducer(const edm::ParameterSet &)
Constructor.
edm::EDGetTokenT< reco::PFDisplacedVertexCollection > pfDisplacedVertexContainer_
void beginRun(const edm::Run &, const edm::EventSetup &) override
int charge() const
track electric charge
void endRun(const edm::Run &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
PFTrackTransformer * pfTransformer_
PFTrackTransformer.
~PFDisplacedTrackerVertexProducer() override
Destructor.
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
XYZVectorD XYZVector
spatial vector with cartesian internal representation
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
std::vector< PFRecTrack > PFRecTrackCollection
collection of PFRecTrack objects