41 desc.add<
edm::InputTag>(
"displacedTrackerVertexColl", {
"particleFlowDisplacedVertex"});
43 descriptions.
add(
"pfDisplacedTrackerVertex",
desc);
50 produces<reco::PFRecTrackCollection>();
51 produces<reco::PFDisplacedTrackerVertexCollection>();
54 consumes<reco::PFDisplacedVertexCollection>(iConfig.
getParameter<
InputTag>(
"displacedTrackerVertexColl"));
63 auto pfDisplacedTrackerVertexColl = std::make_unique<reco::PFDisplacedTrackerVertexCollection>();
64 auto pfRecTrackColl = std::make_unique<reco::PFRecTrackCollection>();
104 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 add(std::string const &label, ParameterSetDescription const &psetDescription)
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
std::vector< PFRecTrack > PFRecTrackCollection
collection of PFRecTrack objects
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)