46 : srcTrkTag_(iConfig.getParameter<edm::
InputTag>(
"src")) {
51 produces<std::vector<VertexConstraint> >();
52 produces<GsfTrackVtxConstraintAssociationCollection>();
71 std::unique_ptr<std::vector<VertexConstraint> > pairs(
new std::vector<VertexConstraint>);
72 std::unique_ptr<GsfTrackVtxConstraintAssociationCollection>
output(
76 for (reco::GsfTrackCollection::const_iterator
i = theTCollection->begin();
i != theTCollection->end();
i++) {
78 pairs->push_back(tmp);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
Global3DPoint GlobalPoint
GlobalErrorBase< double, ErrorMatrixTag > GlobalError
edm::AssociationMap< edm::OneToOne< reco::GsfTrackCollection, std::vector< VertexConstraint > > > GsfTrackVtxConstraintAssociationCollection
edm::EDGetTokenT< reco::GsfTrackCollection > trkToken_
RefProd< PROD > getRefBeforePut()
std::pair< GlobalPoint, GlobalError > VertexConstraint
const edm::InputTag srcTrkTag_
void produce(edm::StreamID streamid, edm::Event &, const edm::EventSetup &) const override
GsfVertexConstraintProducer(const edm::ParameterSet &)
~GsfVertexConstraintProducer() override=default