#include <JetCaloQualityUtils.h>
Definition at line 28 of file JetCaloQualityUtils.h.
◆ compute_nLeading()
int jet::JetCaloQualityUtils::compute_nLeading |
( |
std::vector< double > & |
cell_energies, |
|
|
const float & |
e, |
|
|
const float & |
frac |
|
) |
| |
|
staticprivate |
◆ emFraction()
double jet::JetCaloQualityUtils::emFraction |
( |
const std::vector< float > & |
ePerSampling | ) |
|
|
static |
Definition at line 56 of file JetCaloQualityUtils.cxx.
58 for(
int i=0;
i<9;
i++) e_EM += e_sampling[ ::em_calosample[
i] ];
61 for(
int i=0;
i<15;
i++) e_HAD += e_sampling[ ::had_calosample[
i] ];
62 if( (e_EM==0) || ((e_EM+e_HAD)==0) )
return 0.;
63 return (e_EM / (e_EM+e_HAD));
◆ fracSamplingMax()
double jet::JetCaloQualityUtils::fracSamplingMax |
( |
const Jet * |
jet, |
|
|
int & |
SamplingMax |
|
) |
| |
|
static |
Definition at line 107 of file JetCaloQualityUtils.cxx.
109 const std::vector<float> & einsampling = eperSamplAcc(*
jet);
112 double sumE_samplings=0.;
113 for (
unsigned int i(0);
i < einsampling.size(); ++
i )
115 double e = einsampling[
i];
124 if(sumE_samplings!=0)
◆ hecF()
double jet::JetCaloQualityUtils::hecF |
( |
const Jet * |
jet | ) |
|
|
static |
Definition at line 67 of file JetCaloQualityUtils.cxx.
70 const std::vector<float> & einsampling = eperSamplAcc(*
jet);
79 if(e_jet!=0)
return e_hec/e_jet;
◆ isUgly()
bool jet::JetCaloQualityUtils::isUgly |
( |
const Jet * |
jet, |
|
|
const bool |
recalculateQuantities = false |
|
) |
| |
|
static |
◆ jetNegativeEnergy()
double jet::JetCaloQualityUtils::jetNegativeEnergy |
( |
const Jet * |
jet | ) |
|
|
static |
◆ jetOutOfTimeEnergyFractionClusters()
static double jet::JetCaloQualityUtils::jetOutOfTimeEnergyFractionClusters |
( |
const Jet * |
, |
|
|
const double |
, |
|
|
const bool |
|
|
) |
| |
|
inlinestatic |
◆ presamplerFraction()
double jet::JetCaloQualityUtils::presamplerFraction |
( |
const Jet * |
jet | ) |
|
|
static |
Definition at line 83 of file JetCaloQualityUtils.cxx.
85 const std::vector<float>& einsampling = eperSamplAcc(*
jet);
91 if(e_jet!=0)
return e_pres/e_jet;
◆ tileGap3F()
double jet::JetCaloQualityUtils::tileGap3F |
( |
const Jet * |
jet | ) |
|
|
static |
Definition at line 95 of file JetCaloQualityUtils.cxx.
97 const std::vector<float> & einsampling = eperSamplAcc(*
jet);
102 if(e_jet!=0)
return e_tileGap3/e_jet;
◆ JetCalcnLeadingCells
The documentation for this class was generated from the following files:
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.