Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef L1Trigger_L1TMuonBarrel_L1TMuonBarrelKalmanLUTs_h
0002 #define L1Trigger_L1TMuonBarrel_L1TMuonBarrelKalmanLUTs_h
0003 
0004 #include <cstdlib>
0005 #include "TH1.h"
0006 #include "TFile.h"
0007 #include <map>
0008 
0009 class L1TMuonBarrelKalmanLUTs {
0010 public:
0011   L1TMuonBarrelKalmanLUTs(const std::string &);
0012   ~L1TMuonBarrelKalmanLUTs();
0013 
0014   std::vector<float> trackGain(uint, uint, uint);
0015   std::vector<float> trackGain2(uint, uint, uint, uint, uint);
0016   std::pair<float, float> vertexGain(uint, uint);
0017   uint coarseEta(uint, uint);
0018 
0019 private:
0020   TFile *lutFile_;
0021   std::map<uint, const TH1 *> lut_;
0022   std::map<uint, const TH1 *> lut2HH_;
0023   std::map<uint, const TH1 *> lut2LH_;
0024   std::map<uint, const TH1 *> lut2HL_;
0025   std::map<uint, const TH1 *> lut2LL_;
0026   std::map<uint, const TH1 *> coarseEta_;
0027 };
0028 
0029 #endif