File indexing completed on 2023-03-17 11:19:34
0001 #ifndef RecoLocalTracker_SiPixelClusterizer_plugins_SiPixelClusterThresholds_h
0002 #define RecoLocalTracker_SiPixelClusterizer_plugins_SiPixelClusterThresholds_h
0003
0004 struct SiPixelClusterThresholds {
0005 inline constexpr int32_t getThresholdForLayerOnCondition(bool isLayer1) const noexcept {
0006 return isLayer1 ? layer1 : otherLayers;
0007 }
0008 const int32_t layer1;
0009 const int32_t otherLayers;
0010 };
0011
0012 constexpr SiPixelClusterThresholds kSiPixelClusterThresholdsDefaultPhase1{.layer1 = 2000, .otherLayers = 4000};
0013 constexpr SiPixelClusterThresholds kSiPixelClusterThresholdsDefaultPhase2{.layer1 = 4000, .otherLayers = 4000};
0014
0015 #endif