28 return StatusCode::SUCCESS;
94 return StatusCode::FAILURE;
101 return StatusCode::FAILURE;
110 fill(
"ClusterMonitorAllClusters", nClusters);
111 nEMClusters = emclusters->
size();
112 fill(
"ClusterMonitorAllEMClusters", nEMClusters);
114 for (
const auto cluster : *
clusters) {
115 eta = cluster->eta();
116 phi = cluster->phi();
117 E = cluster->e()/
GeV;
118 ET = cluster->pt()/
GeV;
120 nCells = cluster->numberCells();
121 ClusTime = cluster->time();
126 (HotRat > 0.9) ? HighHotRat=true : HighHotRat=
false;
134 fill(
"ClusterMonitorAllClusters", eta, phi,
E, ET);
135 fill(
"ClusterMonitorExpertPlots",
nCells, ClusTime, nBadCells, EBadCells, HotRat, HighHotRat, Isolation, BadLARQFrac, EngPos, AveLARQ, AveTileQ,
E, eta, phi);
138 PhiRegion1 = std::abs(phi) <= 0.3 || std::abs(phi) >= 2.7;
139 PhiRegion2 = std::abs(phi) > 0.3 && std::abs(phi) < 2.7;
140 fill(
"ClusterMonitorNCBPlots", eta, ClusTime, PhiRegion1, PhiRegion2);
149 fill(
"ClusterMonitorCalECA",eta,phi,
E,Threshold1,Threshold2,Threshold3,Threshold4);
151 else if (eta < -1.4) {
152 fill(
"ClusterMonitorCalECC",eta,phi,
E,Threshold1,Threshold2,Threshold3,Threshold4);
155 fill(
"ClusterMonitorCalBAR",eta,phi,
E,Threshold1,Threshold2,Threshold3,Threshold4);
160 for (
const auto emcluster : *emclusters) {
161 emeta = emcluster->eta();
162 emphi = emcluster->phi();
163 emE = emcluster->e()/
GeV;
164 emET = emcluster->pt()/
GeV;
166 nCellsEM = emcluster->numberCells();
167 emClusTime = emcluster->time();
172 (emHotRat > 0.9) ? HighHotRat=true : HighHotRat=
false;
179 fill(
"ClusterMonitorAllEMClusters", emeta, emphi, emE, emET);
180 fill(
"ClusterMonitorExpertPlotsEM", nCellsEM, emClusTime, nBadCellsEM, EBadCellsEM, emHotRat, HighHotRat, emIsolation, emBadLARQFrac, emEngPos, emAveLARQ, emE, emeta, emphi);
189 fill(
"ClusterMonitorEMECA",emeta,emphi,emE,EMThreshold1,EMThreshold2,EMThreshold3,EMThreshold4);
191 else if (emeta < -1.4) {
192 fill(
"ClusterMonitorEMECC",emeta,emphi,emE,EMThreshold1,EMThreshold2,EMThreshold3,EMThreshold4);
195 fill(
"ClusterMonitorEMBAR",emeta,emphi,emE,EMThreshold1,EMThreshold2,EMThreshold3,EMThreshold4);
200 return StatusCode::SUCCESS;