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 if(std::abs(ClusTime) > 1
e-6){
141 fill(
"ClusterMonitorNCBPlots",
eta, ClusTime, PhiRegion1, PhiRegion2);
151 fill(
"ClusterMonitorCalECA",
eta,
phi,
E,Threshold1,Threshold2,Threshold3,Threshold4);
153 else if (
eta < -1.4) {
154 fill(
"ClusterMonitorCalECC",
eta,
phi,
E,Threshold1,Threshold2,Threshold3,Threshold4);
157 fill(
"ClusterMonitorCalBAR",
eta,
phi,
E,Threshold1,Threshold2,Threshold3,Threshold4);
162 for (
const auto emcluster : *emclusters) {
163 emeta = emcluster->eta();
164 emphi = emcluster->phi();
165 emE = emcluster->e()/
GeV;
166 emET = emcluster->pt()/
GeV;
168 nCellsEM = emcluster->numberCells();
169 emClusTime = emcluster->time();
174 (emHotRat > 0.9) ? HighHotRat=true : HighHotRat=
false;
181 fill(
"ClusterMonitorAllEMClusters", emeta, emphi, emE, emET);
182 fill(
"ClusterMonitorExpertPlotsEM", nCellsEM, emClusTime, nBadCellsEM, EBadCellsEM, emHotRat, HighHotRat, emIsolation, emBadLARQFrac, emEngPos, emAveLARQ, emE, emeta, emphi);
191 fill(
"ClusterMonitorEMECA",emeta,emphi,emE,EMThreshold1,EMThreshold2,EMThreshold3,EMThreshold4);
193 else if (emeta < -1.4) {
194 fill(
"ClusterMonitorEMECC",emeta,emphi,emE,EMThreshold1,EMThreshold2,EMThreshold3,EMThreshold4);
197 fill(
"ClusterMonitorEMBAR",emeta,emphi,emE,EMThreshold1,EMThreshold2,EMThreshold3,EMThreshold4);
202 return StatusCode::SUCCESS;