CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Stage2Layer2JetAlgorithmFirmware.h
Go to the documentation of this file.
1 
10 //
11 //
12 
13 #ifndef Stage2Layer2JetAlgorithmFirmware_H
14 #define Stage2Layer2JetAlgorithmFirmware_H
15 
18 
19 namespace l1t {
20 
21  // Imp1 is for v1 and v2
23  public:
26  virtual void processEvent(const std::vector<CaloTower> & towers,
27  std::vector<Jet> & jets, std::vector<Jet> & alljets);
28 
29  void create(const std::vector<CaloTower> & towers,
30  std::vector<Jet> & jets, std::vector<Jet> & alljets, std::string PUSubMethod);
31 
32  void calibrate(std::vector<Jet> & jets, int calibThreshold);
33 
34  double calibFit(double*, double*);
35 
36  int donutPUEstimate(int jetEta, int jetPhi, int size,
37  const std::vector<l1t::CaloTower> & towers);
38 
39  int chunkyDonutPUEstimate(int jetEta, int jetPhi, int pos,
40  const std::vector<l1t::CaloTower> & towers);
41 
42  private:
43 
45 
46  };
47 
48 }
49 
50 #endif
void calibrate(std::vector< Jet > &jets, int calibThreshold)
int donutPUEstimate(int jetEta, int jetPhi, int size, const std::vector< l1t::CaloTower > &towers)
vector< PseudoJet > jets
virtual void processEvent(const std::vector< CaloTower > &towers, std::vector< Jet > &jets, std::vector< Jet > &alljets)
void create(const std::vector< CaloTower > &towers, std::vector< Jet > &jets, std::vector< Jet > &alljets, std::string PUSubMethod)
tuple size
Write out results.
int chunkyDonutPUEstimate(int jetEta, int jetPhi, int pos, const std::vector< l1t::CaloTower > &towers)