Public Types | |
using | ConstituentsOutput = C |
using | JetsOutput = std::vector< T > |
using | ValueType = typename C::value_type |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Member Functions | |
ConstituentsOutput::value_type const | initptr (edm::Ptr< reco::Candidate > const &dau) const |
template<> | |
edm::Ptr< pat::PackedCandidate > const | initptr (edm::Ptr< reco::Candidate > const &dau) const |
template<> | |
edm::Ptr< pat::PackedGenParticle > const | initptr (edm::Ptr< reco::Candidate > const &dau) const |
JetConstituentSelector (edm::ParameterSet const ¶ms) | |
void | produce (edm::Event &iEvent, edm::EventSetup const &iSetup) override |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
StringCutObjectSelector< T > const | selector_ |
edm::EDGetTokenT< edm::View< T > > const | srcToken_ |
bool | unpackAK8_ |
Definition at line 35 of file JetConstituentSelector.cc.
using JetConstituentSelector< T, C >::ConstituentsOutput = C |
Definition at line 39 of file JetConstituentSelector.cc.
using JetConstituentSelector< T, C >::JetsOutput = std::vector<T> |
Definition at line 38 of file JetConstituentSelector.cc.
using JetConstituentSelector< T, C >::ValueType = typename C::value_type |
Definition at line 40 of file JetConstituentSelector.cc.
|
inline |
Definition at line 42 of file JetConstituentSelector.cc.
References edm::ParameterSet::getParameter(), JetConstituentSelector< T, C >::selector_, AlCaHLTBitMon_QueryRunRegistry::string, and JetConstituentSelector< T, C >::unpackAK8_.
|
inlinestatic |
Definition at line 51 of file JetConstituentSelector.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 67 of file JetConstituentSelector.cc.
Referenced by JetConstituentSelector< T, C >::produce().
edm::Ptr< pat::PackedCandidate > const JetConstituentSelector< pat::Jet, std::vector< edm::Ptr< pat::PackedCandidate > > >::initptr | ( | edm::Ptr< reco::Candidate > const & | dau | ) | const |
Definition at line 122 of file JetConstituentSelector.cc.
edm::Ptr< pat::PackedGenParticle > const JetConstituentSelector< reco::GenJet, std::vector< edm::Ptr< pat::PackedGenParticle > > >::initptr | ( | edm::Ptr< reco::Candidate > const & | dau | ) | const |
Definition at line 129 of file JetConstituentSelector.cc.
|
inlineoverride |
Definition at line 71 of file JetConstituentSelector.cc.
References edm::Event::getByToken(), JetConstituentSelector< T, C >::initptr(), metsig::jet, fwrapper::jets, eostools::move(), edm::Event::put(), JetConstituentSelector< T, C >::selector_, JetConstituentSelector< T, C >::srcToken_, and JetConstituentSelector< T, C >::unpackAK8_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 116 of file JetConstituentSelector.cc.
Referenced by JetConstituentSelector< T, C >::JetConstituentSelector(), and JetConstituentSelector< T, C >::produce().
|
private |
Definition at line 115 of file JetConstituentSelector.cc.
Referenced by JetConstituentSelector< T, C >::produce().
|
private |
Definition at line 117 of file JetConstituentSelector.cc.
Referenced by JetConstituentSelector< T, C >::JetConstituentSelector(), and JetConstituentSelector< T, C >::produce().