RecoLocalTracker
SiPixelClusterizer
plugins
SiPixelClusterThresholds.h
Go to the documentation of this file.
1
#ifndef RecoLocalTracker_SiPixelClusterizer_plugins_SiPixelClusterThresholds_h
2
#define RecoLocalTracker_SiPixelClusterizer_plugins_SiPixelClusterThresholds_h
3
4
struct
SiPixelClusterThresholds
{
5
inline
constexpr int32_t
getThresholdForLayerOnCondition
(
bool
isLayer1)
const
noexcept {
6
return
isLayer1 ?
layer1
:
otherLayers
;
7
}
8
const
int32_t
layer1
;
9
const
int32_t
otherLayers
;
10
};
11
12
constexpr
SiPixelClusterThresholds
kSiPixelClusterThresholdsDefaultPhase1
{.
layer1
= 2000, .otherLayers = 4000};
13
14
#endif // RecoLocalTracker_SiPixelClusterizer_plugins_SiPixelClusterThresholds_h
SiPixelClusterThresholds::getThresholdForLayerOnCondition
constexpr int32_t getThresholdForLayerOnCondition(bool isLayer1) const noexcept
Definition:
SiPixelClusterThresholds.h:5
SiPixelClusterThresholds
Definition:
SiPixelClusterThresholds.h:4
kSiPixelClusterThresholdsDefaultPhase1
constexpr SiPixelClusterThresholds kSiPixelClusterThresholdsDefaultPhase1
Definition:
SiPixelClusterThresholds.h:12
SiPixelClusterThresholds::otherLayers
const int32_t otherLayers
Definition:
SiPixelClusterThresholds.h:9
SiPixelClusterThresholds::layer1
const int32_t layer1
Definition:
SiPixelClusterThresholds.h:8
Generated for CMSSW Reference Manual by
1.8.16