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 27 of file CaloTowerCreatorForTauHLT.h.
process one event
Implements edm::EDProducer.
Definition at line 40 of file CaloTowerCreatorForTauHLT.cc.
References ExpressReco_HICollisions_FallBack::caloTowers, gather_cfg::cout, delta, reco::LeafCandidate::energy(), CaloTower::et(), reco::LeafCandidate::eta(), edm::Event::getByLabel(), mCone, mEThreshold, mEtThreshold, mTauId, mTauTrigger, mtowers, mVerbose, L1TEmulatorMonitor_cff::p, reco::LeafCandidate::phi(), and edm::Event::put().
42 evt.getByLabel(
mtowers, caloTowers );
48 cands->reserve( caloTowers->size() );
51 L1JetParticleCollection::const_iterator myL1Jet = jetsgen->begin();
52 for(;myL1Jet != jetsgen->end();myL1Jet++)
59 for (; idx < caloTowers->size(); idx++) {
60 const CaloTower* cal = &((*caloTowers) [idx]);
62 std::cout <<
"CaloTowerCreatorForTauHLT::produce-> " << idx <<
" tower et/eta/phi/e: "
63 << cal->
et() <<
'/' << cal->
eta() <<
'/' << cal->
phi() <<
'/' << cal->
energy() <<
" is...";
67 double delta = ROOT::Math::VectorUtil::DeltaR((*myL1Jet).p4().Vect(),
p);
71 cands->push_back( *cal );
double mEThreshold
E threshold.
double mEtThreshold
ET threshold.
virtual double eta() const
momentum pseudorapidity
virtual double energy() const
energy
double mCone
use only towers in cone mCone around L1 candidate for regional jet reco
edm::InputTag mTauTrigger
label of tau trigger type analysis
PtEtaPhiELorentzVectorD PtEtaPhiELorentzVector
Lorentz vector with cartesian internal representation.
edm::InputTag mtowers
label of source collection
double et(double vtxZ) const
virtual double phi() const
momentum azimuthal angle