#include <CaloTowerCreatorForTauHLT.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &desc) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | produce (edm::StreamID sid, edm::Event &evt, const edm::EventSetup &stp) const override |
process one event More... | |
Private Attributes | |
const double | mCone |
use only towers in cone mCone around L1 candidate for regional jet reco More... | |
const double | mEThreshold |
E threshold. More... | |
const double | mEtThreshold |
imitator of L1 seeds More... | |
const int | mTauId |
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > | mTauTrigger_token |
label of tau trigger type analysis More... | |
const edm::EDGetTokenT< CaloTowerCollection > | mtowers_token |
label of source collection More... | |
const int | mVerbose |
verbosity More... | |
Additional Inherited Members | |
Public Types inherited from edm::global::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 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) |
Framework module that produces a collection of calo towers in the region of interest for Tau HLT reconnstruction, depending on tau type trigger:
Tau1 - take location of 1st L1 Tau Tau2 - take location of 2nd L1 Tau; if does not exists, take location of 1st Calo Tower ETau - take L1 Tau candidate which is not collinear to HLT (or L1) electron candidate.
Definition at line 32 of file CaloTowerCreatorForTauHLT.h.
CaloTowerCreatorForTauHLT::CaloTowerCreatorForTauHLT | ( | const edm::ParameterSet & | p | ) |
constructor from parameter set
Definition at line 21 of file CaloTowerCreatorForTauHLT.cc.
|
override |
|
static |
Definition at line 81 of file CaloTowerCreatorForTauHLT.cc.
References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and edm::ParameterDescriptionNode::setComment().
|
overrideprivatevirtual |
process one event
Implements edm::global::EDProducerBase.
Definition at line 34 of file CaloTowerCreatorForTauHLT.cc.
References eleHcalExtractorBlocks_cff::caloTowers, HLT_2023v12_cff::cands, dumpMFGeometry_cfg::delta, electronAnalyzer_cfi::DeltaR, reco::LeafCandidate::energy(), CaloTower::et(), reco::LeafCandidate::eta(), edm::Event::getByToken(), heavyIonCSV_trainingSettings::idx, mCone, mEThreshold, mEtThreshold, eostools::move(), mTauId, mTauTrigger_token, mtowers_token, mVerbose, AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::phi(), and edm::Event::put().
|
private |
use only towers in cone mCone around L1 candidate for regional jet reco
Definition at line 50 of file CaloTowerCreatorForTauHLT.h.
Referenced by produce().
|
private |
|
private |
imitator of L1 seeds
ET threshold
Definition at line 56 of file CaloTowerCreatorForTauHLT.h.
Referenced by produce().
|
private |
Definition at line 60 of file CaloTowerCreatorForTauHLT.h.
Referenced by produce().
|
private |
label of tau trigger type analysis
Definition at line 52 of file CaloTowerCreatorForTauHLT.h.
Referenced by produce().
|
private |
label of source collection
Definition at line 48 of file CaloTowerCreatorForTauHLT.h.
Referenced by produce().
|
private |