  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   12 #include "CaloGeoHelpers/CaloSampling.h" 
   39     std::sort(cell_energies.rbegin(),cell_energies.rend());
 
   42     for(
unsigned int i=0;
i<cell_energies.size();
i++)
 
   44         sum += cell_energies[
i];
 
   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));    
 
   70     const std::vector<float> & einsampling = eperSamplAcc(*
jet);
 
   79     if(e_jet!=0) 
return  e_hec/e_jet;
 
   85     const std::vector<float>& einsampling = eperSamplAcc(*
jet);
 
   91     if(e_jet!=0) 
return  e_pres/e_jet;
 
   97     const std::vector<float> & einsampling = eperSamplAcc(*
jet);
 
  102     if(e_jet!=0) 
return  e_tileGap3/e_jet;
 
  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)
 
  148     if (fcor>0.5) 
return true;
 
  149     if (tileGap3f >0.5) 
return true;
 
  171     double e = 
iter->e();
 
  173       e = 
iter->rawConstituent()->e();
 
  197     if( 
m_sumE== 0.) 
return -1;
 
  205     double aClusterE    = 
iter->e();
 
  207       aClusterE = 
iter->rawConstituent()->e();
 
  232     double thisNorm = 
iter->e()* 
iter->e();
 
  234       thisNorm = 
iter->rawConstituent()->e()*
iter->rawConstituent()->e();
 
  265       e2 = 
iter->rawConstituent()->e();
 
  343     double e = 
iter->e() ;  
 
  345       e = 
iter->rawConstituent()->e();
 
  366     if (
m_totE == 0) 
return 0;
 
  371     return sqrt(c_x*c_x + c_y*c_y+ c_z*c_z);
 
  376     double e = 
iter->e() ;  
 
  378       e = 
iter->rawConstituent()->e();
 
  381       e = 
iter->rawConstituent()->e();
 
  414     if (
m_totE == 0) 
return 0;
 
  
virtual bool processConstituent(xAOD::JetConstituentVector::iterator &)
Perform 1 calculation step using 1 constituent.
 
@ CENTER_X
Cluster Centroid ( )
 
Basic data class defines behavior for all Jet objects   The Jet class is the principal data class for...
 
static double tileGap3F(const Jet *jet)
 
static bool isUgly(const Jet *jet, const bool recalculateQuantities=false)
 
bool processConstituent(xAOD::JetConstituentVector::iterator &iter)
Perform 1 calculation step using 1 constituent.
 
@ AVG_LAR_Q
Sum(E_cell_LAr^2 Q_cell_LAr)/Sum(E_cell_LAr^2)
 
static double jetNegativeEnergy(const Jet *jet)
 
virtual bool setupJet(const xAOD::Jet *)=0
 
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
 
@ CENTER_Z
Cluster Centroid ( )
 
FlowElement_v1 FlowElement
Definition of the current "pfo version".
 
@ ParticleFlow
The object is a particle-flow object.
 
const CaloConstitHelpers::CaloConstitExtractor * m_constitExtractor
 
@ ENG_BAD_CELLS
Total em-scale energy of bad cells in this cluster.
 
static double fracSamplingMax(const Jet *jet, int &SamplingMax)
 
@ AVG_TILE_Q
Sum(E_cell_Tile^2 Q_cell_Tile)/Sum(E_cell_Tile^2)
 
static double hecF(const Jet *jet)
 
double e2(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 2nd sampling
 
std::vector< double > m_cell_energies
 
virtual double jetCalculation() const
return the result of the calculation
 
static int compute_nLeading(std::vector< double > &cell_energies, const float &e, const float &frac)
 
static double emFraction(const std::vector< float > &ePerSampling)
 
static double presamplerFraction(const Jet *jet)
 
Jet_v1 Jet
Definition of the current "jet version".
 
@ CENTER_Y
Cluster Centroid ( )
 
@ ENG_POS
Total positive Energy of this cluster.
 
@ BADLARQ_FRAC
Energy fraction of LAr cells with quality larger than a given cut.