|
| CaloTowerCreatorForTauHLT (const edm::ParameterSet &) |
| constructor from parameter set More...
|
|
| ~CaloTowerCreatorForTauHLT () |
| destructor More...
|
|
| EDProducer ()=default |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducerBase () |
|
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) |
|
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) |
|
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.
- Author
- A. Nikitenko. IC. based on L. Lista and J. Mans
Definition at line 31 of file CaloTowerCreatorForTauHLT.h.
process one event
Definition at line 37 of file CaloTowerCreatorForTauHLT.cc.
References eleHcalExtractorBlocks_cff::caloTowers, delta, HiRegitMuonDetachedTripletStep_cff::DeltaR, reco::LeafCandidate::energy(), CaloTower::et(), reco::LeafCandidate::eta(), edm::Event::getByToken(), training_settings::idx, 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().
46 cands->reserve( caloTowers->
size() );
49 L1JetParticleCollection::const_iterator myL1Jet = jetsgen->begin();
50 for(;myL1Jet != jetsgen->end();myL1Jet++)
57 for (; idx < caloTowers->
size(); idx++) {
59 bool isAccepted =
false;
61 edm::LogInfo(
"JetDebugInfo") <<
"CaloTowerCreatorForTauHLT::produce-> " << idx <<
" tower et/eta/phi/e: " 62 << cal->
et() <<
'/' << cal->
eta() <<
'/' << cal->
phi() <<
'/' << cal->
energy() <<
" is...";
71 cands->push_back( *cal );
75 if (isAccepted)
edm::LogInfo(
"JetDebugInfo") <<
"accepted \n";
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
virtual double eta() const final
momentum pseudorapidity
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const int mVerbose
verbosity
const double mCone
use only towers in cone mCone around L1 candidate for regional jet reco
virtual double phi() const final
momentum azimuthal angle
virtual double energy() const final
energy
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > mTauTrigger_token
label of tau trigger type analysis
PtEtaPhiELorentzVectorD PtEtaPhiELorentzVector
Lorentz vector with cartesian internal representation.
const edm::EDGetTokenT< CaloTowerCollection > mtowers_token
label of source collection
double et(double vtxZ) const
const double mEThreshold
E threshold.
const double mEtThreshold
imitator of L1 seeds