|
| PileupJPTJetIdProducer (const edm::ParameterSet &) |
|
| ~PileupJPTJetIdProducer () |
|
| EDProducer () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducer () |
|
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 |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| 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 & | itemsToGetFrom (BranchType iType) 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 23 of file PileupJPTJetIdProducer.cc.
|eta|<2.6
Definition at line 62 of file PileupJPTJetIdProducer.cc.
References b, gather_cfg::cout, DEFINE_FWK_MODULE, reco::LeafCandidate::eta(), cms::PileupJPTJetIdAlgo::fillJPTBlock(), edm::Event::getByToken(), reco::JPTJet::getSpecific(), mps_fire::i, input_token_, metsig::jet, fwrapper::jets, eostools::move(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), pualgo, edm::Event::put(), verbosity, and reco::JPTJet::Specific::Zch.
71 for (
unsigned int i=0;
i<jets->size(); ++
i ) {
90 if(fabs(jet.
eta()) < 2.6 ) {
91 if( mvapu > 0.3 ) b = 0;
92 if( mvapu > 0.7 ) b = 1;
93 if( mvapu > 0.9 ) b = 2;
95 if( mvapu > -0.55 ) b = 0;
96 if( mvapu > -0.3 ) b = 1;
97 if( mvapu > -0.1 ) b = 2;
106 auto mvaout = std::make_unique<ValueMap<float>>();
108 mvafiller.insert(jets,mva.begin(),mva.end());
112 auto idflagout = std::make_unique<ValueMap<int>>();
114 idflagfiller.insert(jets,idflag.begin(),idflag.end());
virtual double pt() const final
transverse momentum
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
virtual double eta() const final
momentum pseudorapidity
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const Specific & getSpecific() const
block accessors
virtual double phi() const final
momentum azimuthal angle
Jets made from CaloJets corrected for ZSP and tracks.
edm::EDGetTokenT< edm::View< reco::JPTJet > > input_token_
cms::PileupJPTJetIdAlgo * pualgo
float fillJPTBlock(const reco::JPTJet *jet)