8#include <hlt/softwaretrigger/calculations/utilities.h>
15 namespace SoftwareTrigger {
16 double getRhoOfECLClusterWithMaximumRhoBelow(
const StoreObjPtr<ParticleList>& pions,
17 const StoreObjPtr<ParticleList>& gammas,
18 const double belowLimit)
20 double maximumRho = -1.;
22 for (
const Particle& particle : *pions) {
23 const ECLCluster* tmpCluster = particle.getECLCluster();
28 const double& currentRho = getRho(tmpCluster);
30 if (currentRho >= belowLimit) {
34 if (currentRho > maximumRho) {
35 maximumRho = currentRho;
39 for (
const Particle& particle : *gammas) {
40 const ECLCluster* tmpCluster = particle.getECLCluster();
45 const double& currentRho = getRho(tmpCluster);
47 if (currentRho >= belowLimit) {
51 if (currentRho > maximumRho) {
52 maximumRho = currentRho;
Abstract base class for different kinds of events.