Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
TauSpinner::SimpleParticle | convertToSimplePart (const reco::GenParticle &input_part) const |
void | getBosons (edm::RefVector< edm::View< reco::GenParticle >> &bosons, const edm::View< reco::GenParticle > &parts) const |
void | printModuleInfo (edm::ParameterSet const &config) const |
Static Private Member Functions | |
static reco::GenParticleRef | getLastCopy (const reco::GenParticleRef &part) |
static bool | getTauDaughters (reco::GenParticleRefVector &tau_daughters, const reco::GenParticle &tau) |
static void | getTaus (reco::GenParticleRefVector &taus, const reco::GenParticle &boson) |
static std::vector< std::pair< std::string, double > > | nameAndValue (const std::vector< double > &val_vec) |
Private Attributes | |
const int | bosonPdgId_ |
const double | cmsE_ |
const double | default_weight_ |
const edm::EDGetTokenT< edm::View< reco::GenParticle > > | genPartsToken_ |
const int | ipol_ |
const bool | ipp_ |
const std::string | name_ |
const int | nonSM2_ |
const int | nonSMN_ |
const std::string | tauSpinnerPDF_ |
const std::vector< std::pair< std::string, double > > | theta_vec_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Description: Produces FlatTable with TauSpinner weights for H->tau,tau events
Original Author: D. Winterbottom (IC) Update and adaptation to NanoAOD: M. Bluj (NCBJ)
Definition at line 27 of file TauSpinnerTableProducer.cc.
|
explicit |
Definition at line 97 of file TauSpinnerTableProducer.cc.
References edm::SharedResourceNames::kTauola, and printModuleInfo().
|
finalvirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 172 of file TauSpinnerTableProducer.cc.
References cmsE_, initialize(), ipol_, ipp_, nonSM2_, nonSMN_, and tauSpinnerPDF_.
|
inlineprivate |
Definition at line 50 of file TauSpinnerTableProducer.cc.
References reco::LeafCandidate::energy(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
Referenced by produce().
|
inlinestatic |
Definition at line 33 of file TauSpinnerTableProducer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 121 of file TauSpinnerTableProducer.cc.
References funct::abs(), bosonPdgId_, and heavyIonCSV_trainingSettings::idx.
Referenced by produce().
|
staticprivate |
Definition at line 133 of file TauSpinnerTableProducer.cc.
Referenced by getTaus().
|
staticprivate |
Definition at line 151 of file TauSpinnerTableProducer.cc.
References funct::abs(), and edm::RefVector< C, T, F >::push_back().
Referenced by produce().
|
staticprivate |
Definition at line 144 of file TauSpinnerTableProducer.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughterRefVector(), getLastCopy(), and Tau3MuMonitor_cff::taus.
Referenced by produce().
|
inlinestaticprivate |
Definition at line 55 of file TauSpinnerTableProducer.cc.
References mergeVDriftHistosByStation::name, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_QueryRunRegistry::string, to_string(), and heppy_batch::val.
|
inlineprivate |
Definition at line 72 of file TauSpinnerTableProducer.cc.
References gather_cfg::cout, alcaDQMUpload::encode(), AlCaHLTBitMon_QueryRunRegistry::string, tauSpinnerTable_cfi::theta, and theta_vec_.
Referenced by TauSpinnerTableProducer().
|
finalvirtual |
Implements edm::one::EDProducerBase.
Definition at line 180 of file TauSpinnerTableProducer.cc.
References convertToSimplePart(), funct::cos(), default_weight_, genPartsToken_, getBosons(), getTauDaughters(), getTaus(), mps_fire::i, M_PI, eostools::move(), name_, funct::sin(), edm::RefVector< C, T, F >::size(), Tau3MuMonitor_cff::taus, tauSpinnerTable_cfi::theta, theta_vec_, and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
|
private |
Definition at line 87 of file TauSpinnerTableProducer.cc.
Referenced by getBosons().
|
private |
Definition at line 93 of file TauSpinnerTableProducer.cc.
Referenced by beginJob().
|
private |
Definition at line 94 of file TauSpinnerTableProducer.cc.
Referenced by produce().
|
private |
Definition at line 84 of file TauSpinnerTableProducer.cc.
Referenced by produce().
|
private |
Definition at line 90 of file TauSpinnerTableProducer.cc.
Referenced by beginJob().
|
private |
Definition at line 89 of file TauSpinnerTableProducer.cc.
Referenced by beginJob().
|
private |
Definition at line 85 of file TauSpinnerTableProducer.cc.
Referenced by produce().
|
private |
Definition at line 91 of file TauSpinnerTableProducer.cc.
Referenced by beginJob().
|
private |
Definition at line 92 of file TauSpinnerTableProducer.cc.
Referenced by beginJob().
|
private |
Definition at line 88 of file TauSpinnerTableProducer.cc.
Referenced by beginJob().
|
private |
Definition at line 86 of file TauSpinnerTableProducer.cc.
Referenced by printModuleInfo(), and produce().