|
| CaloTowerCreatorForTauHLT (const edm::ParameterSet &) |
| constructor from parameter set More...
|
|
| ~CaloTowerCreatorForTauHLT () |
| destructor More...
|
|
| EDProducer () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducer () |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription
const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
virtual | ~ProducerBase () |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
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 HiRecoJets_cff::caloTowers, gather_cfg::cout, delta, reco::LeafCandidate::energy(), CaloTower::et(), reco::LeafCandidate::eta(), edm::Event::getByLabel(), customizeTrackingMonitorSeedNumber::idx, mCone, mEThreshold, mEtThreshold, mTauId, mTauTrigger, mtowers, mVerbose, AlCaHLTBitMon_ParallelJobs::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++) {
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 );
virtual double energy() const GCC11_FINAL
energy
double mEThreshold
E threshold.
double mEtThreshold
ET threshold.
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
double mCone
use only towers in cone mCone around L1 candidate for regional jet reco
edm::InputTag mTauTrigger
label of tau trigger type analysis
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
PtEtaPhiELorentzVectorD PtEtaPhiELorentzVector
Lorentz vector with cartesian internal representation.
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
edm::InputTag mtowers
label of source collection
double et(double vtxZ) const