Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:36:51

0001 ///step03
0002 /// \class l1t::Stage1Layer2EGammaAlgorithm
0003 ///
0004 /// Description: interface for MP firmware
0005 ///
0006 /// Implementation:
0007 ///
0008 /// \authors: Jim Brooke - University of Bristol
0009 ///           Kalanand Mishra - Fermilab
0010 ///
0011 
0012 //
0013 
0014 #ifndef Stage1Layer2EGammaAlgorithm_h
0015 #define Stage1Layer2EGammaAlgorithm_h
0016 
0017 #include "FWCore/Framework/interface/Frameworkfwd.h"
0018 #include "DataFormats/L1TCalorimeter/interface/CaloRegion.h"
0019 
0020 #include "DataFormats/L1Trigger/interface/EGamma.h"
0021 #include "DataFormats/L1Trigger/interface/Jet.h"
0022 
0023 #include "L1Trigger/L1TCalorimeter/interface/L1GObject.h"
0024 #include "DataFormats/L1TCalorimeter/interface/CaloEmCand.h"
0025 
0026 #include <vector>
0027 
0028 namespace l1t {
0029 
0030   class Stage1Layer2EGammaAlgorithm {
0031   public:
0032     virtual void processEvent(const std::vector<l1t::CaloEmCand>& EMCands,
0033                               const std::vector<l1t::CaloRegion>& regions,
0034                               const std::vector<l1t::Jet>* jets,
0035                               std::vector<l1t::EGamma>* egammas) = 0;
0036 
0037     virtual ~Stage1Layer2EGammaAlgorithm() {}
0038 
0039   private:
0040     // double Isolation(int ieta, int iphi,
0041     //           const std::vector<l1t::CaloRegion> & regions)  const;
0042     // double HoverE(int et, int ieta, int iphi,
0043     //        const std::vector<l1t::CaloRegion> & regions)  const;
0044     // unsigned int egtSeed;
0045     // double relativeIsolationCut;
0046     // double HoverECut;
0047   };
0048 
0049 }  // namespace l1t
0050 
0051 #endif