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<4;j++){
52 for(
size_t k=j;
k<4;
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
void insert(const H &h, I begin, I end)
CovarianceMatrix4D covariance4D() const
return SMatrix 4D
const edm::EDGetTokenT< std::vector< reco::Vertex > > src_
const Point & position() const
position
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
#define DEFINE_FWK_MODULE(type)
double chi2() const
chi-squares
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
const edm::EDGetTokenT< edm::ValueMap< float > > score_
~PATVertexSlimmer() override
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
double t() const
t coordinate