Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:23:00

0001 #ifndef __L1Trigger_L1THGCal_HGCalVFELinearizationImpl_h__
0002 #define __L1Trigger_L1THGCal_HGCalVFELinearizationImpl_h__
0003 
0004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0005 #include "DataFormats/HGCDigi/interface/HGCDigiCollections.h"
0006 
0007 #include <vector>
0008 #include <utility>
0009 
0010 class HGCalVFELinearizationImpl {
0011 public:
0012   HGCalVFELinearizationImpl(const edm::ParameterSet& conf);
0013 
0014   void linearize(const std::vector<HGCalDataFrame>&, std::vector<std::pair<DetId, uint32_t>>&);
0015 
0016 private:
0017   double adcLSB_;
0018   double linLSB_;
0019   double adcsaturation_;
0020   uint32_t tdcnBits_;
0021   double tdcOnset_;
0022   uint32_t adcnBits_;
0023   double tdcsaturation_;
0024   double tdcLSB_;
0025   //
0026   uint32_t linMax_;
0027   uint32_t linnBits_;
0028   std::vector<double> oot_coefficients_;
0029 };
0030 
0031 #endif