CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Stage2Layer2TauAlgorithmFirmware.h
Go to the documentation of this file.
1 
10 //
11 //
12 
13 #ifndef Stage2Layer2TauAlgorithmFirmware_H
14 #define Stage2Layer2TauAlgorithmFirmware_H
15 
18 
19 namespace l1t {
20 
21  // Imp1 is for v1 and v2
23  public:
24  Stage2Layer2TauAlgorithmFirmwareImp1(CaloParamsHelper* params); //const CaloMainProcessorParams & dbPars);
26  virtual void processEvent(const std::vector<CaloCluster> & clusters,
27  const std::vector<CaloTower>& towers,
28  std::vector<Tau> & taus);
29 
30  private:
31  void merging(const std::vector<l1t::CaloCluster>& clusters, const std::vector<l1t::CaloTower>& towers, std::vector<l1t::Tau>& taus);
32 
33  // isolation
34  int isoCalTauHwFootPrint(const l1t::CaloCluster&,const std::vector<l1t::CaloTower>&);
35 
36  //calibration
37  void loadCalibrationLuts();
38 
39  double calibratedPt(int hwPtEm, int hwPtHad, int ieta);
40 
41  // parameters
43  std::vector<std::vector<float> >coefficients_;
44 
49 
50  unsigned int isoLutIndex(int Et, unsigned int nrTowers);
51  };
52 
53 }
54 
55 #endif
unsigned int isoLutIndex(int Et, unsigned int nrTowers)
virtual void processEvent(const std::vector< CaloCluster > &clusters, const std::vector< CaloTower > &towers, std::vector< Tau > &taus)
double calibratedPt(int hwPtEm, int hwPtHad, int ieta)
int isoCalTauHwFootPrint(const l1t::CaloCluster &, const std::vector< l1t::CaloTower > &)
void merging(const std::vector< l1t::CaloCluster > &clusters, const std::vector< l1t::CaloTower > &towers, std::vector< l1t::Tau > &taus)