|
ATLAS Offline Software
|
Go to the documentation of this file.
34 if (0 !=
p[1] && 0 !=
p[3]){
39 return (
p[0] *
p[1] *
x1 +
p[2] *
p[3] *
x2) / (rMax - rMin);
46 std::list<eflowCaloENUM> allLayers;
55 std::vector<eflowCaloENUM> orderedLayers;
56 while (!allLayers.empty()) {
61 for (; itLayer != allLayers.end(); ++itLayer) {
64 itMaxP0Layer = itLayer;
69 orderedLayers.push_back(*itMaxP0Layer);
70 allLayers.erase(itMaxP0Layer);
88 for (
const auto &
layer : orderedLayers) {
92 for (
int iRing = 0; iRing < nRings; iRing++) {
109 if (!(
bin1 &&
bin2)) {
return false; }
JetConstituentVector::iterator iterator
void setParameters(const eflowFirstIntParameters ¶m, const std::vector< double > &ringThickness)
Inherits from eflowEEtaBinBase.
This defines the eflowCalo enum, which is used to label calorimeter layers in a simplified scheme whi...
Scalar eta() const
pseudorapidity method
std::vector< double > m_ringThickness
static std::vector< eflowCaloENUM > orderedLayersByShowerParam(const eflowFirstIntParameters ¶m, unsigned int whichParam=0)
bool getWeightedParameters(const eflowFirstIntParameters *bin1, const eflowFirstIntParameters *bin2, const double w1)
double fudgeStdDev() const
static double ringThickness(const eflowCaloENUM &layer)
const std::vector< double > & getShapeParameters(eflowCaloENUM layer) const
static double ringMeanRank(const std::vector< double > &p, double rMin, double rMax)
eflowFirstIntENUM adjustLFI(double e, double eta, eflowFirstIntENUM j1st, bool useLegacyEnergyBinIndexing) const
bool getOrdering(const eflowEEtaBinnedParameters *binnedParameters, double e, double eta, eflowFirstIntENUM j1st, bool useLegacyEnergyBinIndexing)
static const int nRegions
std::pair< eflowCaloENUM, short > RingId
static constexpr double m_weightRange
std::map< double, RingId > m_rankMap
double getShapeParameter(eflowCaloENUM layer, int paramIndex) const
static constexpr double m_rMax
eflowRingSubtractionManager()
Extends eflowFirstInt to include parameters of the fits to radial shower profiles.
double ringThickness(eflowCaloENUM layer) const
double getInterpolation(const eflowParameters **bin1, const eflowParameters **bin2, double e, double eta, bool useLegacyEnergyBinIndexing) const