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 32 of file CaloTowerCreatorForTauHLT.h.
process one event
Definition at line 37 of file CaloTowerCreatorForTauHLT.cc.
References eleHcalExtractorBlocks_cff::caloTowers, egammaForCoreTracking_cff::cands, 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().
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.
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
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
double phi() const final
momentum azimuthal angle