|
void | endJob () override |
|
| JetIdSelector (const edm::ParameterSet &iConfig) |
|
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
|
virtual | ~JetIdSelector () |
|
| 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 |
|
| 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) |
|
template<typename T>
class JetIdSelector< T >
Definition at line 59 of file JetIdSelector.cc.
Definition at line 156 of file JetIdSelector.cc.
References reco::PFJet::chargedEmEnergy(), reco::PFJet::chargedHadronEnergy(), reco::PFJet::chargedMultiplicity(), reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), edm::Event::getByLabel(), training_settings::idx, JetIdSelector< T >::jetIDMap_, fwrapper::jets, eostools::move(), reco::Jet::nConstituents(), reco::PFJet::neutralEmEnergy(), reco::PFJet::neutralHadronEnergy(), JetIdSelector< T >::nJetsPassed_, JetIdSelector< T >::nJetsTot_, TriggerAnalyzer::passed, edm::Event::put(), objectSelection_cff::selectedJets, JetIdSelector< T >::src_, JetIdSelector< T >::use_pfloose, JetIdSelector< T >::use_pfmedium, and JetIdSelector< T >::use_pftight.
173 iend = jets->end(), iJet = ibegin;
174 iJet != iend; ++iJet ) {
180 const std::type_info &
type =
typeid((*jets)[
idx]);
184 reco::JetID const & jetId = (*hJetIDMap)[ jetRef ];
185 passed = (*jetIDFunctor)( calojet, jetId);
191 bool passingLoose=
false;
192 bool passingMedium=
false;
193 bool passingTight=
false;
194 bool ThisIsClean=
true;
197 && fabs(pfjet.
eta())<2.4) ThisIsClean=
false;
199 && fabs(pfjet.
eta())<2.4 ) ThisIsClean=
false;
229 "Criteria for jets other than CaloJets and PFJets are not yet implemented";
234 const T& goodJet =
static_cast<const T&
>((*jets)[
idx]);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Jets made from CaloTowers.
float chargedEmEnergy() const
chargedEmEnergy
virtual double eta() const final
momentum pseudorapidity
int chargedMultiplicity() const
chargedMultiplicity
unsigned int nJetsPassed_
Jets made from PFObjects.
float neutralEmEnergy() const
neutralEmEnergy
Jets made from CaloJets corrected for ZSP and tracks.
virtual double energy() const final
energy
Jets made from MC generator particles.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual int nConstituents() const
of constituents
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
float neutralHadronEnergy() const
neutralHadronEnergy
float chargedHadronEnergy() const
chargedHadronEnergy