35 produces<std::vector<reco::Vertex> >();
44 auto outPtr = std::make_unique<std::vector<reco::Vertex>>();
46 outPtr->reserve(vertices->size());
47 for (
unsigned int i = 0,
n = vertices->size();
i <
n; ++
i) {
51 for(
size_t j=0;j<3;j++){
52 for(
size_t k=j;
k<3;
k++){
53 co(j,
k) = MiniFloatConverter::reduceMantissaToNbits<10>( co(j,
k) );
64 auto vertexScoreOutput = std::make_unique<edm::ValueMap<float>>();
66 for(;idIt!=scores->end();idIt++) {
67 if(idIt.id() == vertices.
id())
break;
71 vertexScoreFiller.
insert(oh,idIt.begin(),idIt.end());
72 vertexScoreFiller.
fill();
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
PATVertexSlimmer(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void insert(const H &h, I begin, I end)
double covariance(int i, int j) const
(i, j)-th element of error matrix, i, j = 0, ... 2
const edm::EDGetTokenT< std::vector< reco::Vertex > > src_
const Point & position() const
position
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
virtual void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const
double chi2() const
chi-squares
const edm::EDGetTokenT< edm::ValueMap< float > > score_
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)