|
| PATVertexSlimmer (const edm::ParameterSet &) |
|
virtual void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const |
|
| ~PATVertexSlimmer () |
|
| EDProducer ()=default |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducerBase () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
|
virtual | ~ProducerBase () noexcept(false) |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
Definition at line 17 of file PATVertexSlimmer.cc.
Definition at line 41 of file PATVertexSlimmer.cc.
References reco::Vertex::chi2(), reco::Vertex::covariance(), DEFINE_FWK_MODULE, edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), mps_fire::i, edm::HandleBase::id(), edm::helper::Filler< Map >::insert(), gen::k, eostools::move(), gen::n, reco::Vertex::ndof(), reco::Vertex::position(), edm::Event::put(), rekeyScores_, score_, src_, findQualityFiles::v, and primaryVertexAssociation_cfi::vertices.
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.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
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
double chi2() const
chi-squares
const edm::EDGetTokenT< edm::ValueMap< float > > score_