11 const std::vector<const xAOD::CaloCluster*>& clusters,
15 for (
const auto* cluster : clusters) {
16 if (cluster->hasSampling(CaloSampling::EMB2)) {
17 const float thisEmax = cluster->energy_max(CaloSampling::EMB2);
18 if (thisEmax >
emaxB) {
20 etaB = cluster->etamax(CaloSampling::EMB2);
21 phiB = cluster->phimax(CaloSampling::EMB2);
24 if (cluster->hasSampling(CaloSampling::EME2)) {
25 const float thisEmax = cluster->energy_max(CaloSampling::EME2);
28 etaEC = cluster->etamax(CaloSampling::EME2);
29 phiEC = cluster->phimax(CaloSampling::EME2);
32 if (cluster->hasSampling(CaloSampling::FCAL0)) {
33 const float thisEmax = cluster->energy_max(CaloSampling::FCAL0);
34 if (thisEmax >
emaxF) {
36 etaF = cluster->etamax(CaloSampling::FCAL0);
37 phiF = cluster->phimax(CaloSampling::FCAL0);
44 mgr.get_element(CaloCell_ID::EMB2,
etaB,
phiB);
55 mgr.get_element(CaloCell_ID::EME2,
etaEC,
phiEC);
66 mgr.get_element(CaloCell_ID::FCAL0,
etaF,
phiF);
void diff(const Jet &rJet1, const Jet &rJet2, std::map< std::string, double > varDiff)
Difference between jets - Non-Class function required by trigger.