Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:16

0001 // JetFinderMethods.h
0002 // Author: Alex Barbieri
0003 //
0004 // This file should contain the different algorithms used to find jets.
0005 // Currently the standard is the sliding window method, used by both
0006 // HI and PP.
0007 
0008 #ifndef JETFINDERMETHODS_H
0009 #define JETFINDERMETHODS_H
0010 
0011 #include "DataFormats/L1TCalorimeter/interface/CaloRegion.h"
0012 #include "DataFormats/L1Trigger/interface/Jet.h"
0013 
0014 #include "DataFormats/L1CaloTrigger/interface/L1CaloRegionDetId.h"
0015 
0016 #include <vector>
0017 
0018 namespace l1t {
0019 
0020   int deltaGctPhi(const CaloRegion& region, const CaloRegion& neighbor);
0021   void slidingWindowJetFinder(const int,
0022                               const std::vector<l1t::CaloRegion>* regions,
0023                               std::vector<l1t::Jet>* uncalibjets);
0024   void TwelveByTwelveFinder(const int, const std::vector<l1t::CaloRegion>* regions, std::vector<l1t::Jet>* uncalibjets);
0025   void passThroughJets(const std::vector<l1t::CaloRegion>* regions, std::vector<l1t::Jet>* uncalibjets);
0026   void TwoByTwoFinder(const int,
0027                       const int,
0028                       const std::vector<l1t::CaloRegion>* regions,
0029                       std::vector<l1t::Jet>* uncalibjets);
0030 }  // namespace l1t
0031 
0032 #endif