95 int iBin =
getBin(
eta,logEClus,logEDens,logDepth);
96 if ( iBin > -1 && iBin < (
int)
m_data.size() )
122 if ( iEtaLogEClus > -1 ) {
124 if ( iEtaLogEClus >= iFilledEntries )
126 const int iBin =
getBin(
eta,logEClus,logEDens,logDepth);
167 float logDepth)
const
169 int iLogEDens,iLogDepth;
172 if ( iEtaLogEClus > -1 ) {
Scalar eta() const
pseudorapidity method
Hold binned EM fraction data.
float m_MaxLogDepth
Maximum log10(cluster depth) for the last bin.
float m_MinLogEClus
Minimum log10(cluster energy) for the first bin.
float m_MinLogEDens
Minimum log10(cluster energy density) for the first bin.
int m_nBinLogDepth
Number of log10(cluster depth) bins.
float m_MaxLogEDens
Maximum log10(cluster energy density) for the last bin.
float m_MaxLogEClus
Maximum log10(cluster energy) for the last bin.
int getBin(float eta, float logEClus, float logEDens, float logDepth) const
Find a bin number.
void setEMFracData(float eta, float logEClus, float logEDens, float logDepth, const struct EMFracData &theData)
Set EM fraction data for one bin.
std::vector< struct EMFracData > m_data
The table.
int m_nBinLogEDens
Number of log10(cluster energy density) bins.
float m_MaxEta
Maximum eta for the last bin.
float m_MinLogDepth
Minimum log10(cluster depth) for the first bin.
int m_nBinEta
Number of eta bins.
CaloEMFrac()
Default Constructor.
int getEtaLogEClusBin(float eta, float logEClus) const
Find the eta/logEClus bin number.
float m_MinEta
Minimum eta for the first bin.
int m_nBinLogEClus
Number of log10(cluster energy) bins.
const struct EMFracData * getEMFracData(float eta, float logEClus, float logEDens, float logDepth) const
Return EM fraction data for one bin.