Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef __L1Trigger_L1THGCal_HGCalClusteringDummyImpl_h__
0002 #define __L1Trigger_L1THGCal_HGCalClusteringDummyImpl_h__
0003 
0004 #include <array>
0005 #include <string>
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007 #include "L1Trigger/L1THGCal/interface/HGCalTriggerGeometryBase.h"
0008 #include "DataFormats/L1THGCal/interface/HGCalTriggerCell.h"
0009 #include "DataFormats/L1THGCal/interface/HGCalCluster.h"
0010 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0011 #include "L1Trigger/L1THGCal/interface/HGCalTriggerTools.h"
0012 
0013 class HGCalClusteringDummyImpl {
0014 public:
0015   HGCalClusteringDummyImpl(const edm::ParameterSet& conf);
0016 
0017   void setGeometry(const HGCalTriggerGeometryBase* const geom) { triggerTools_.setGeometry(geom); }
0018 
0019   void clusterizeDummy(const std::vector<edm::Ptr<l1t::HGCalTriggerCell>>& triggerCellsPtrs,
0020                        l1t::HGCalClusterBxCollection& clusters);
0021 
0022 private:
0023   double calibSF_;
0024   std::vector<double> layerWeights_;
0025   bool applyLayerWeights_;
0026   HGCalTriggerTools triggerTools_;
0027 
0028   void calibratePt(l1t::HGCalCluster& cluster);
0029 };
0030 
0031 #endif