26 src_(consumes<std::vector<
reco::Vertex> >(iConfig.getParameter<edm::InputTag>(
"src")))
28 produces<std::vector<reco::Vertex> >();
36 std::auto_ptr<std::vector<reco::Vertex> > outPtr(
new std::vector<reco::Vertex>());
38 outPtr->reserve(vertices->size());
39 for (
unsigned int i = 0,
n = vertices->size();
i <
n; ++
i) {
PATVertexSlimmer(const edm::ParameterSet &)
virtual void produce(edm::Event &, const edm::EventSetup &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
const Point & position() const
position
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
double chi2() const
chi-squares
Error error() const
return SMatrix
edm::EDGetTokenT< std::vector< reco::Vertex > > src_