16#ifndef JETUTIL_JETCALOQUALITYUTILS_H
17#define JETUTIL_JETCALOQUALITYUTILS_H
33 static double emFraction(
const std::vector<float>& ePerSampling);
63 static bool isUgly(
const Jet*
jet,
const bool recalculateQuantities=
false);
68 static int compute_nLeading(std::vector<double> &cell_energies,
const float& e,
const float& frac);
JETCALCFUNCDECL(JetCalcAverageLArQualityF, JetAttribute::AverageLArQF, m_useTile=false;m_norm=0;)
Fraction of Bad energy in jet. From cluster moment ENG_BAD_CELLS.
JETCALCFUNCDECL(JetCalcBadCellsFrac, JetAttribute::BchCorrCell, setName("BchCorrCell");)
JETCALCFUNCDECL(JetCalcCentroid, JetAttribute::CentroidR, m_totE=0;)
JETCALCFUNCDECL(JetCalcNegativeEnergy, JetAttribute::NegativeE, m_totE=0;)
JETCALCFUNCDECL(JetCalcOutOfTimeEnergyFraction, JetAttribute::OotFracCells10, timecut=10;onlyPosEnergy=false;m_sumE=0;)
JetCaloCalculator * clone() const
Clone. Base class should not be cloned.
bool processConstituent(xAOD::JetConstituentVector::iterator &iter)
Perform 1 calculation step using 1 constituent.
JETCALCFUNCDECL(JetCalcQuality, JetAttribute::LArQuality, includeTile=false;includeLAr=true;LArQualityCut=4000 ;TileQualityCut=254;m_totE=0;m_badE=0;)
JETCALCFUNCDECL(JetCalcTimeCells, JetAttribute::Timing, m_norm=0;)
std::vector< double > m_cell_energies
JETCALCFUNCDECL(JetCalcnLeadingCells, JetAttribute::N90Constituents, m_threshold=0.9;)
Base class to support cpu-efficient calculation on calorimeter jets either at CaloCell or constituent...
void setName(const std::string &n)
static int compute_nLeading(std::vector< double > &cell_energies, const float &e, const float &frac)
static double jetOutOfTimeEnergyFractionClusters(const Jet *, const double, const bool)
static double emFraction(const std::vector< float > &ePerSampling)
static double hecF(const Jet *jet)
static double fracSamplingMax(const Jet *jet, int &SamplingMax)
static double jetNegativeEnergy(const Jet *jet)
static double presamplerFraction(const Jet *jet)
friend class JetCalcnLeadingCells
static double tileGap3F(const Jet *jet)
static bool isUgly(const Jet *jet, const bool recalculateQuantities=false)
Jet_v1 Jet
Definition of the current "jet version".