CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1t::Stage1Layer2JetAlgorithmImpHI Class Reference

#include <Stage1Layer2JetAlgorithmImp.h>

Inheritance diagram for l1t::Stage1Layer2JetAlgorithmImpHI:
l1t::Stage1Layer2JetAlgorithm

Public Member Functions

void processEvent (const std::vector< l1t::CaloRegion > &regions, const std::vector< l1t::CaloEmCand > &EMCands, std::vector< l1t::Jet > *jets, std::vector< l1t::Jet > *preGtJets) override
 
 Stage1Layer2JetAlgorithmImpHI (CaloParamsHelper const *params)
 
 ~Stage1Layer2JetAlgorithmImpHI () override=default
 
- Public Member Functions inherited from l1t::Stage1Layer2JetAlgorithm
virtual ~Stage1Layer2JetAlgorithm ()
 

Private Attributes

CaloParamsHelper const *const params_
 

Detailed Description

Author
: R. Alex Barbieri MIT

Definition at line 27 of file Stage1Layer2JetAlgorithmImp.h.

Constructor & Destructor Documentation

Stage1Layer2JetAlgorithmImpHI::Stage1Layer2JetAlgorithmImpHI ( CaloParamsHelper const *  params)

Definition at line 19 of file Stage1Layer2JetAlgorithmImpHI.cc.

19 : params_(params) { };
l1t::Stage1Layer2JetAlgorithmImpHI::~Stage1Layer2JetAlgorithmImpHI ( )
overridedefault

Member Function Documentation

void Stage1Layer2JetAlgorithmImpHI::processEvent ( const std::vector< l1t::CaloRegion > &  regions,
const std::vector< l1t::CaloEmCand > &  EMCands,
std::vector< l1t::Jet > *  jets,
std::vector< l1t::Jet > *  preGtJets 
)
overridevirtual

Implements l1t::Stage1Layer2JetAlgorithm.

Definition at line 21 of file Stage1Layer2JetAlgorithmImpHI.cc.

References l1t::HICaloRingSubtraction(), l1t::CaloParamsHelper::jetRegionMask(), l1t::CaloParamsHelper::jetSeedThreshold(), METSignificanceParams_cfi::jetThreshold, l1t::JetToGtEtaScales(), l1t::JetToGtPtScales(), params_, l1t::SortJets(), and l1t::TwoByTwoFinder().

24  {
25 
26  //std::vector<double> regionPUSParams = params_->regionPUSParams();
28 
29  unsigned int etaMask = params_->jetRegionMask();
30 
31  std::vector<l1t::CaloRegion> subRegions;
32  std::vector<l1t::Jet> unSortedJets;
33  std::vector<l1t::Jet> preGtEtaJets;
34  std::vector<l1t::Jet> preRankJets;
35 
36  HICaloRingSubtraction(regions, &subRegions, params_);
37  TwoByTwoFinder(jetThreshold, etaMask, &subRegions, &preRankJets);
38  //slidingWindowJetFinder(0, subRegions, unSortedJets);
39  JetToGtPtScales(params_, &preRankJets, &unSortedJets);
40  SortJets(&unSortedJets, &preGtEtaJets);
41  JetToGtEtaScales(params_, &preGtEtaJets, preGtJets);
42  JetToGtEtaScales(params_, &preGtEtaJets, jets);
43  //JetToGtPtScales(params_, preGtJets, jets);
44 }
void SortJets(std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
void TwoByTwoFinder(const int, const int, const std::vector< l1t::CaloRegion > *regions, std::vector< l1t::Jet > *uncalibjets)
void JetToGtEtaScales(CaloParamsHelper const *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
vector< PseudoJet > jets
void JetToGtPtScales(CaloParamsHelper const *params, const std::vector< l1t::Jet > *input, std::vector< l1t::Jet > *output)
double jetSeedThreshold() const
void HICaloRingSubtraction(const std::vector< l1t::CaloRegion > &regions, std::vector< l1t::CaloRegion > *subRegions, CaloParamsHelper const *params)
------------— For heavy ion ----------------------------------—

Member Data Documentation

CaloParamsHelper const* const l1t::Stage1Layer2JetAlgorithmImpHI::params_
private

Definition at line 36 of file Stage1Layer2JetAlgorithmImp.h.

Referenced by processEvent().