#include <AlphaTVarProducer.h>
Private Member Functions | |
double | CalcAlphaT (const std::vector< TLorentzVector > &) |
Static Private Member Functions | |
static double | alphaT (const double, const double, const double) |
static double | CalcHT (const std::vector< TLorentzVector > &) |
static double | CalcMHT (const std::vector< TLorentzVector > &) |
static double | deltaHt (const std::vector< double > &) |
Private Attributes | |
edm::InputTag | inputJetTag_ |
edm::EDGetTokenT< reco::CaloJetCollection > | inputJetTagToken_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
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 |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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) |
Definition at line 16 of file AlphaTVarProducer.h.
|
explicit |
Definition at line 26 of file AlphaTVarProducer.cc.
References edm::InputTag::encode(), edm::ParameterSet::getParameter(), inputJetTag_, inputJetTagToken_, and LogDebug.
|
override |
Definition at line 36 of file AlphaTVarProducer.cc.
|
staticprivate |
Definition at line 104 of file AlphaTVarProducer.cc.
References nanoDQM_cfi::MHT, and mathSSE::sqrt().
Referenced by CalcAlphaT(), and produce().
|
private |
Definition at line 68 of file AlphaTVarProducer.cc.
References alphaT(), CalcHT(), CalcMHT(), deltaHt(), mps_fire::i, PDWG_EXODelayedJetMET_cff::jets, and nanoDQM_cfi::MHT.
Referenced by produce().
|
staticprivate |
Definition at line 108 of file AlphaTVarProducer.cc.
References tmtt::Utility::HT, mps_fire::i, and PDWG_EXODelayedJetMET_cff::jets.
Referenced by CalcAlphaT(), and produce().
|
staticprivate |
Definition at line 118 of file AlphaTVarProducer.cc.
References mps_fire::i, PDWG_EXODelayedJetMET_cff::jets, and nanoDQM_cfi::MHT.
Referenced by CalcAlphaT().
|
staticprivate |
Definition at line 89 of file AlphaTVarProducer.cc.
References change_name::diff, mps_fire::i, dqmiolumiharvest::j, and SiStripPI::min.
Referenced by CalcAlphaT().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 39 of file AlphaTVarProducer.cc.
References alphaT(), CalcAlphaT(), CalcHT(), iEvent, inputJetTagToken_, edm::HandleBase::isValid(), dqmiolumiharvest::j, eostools::move(), and mps_fire::result.
|
private |
Definition at line 29 of file AlphaTVarProducer.h.
Referenced by AlphaTVarProducer().
|
private |
Definition at line 32 of file AlphaTVarProducer.h.
Referenced by AlphaTVarProducer(), and produce().