#include <CaloTowerFromL1TCreatorForTauHLT.h>
Public Member Functions | |
CaloTowerFromL1TCreatorForTauHLT (const edm::ParameterSet &) | |
constructor from parameter set More... | |
~CaloTowerFromL1TCreatorForTauHLT () | |
destructor More... | |
Public Member Functions inherited from edm::global::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::global::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
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) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
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) |
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 int | mBX |
bunch crossing More... | |
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< l1t::TauBxCollection > | 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 | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
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 30 of file CaloTowerFromL1TCreatorForTauHLT.h.
CaloTowerFromL1TCreatorForTauHLT::CaloTowerFromL1TCreatorForTauHLT | ( | const edm::ParameterSet & | p | ) |
constructor from parameter set
Definition at line 20 of file CaloTowerFromL1TCreatorForTauHLT.cc.
CaloTowerFromL1TCreatorForTauHLT::~CaloTowerFromL1TCreatorForTauHLT | ( | ) |
|
static |
Definition at line 91 of file CaloTowerFromL1TCreatorForTauHLT.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), and edm::ConfigurationDescriptions::setComment().
|
overrideprivate |
process one event
Definition at line 37 of file CaloTowerFromL1TCreatorForTauHLT.cc.
References BXVector< T >::begin(), eleHcalExtractorBlocks_cff::caloTowers, delta, HiRegitMuonDetachedTripletStep_cff::DeltaR, BXVector< T >::end(), reco::LeafCandidate::energy(), CaloTower::et(), reco::LeafCandidate::eta(), edm::Event::getByToken(), training_settings::idx, edm::HandleBase::isValid(), mBX, mCone, mEThreshold, mEtThreshold, eostools::move(), mTauId, mTauTrigger_token, mtowers_token, mVerbose, AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::phi(), edm::Event::put(), and edm::SortedCollection< T, SORT >::size().
|
private |
bunch crossing
Definition at line 44 of file CaloTowerFromL1TCreatorForTauHLT.h.
Referenced by produce().
|
private |
use only towers in cone mCone around L1 candidate for regional jet reco
Definition at line 50 of file CaloTowerFromL1TCreatorForTauHLT.h.
Referenced by produce().
|
private |
E threshold.
Definition at line 58 of file CaloTowerFromL1TCreatorForTauHLT.h.
Referenced by produce().
|
private |
imitator of L1 seeds
ET threshold
Definition at line 56 of file CaloTowerFromL1TCreatorForTauHLT.h.
Referenced by produce().
|
private |
Definition at line 60 of file CaloTowerFromL1TCreatorForTauHLT.h.
Referenced by produce().
|
private |
label of tau trigger type analysis
Definition at line 52 of file CaloTowerFromL1TCreatorForTauHLT.h.
Referenced by produce().
|
private |
label of source collection
Definition at line 48 of file CaloTowerFromL1TCreatorForTauHLT.h.
Referenced by produce().
|
private |
verbosity
Definition at line 46 of file CaloTowerFromL1TCreatorForTauHLT.h.
Referenced by produce().