18 m_clusterId(-1), m_calorimeterType(UNASSIGNED) , m_originalClusElementLink(clusElementLink), m_isTouchable(false), m_matchCluster(nullptr) {
41 : m_clusterId (originalEflowRecCluster.m_clusterId),
42 m_calorimeterType (originalEflowRecCluster.m_calorimeterType),
43 m_cluster (originalEflowRecCluster.m_cluster),
44 m_originalClusElementLink (originalEflowRecCluster.m_originalClusElementLink),
45 m_clusElementLink (originalEflowRecCluster.m_clusElementLink),
46 m_isTouchable (originalEflowRecCluster.m_isTouchable),
58 if ((expectedEnergy == 0) && (clusterEnergy > 0)) {
64 bool result = useGoldenMode ? fabs(clusterEnergy - expectedEnergy) > consistencySigmaCut*
sigma
65 : clusterEnergy < expectedEnergy - consistencySigmaCut*
sigma;
70 double expectedEnergy(0);
72 for (
int iTrk = 0; iTrk < nTrk; ++iTrk){
75 return expectedEnergy;
78 double varianceExpectedEnergy(0);
80 for (
int iTrk = 0; iTrk < nTrk; ++iTrk){
81 varianceExpectedEnergy +=
m_trackMatches[iTrk]->getTrack()->getVarEExpect();
83 return varianceExpectedEnergy;
112 double MiniFCAL_E =
m_cluster->
eSample(xAOD::CaloCluster::CaloSample::MINIFCAL0)
117 double totalEnergy = EMB_E + EME_E + HEC_E + Tile_E + FCAL_E + MiniFCAL_E;
118 if(std::abs(totalEnergy) < 1.0
e-4){
122 double ratioEM = (EMB_E+EME_E)/totalEnergy;
123 double ratioHCAL = (HEC_E+Tile_E)/totalEnergy;
124 double ratioFCAL = (FCAL_E + MiniFCAL_E)/totalEnergy;
128 }
else if (ratioHCAL > 0.5) {
130 }
else if (ratioFCAL > 0.5) {