70 : srcTrkTag_(iConfig.getParameter<
edm::
InputTag>(
"srcTrk")),
71 srcVtxTag_(iConfig.getParameter<
edm::
InputTag>(
"srcVtx")) {
77 produces<std::vector<VertexConstraint> >();
78 produces<TrackVtxConstraintAssociationCollection>();
100 std::unique_ptr<std::vector<VertexConstraint> > pairs(
new std::vector<VertexConstraint>);
101 std::unique_ptr<TrackVtxConstraintAssociationCollection>
output(
108 if (!theVertexHandle->empty()) {
110 for (reco::TrackCollection::const_iterator
i = theTCollection->begin();
i != theTCollection->end();
i++) {
117 pv.covariance(2, 2)));
118 pairs->push_back(
tmp);
~VertexConstraintProducer() override=default
Global3DPoint GlobalPoint
GlobalErrorBase< double, ErrorMatrixTag > GlobalError
void produce(edm::StreamID streamid, edm::Event &, const edm::EventSetup &) const override
edm::AssociationMap< edm::OneToOne< reco::TrackCollection, std::vector< VertexConstraint > > > TrackVtxConstraintAssociationCollection
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< reco::VertexCollection > vtxToken_
edm::EDGetTokenT< reco::TrackCollection > trkToken_
std::pair< GlobalPoint, GlobalError > VertexConstraint
const edm::InputTag srcVtxTag_
const edm::InputTag srcTrkTag_
VertexConstraintProducer(const edm::ParameterSet &)