File indexing completed on 2024-09-07 04:36:55
0001 #ifndef __L1Trigger_L1THGCal_HGCalSortingTruncationConfig_SA_h__
0002 #define __L1Trigger_L1THGCal_HGCalSortingTruncationConfig_SA_h__
0003
0004 namespace l1thgcfirmware {
0005
0006 class SortingTruncationAlgoConfig {
0007 public:
0008 SortingTruncationAlgoConfig(const unsigned maxTCs) : maxTCs_(maxTCs) {}
0009
0010 void setParameters(unsigned maxTCs) { maxTCs_ = maxTCs; };
0011
0012 void setParameters(const SortingTruncationAlgoConfig& newConfig) { setParameters(newConfig.maxTCs()); }
0013
0014 unsigned maxTCs() const { return maxTCs_; }
0015
0016 private:
0017 unsigned maxTCs_;
0018 };
0019
0020 }
0021
0022 #endif