13#ifndef CALOCONDITIONS_CALOEMFRAC_H
14#define CALOCONDITIONS_CALOEMFRAC_H
137 float logDepth)
const;
155 const struct EMFracData & theData);
210 int getBin(
float eta,
float logEClus,
float logEDens,
float logDepth)
const;
Scalar eta() const
pseudorapidity method
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Hold binned EM fraction data.
int getNbinsLogEDens() const
Return the number of bins in log10(cluster energy density).
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 getLogEClusMin() const
Return the minimum log10(cluster energy) for the first bin.
float getEtaMin() const
Return the minimum eta for the first bin.
float getLogEClusMax() const
Return the maximum log10(cluster energy) 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.
float getEtaMax() const
Return the maximum eta for the last bin.
float getLogDepthMin() const
Return the minimum log10(cluster depth) for the first bin.
int getNbinsLogEClus() const
Return the number of bins in log10(cluster energy).
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 getNbinsLogDepth() const
Return the number of bins in log10(cluster depth).
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 getNbinsEta() const
Return the number of bins in eta.
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.
float getLogEDensMin() const
Return the minimum log10(cluster energy density) for the first bin.
float getLogEDensMax() const
Return the maximum log10(cluster energy density) for the last bin.
int m_nBinLogEClus
Number of log10(cluster energy) bins.
float getLogDepthMax() const
Return the maximum log10(cluster depth) for the last bin.
const struct EMFracData * getEMFracData(float eta, float logEClus, float logEDens, float logDepth) const
Return EM fraction data for one bin.
float m_error
Width of the distribution.
float m_entries
Number of entries populating the bin.
float m_fraction
The mean EM fraction in the bin.