31 if (!inputPixelClusterContainer.
isValid()){
33 return StatusCode::FAILURE;
37 [
this] (
const auto* cluster) ->
int
43 [
this] (
const auto* cluster) ->
int
49 [
this] (
const auto* cluster) ->
int
55 [
this] (
const auto* cluster) ->
int
61 [
this] (
const auto* cluster) ->
int
65 return int(pixLayerDisk==0);
67 auto monitor_isNextToInnermost =
Monitored::Collection(
"isNextToInnermost", *inputPixelClusterContainer,
68 [
this] (
const auto* cluster) ->
int
73 return int((pixLayerDisk==1) or (pixBrlEc!=0 and pixLayerDisk==2));
77 [] (
const auto* cluster) ->
double
79 const auto& globalPos = cluster->globalPosition();
80 Amg::Vector3D globalPosition(globalPos(0, 0), globalPos(1, 0), globalPos(2, 0));
81 return globalPosition.eta();
84 [] (
const auto* cluster) ->
float
86 const auto& globalPos = cluster->globalPosition();
87 Amg::Vector3D globalPosition(globalPos(0, 0), globalPos(1, 0), globalPos(2, 0));
88 return globalPosition.perp();
92 [] (
const auto* cluster) ->
float
93 {
return cluster->globalPosition()(0, 0); });
95 [] (
const auto* cluster) ->
float
96 {
return cluster->globalPosition()(1, 0); });
98 [] (
const auto* cluster) ->
float
99 {
return cluster->globalPosition()(2, 0); });
102 [] (
const auto cluster) ->
float
104 const auto& localPos = cluster->template localPosition<2>();
105 return localPos(0,0);
108 [] (
const auto cluster) ->
float
110 const auto& localPos = cluster->template localPosition<2>();
111 return localPos(1,0);
115 [] (
const auto* cluster) ->
float
116 {
return cluster->template localCovariance<2>()(0, 0); });
118 [] (
const auto* cluster) ->
float
119 {
return cluster->template localCovariance<2>()(1, 1); });
122 [] (
const auto* cluster) ->
int
123 {
return cluster->channelsInPhi(); });
125 [] (
const auto* cluster) ->
int
126 {
return cluster->channelsInEta(); });
129 [] (
const auto* cluster) ->
float
130 {
return cluster->widthInEta(); });
133 monitor_barrelEndcap, monitor_layerDisk,
134 monitor_phiModule, monitor_etaModule,
135 monitor_isInnermost, monitor_isNextToInnermost,
136 monitor_eta, monitor_perp,
137 monitor_globalX, monitor_globalY, monitor_globalZ,
138 monitor_localX, monitor_localY,
139 monitor_localCovXX, monitor_localCovYY,
140 monitor_sizeX, monitor_sizeY,
143 return StatusCode::SUCCESS;