|
| PileupJPTJetIdProducer (const edm::ParameterSet &) |
|
| ~PileupJPTJetIdProducer () |
|
| EDProducer () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducer () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription
const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
virtual | ~ProducerBase () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Definition at line 23 of file PileupJPTJetIdProducer.cc.
|eta|<2.6
Implements edm::EDProducer.
Definition at line 67 of file PileupJPTJetIdProducer.cc.
References b, gather_cfg::cout, reco::LeafCandidate::eta(), cms::PileupJPTJetIdAlgo::fillJPTBlock(), edm::Event::getByToken(), reco::JPTJet::getSpecific(), i, input_token_, metsig::jet, fwrapper::jets, HLT_25ns10e33_v2_cff::mva, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), pualgo, edm::Event::put(), dt_dqm_sourceclient_common_cff::reco, verbosity, and reco::JPTJet::Specific::Zch.
76 for (
unsigned int i=0;
i<
jets->size(); ++
i ) {
95 if(fabs(jet.
eta()) < 2.6 ) {
96 if( mvapu > 0.3 ) b = 0;
97 if( mvapu > 0.7 ) b = 1;
98 if( mvapu > 0.9 ) b = 2;
100 if( mvapu > -0.55 ) b = 0;
101 if( mvapu > -0.3 ) b = 1;
102 if( mvapu > -0.1 ) b = 2;
115 iEvent.
put(mvaout,
"JPTPUDiscriminant");
119 idflagfiller.insert(
jets,idflag.begin(),idflag.end());
121 iEvent.
put(idflagout,
"JPTPUId");
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const Specific & getSpecific() const
block accessors
virtual double phi() const final
momentum azimuthal angle
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
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)
virtual double eta() const final
momentum pseudorapidity
virtual double pt() const final
transverse momentum