Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-08 22:26:30

0001 #ifndef __L1Trigger_L1THGCal_HGCalTriggerCellCalibration_h__
0002 #define __L1Trigger_L1THGCal_HGCalTriggerCellCalibration_h__
0003 
0004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0005 
0006 #include "DataFormats/L1THGCal/interface/HGCalTriggerCell.h"
0007 #include "L1Trigger/L1THGCal/interface/HGCalTriggerTools.h"
0008 
0009 class HGCalTriggerCellCalibration {
0010 public:
0011   HGCalTriggerCellCalibration(const edm::ParameterSet& conf);
0012   void setGeometry(const HGCalTriggerGeometryBase* const geom) { triggerTools_.setGeometry(geom); }
0013   void calibrateInMipT(l1t::HGCalTriggerCell&) const;
0014   void calibrateMipTinGeV(l1t::HGCalTriggerCell&) const;
0015   void calibrateInGeV(l1t::HGCalTriggerCell&) const;
0016 
0017 private:
0018   double lsb_;
0019   std::vector<double> fCperMIP_;
0020   std::vector<double> chargeCollectionEfficiency_;
0021   std::vector<double> thicknessCorrection_;
0022   std::vector<double> dEdX_weights_;
0023 
0024   HGCalTriggerTools triggerTools_;
0025 };
0026 
0027 #endif