28 return StatusCode::SUCCESS;
90 return StatusCode::FAILURE;
97 return StatusCode::FAILURE;
106 fill(
"ClusterMonitorAllClusters", nClusters);
107 nEMClusters = emclusters->
size();
108 fill(
"ClusterMonitorAllEMClusters", nEMClusters);
110 for (
const auto& cluster : *
clusters) {
111 eta = cluster->eta();
112 phi = cluster->phi();
113 E = cluster->e()/
GeV;
114 ET = cluster->pt()/
GeV;
116 nCells = cluster->numberCells();
117 ClusTime = cluster->time();
122 (HotRat > 0.9) ? HighHotRat=true : HighHotRat=
false;
130 fill(
"ClusterMonitorAllClusters", eta, phi,
E, ET);
131 fill(
"ClusterMonitorExpertPlots",
nCells, ClusTime, nBadCells, EBadCells, HotRat, HighHotRat, Isolation, BadLARQFrac, EngPos, AveLARQ, AveTileQ,
E, eta, phi);
140 fill(
"ClusterMonitorCalECA",eta,phi,
E,Threshold1,Threshold2,Threshold3,Threshold4);
142 else if (eta < -1.4) {
143 fill(
"ClusterMonitorCalECC",eta,phi,
E,Threshold1,Threshold2,Threshold3,Threshold4);
146 fill(
"ClusterMonitorCalBAR",eta,phi,
E,Threshold1,Threshold2,Threshold3,Threshold4);
151 for (
const auto& emcluster : *emclusters) {
152 emeta = emcluster->eta();
153 emphi = emcluster->phi();
154 emE = emcluster->e()/
GeV;
155 emET = emcluster->pt()/
GeV;
157 nCellsEM = emcluster->numberCells();
158 emClusTime = emcluster->time();
163 (emHotRat > 0.9) ? HighHotRat=true : HighHotRat=
false;
170 fill(
"ClusterMonitorAllEMClusters", emeta, emphi, emE, emET);
171 fill(
"ClusterMonitorExpertPlotsEM", nCellsEM, emClusTime, nBadCellsEM, EBadCellsEM, emHotRat, HighHotRat, emIsolation, emBadLARQFrac, emEngPos, emAveLARQ, emE, emeta, emphi);
180 fill(
"ClusterMonitorEMECA",emeta,emphi,emE,EMThreshold1,EMThreshold2,EMThreshold3,EMThreshold4);
182 else if (emeta < -1.4) {
183 fill(
"ClusterMonitorEMECC",emeta,emphi,emE,EMThreshold1,EMThreshold2,EMThreshold3,EMThreshold4);
186 fill(
"ClusterMonitorEMBAR",emeta,emphi,emE,EMThreshold1,EMThreshold2,EMThreshold3,EMThreshold4);
191 return StatusCode::SUCCESS;