Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:28

0001 #ifndef L1Trigger_L1CaloTrigger_ParametricCalibration_h
0002 #define L1Trigger_L1CaloTrigger_ParametricCalibration_h
0003 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0004 #include "FWCore/Utilities/interface/Exception.h"
0005 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0007 #include <vector>
0008 #include <cmath>
0009 #include <iostream>
0010 
0011 namespace l1tp2 {
0012   class ParametricCalibration {
0013   public:
0014     ParametricCalibration() {}
0015     ParametricCalibration(const edm::ParameterSet& cpset);
0016     static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0017 
0018     float operator()(const float pt, const float abseta) const;
0019 
0020   protected:
0021     std::vector<float> etas, pts, scales;
0022   };
0023 
0024 };  // namespace l1tp2
0025 
0026 #endif