Index: cards/FCC/FCChh_PileUpVtx.tcl
===================================================================
--- cards/FCC/FCChh_PileUpVtx.tcl	(revision 364dbe1a7e0c64bd219489cade4ed9732c88aad6)
+++ cards/FCC/FCChh_PileUpVtx.tcl	(revision e70228df40fd32b17061ccd0e532f0195cf8df65)
@@ -17,5 +17,4 @@
 set ExecutionPath {
 
-  BeamSpotFilter
   PileUpMerger
   ParticlePropagator
@@ -35,9 +34,5 @@
 
   TrackSmearing
-  TimeSmearing  
-
-  VertexFinderDA4D  
-
-  TrackTimingPileUpSubtractor  
+  TimeSmearing      
 
   ECal
@@ -47,4 +42,13 @@
   EFlowMerger
   EFlowFilter
+
+  TimeSmearingMIP
+  TimeSmearingPhotons
+  TimeSmearingNH    
+
+  VertexFinderDA4D
+  TrackTimingPileUpSubtractor
+
+  HighMassVertexRecover    
 
   PhotonEfficiency
@@ -81,15 +85,4 @@
 
   TreeWriter
-}
-
-#######################
-# GenBeamSpotFilter
-# Saves a particle intended to represent the beamspot
-#######################
-
-module BeamSpotFilter BeamSpotFilter {
-    set InputArray Delphes/stableParticles
-    set OutputArray beamSpotParticle
-
 }
 
@@ -321,54 +314,5 @@
 
   # assume 20 ps resolution for now
-  set TimeResolution 20E-12
-}
-
-##################################
-# Primary vertex reconstruction
-##################################
-
-
-module VertexFinderDA4D VertexFinderDA4D {
-  set InputArray TimeSmearing/tracks
-
-  set OutputArray tracks
-  set VertexOutputArray vertices
-
-  set Verbose 0
-  set MinPT 1.0
-
-  # in mm
-  set VertexSpaceSize 0.5
-
-  # in s
-  set VertexTimeSize 10E-12
-
-  set UseTc 1
-  set BetaMax 0.1
-  set BetaStop 1.0
-  set CoolingFactor 0.8
-  set MaxIterations 100
-
-  # in mm
-  set DzCutOff 40
-  set D0CutOff 30
-
-}
-
-##########################
-# Track pile-up subtractor
-##########################
-
-module TrackTimingPileUpSubtractor TrackTimingPileUpSubtractor {
-# add InputArray InputArray OutputArray
-
-  add InputArray ChargedHadronMomentumSmearing/chargedHadrons
-  add InputArray ElectronMomentumSmearing/electrons
-  add InputArray MuonMomentumSmearing/muons
-  
-  set VertexInputArray VertexFinderDA4D/vertices
-  # assume perfect pile-up subtraction for tracks with |z| > fZVertexResolution
-  # Z vertex resolution in m
-  set ZVertexResolution {0.0001}
+  set TimeResolution {20E-12}
 }
 
@@ -539,5 +483,4 @@
 }
 
-
 #################
 # Electron filter
@@ -606,4 +549,101 @@
 }
 
+########################################
+#   Time Smearing Neutral MIP
+########################################
+
+module TimeSmearing TimeSmearingMIP {
+  set InputArray HCal/eflowTracks
+  set OutputArray timeSmearingMIP
+
+  # assume 30 ps resolution for now
+  set TimeResolution {30E-12}
+}
+
+########################################
+#   Time Smearing Neutral Photons
+########################################
+
+module TimeSmearing TimeSmearingPhotons {
+  set InputArray ECal/eflowPhotons
+  set OutputArray timeSmearingPhotons
+}
+
+########################################
+#   Time Smearing Neutral NeutralHadrons
+########################################
+#
+module TimeSmearing TimeSmearingNH {
+  set InputArray HCal/eflowNeutralHadrons
+  set OutputArray timeSmearingNH
+
+  # assume 30 ps resolution for now
+  set TimeResolution {30E-12}
+}
+
+
+##################################
+# Primary vertex reconstruction
+##################################
+
+
+module VertexFinderDA4D VertexFinderDA4D {
+  set InputArray TimeSmearing/tracks
+
+  set OutputArray tracks
+  set VertexOutputArray vertices
+
+  set Verbose 0
+  set MinPT 1.0
+
+  # in mm
+  set VertexSpaceSize 0.5
+
+  # in s
+  set VertexTimeSize 10E-12
+
+  set UseTc 1
+  set BetaMax 0.1
+  set BetaStop 1.0
+  set CoolingFactor 0.8
+  set MaxIterations 100
+
+  # in mm
+  set DzCutOff 40
+  set D0CutOff 30
+
+}
+
+##########################
+# Track pile-up subtractor
+##########################
+
+module TrackTimingPileUpSubtractor TrackTimingPileUpSubtractor {
+# add InputArray InputArray OutputArray
+
+  add InputArray TimeSmearing/tracks
+  add InputArray TimeSmearingPhotons/timeSmearingPhotons
+  add InputArray TimeSmearingNH/timeSmearingNH
+
+  set VertexInputArray VertexFinderDA4D/vertices
+
+  set fChargedMinSignificance {3}
+  set fNeutralMinSignificance {3}
+}
+
+######################################
+# Heavy(slow) particles vertex recover
+######################################
+
+module HighMassVertexRecover HighMassVertexRecover {
+  set TrackInputArray VertexFinderDA4D/tracks
+  set VertexInputArray VertexFinderDA4D/vertices
+
+  set TrackOutputArray tracks
+  set VertexOutputArray vertices
+
+  set Verbose 0
+
+}
 
 ###################
@@ -1057,4 +1097,6 @@
   add Branch ScalarHT/energy ScalarHT ScalarHT
   add Branch VertexFinderDA4D/vertices Vertex4D Vertex
-}
-
+
+  add Branch HighMassVertexRecover/tracks Track Track
+}
+
Index: cards/FCC/FCChh_PileUpVtx_new.tcl
===================================================================
--- cards/FCC/FCChh_PileUpVtx_new.tcl	(revision e70228df40fd32b17061ccd0e532f0195cf8df65)
+++ cards/FCC/FCChh_PileUpVtx_new.tcl	(revision e70228df40fd32b17061ccd0e532f0195cf8df65)
@@ -0,0 +1,1015 @@
+#
+# Official Delphes card prepared by FCC-hh collaboration
+#
+#  Main authors:  Michele Selvaggi (CERN)
+#
+#  Released on: Dec. 1st, 2017
+#
+#  Configuration: FCC-hh baseline detector
+#
+#######################################
+# Order of execution of various modules
+#######################################
+
+set MaxEvents 100
+set RandomSeed 123
+
+set ExecutionPath {
+
+  PileUpMerger
+  ParticlePropagator
+
+  ChargedHadronTrackingEfficiency
+  ElectronTrackingEfficiency
+  MuonTrackingEfficiency
+
+  ChargedHadronMomentumSmearing
+  ElectronMomentumSmearing
+  MuonMomentumSmearing
+
+  TrackMerger
+
+  TrackSmearing
+  TimeSmearing  
+
+  VertexFinderDA4D  
+
+  TrackTimingPileUpSubtractor  
+
+  ECal
+  HCal
+
+  Calorimeter
+  EFlowMerger
+  EFlowFilter
+
+  PhotonEfficiency
+  PhotonIsolation
+
+  ElectronFilter
+  ElectronIsolation
+
+  ChargedHadronFilter
+
+  MuonIsolation
+
+  NeutrinoFilter
+
+  MissingET
+  GenMissingET
+
+  GenJetFinder04
+  FastJetFinder04
+  CaloJetFinder04
+  TrackJetFinder04
+
+  JetEnergyScale
+
+  JetFlavorAssociation
+
+  BTagging
+  CTagging
+  TauTagging
+
+  ScalarHT
+
+  UniqueObjectFinder
+
+  TreeWriter
+}
+
+###############
+# PileUp Merger
+###############
+
+module PileUpMerger PileUpMerger {
+  set InputArray Delphes/stableParticles
+
+  set ParticleOutputArray stableParticles
+  set VertexOutputArray vertices
+
+  # pre-generated minbias input file
+  set PileUpFile MinBias.pileup
+
+  # average expected pile up
+  set MeanPileUp 10
+
+  # 0-poisson, 1-uniform, 2-delta
+  set PileUpDistribution 2
+
+  # maximum spread in the beam direction in m
+  set ZVertexSpread 0.25
+
+  # maximum spread in time in s
+  set TVertexSpread 800E-12
+
+  # vertex smearing formula f(z,t) (z,t need to be respectively given in m,s)
+
+  #set VertexDistributionFormula {exp(-(t^2/(2*(0.063/2.99792458E8*exp(-(z^2/(2*(0.063)^2))))^2)))}
+  set VertexDistributionFormula {exp(-(t^2/160e-12^2/2))*exp(-(z^2/0.053^2/2))}
+
+  # taking 5.3 cm x 160 ps
+
+  #set VertexDistributionFormula { (abs(t) <= 160e-12) * (abs(z) <= 0.053) * (1.00) +
+  #                                (abs(t) >  160e-12) * (abs(z) <= 0.053) * (0.00) +
+  #                               (abs(t) <= 160e-12) * (abs(z) > 0.053)  * (0.00) +
+  #                           (abs(t) >  160e-12) * (abs(z) > 0.053)  * (0.00)}
+
+}
+
+#################################
+# Propagate particles in cylinder
+#################################
+
+module ParticlePropagator ParticlePropagator {
+  set InputArray PileUpMerger/stableParticles
+  set OutputArray stableParticles
+  set ChargedHadronOutputArray chargedHadrons
+  set ElectronOutputArray electrons
+  set MuonOutputArray muons
+
+  # radius of the magnetic field coverage, in m
+  set Radius 1.5
+  # half-length of the magnetic field coverage, in m
+  set HalfLength 5
+
+  # magnetic field
+  set Bz 4.0
+}
+
+
+
+####################################
+# Charged hadron tracking efficiency
+####################################
+
+module Efficiency ChargedHadronTrackingEfficiency {
+  set InputArray ParticlePropagator/chargedHadrons
+  set OutputArray chargedHadrons
+
+ # TBC (which eta_max ? which pT min?)
+
+ # tracking efficiency formula for charged hadrons
+
+  set EfficiencyFormula { (pt <= 0.5) * (0.00) + \
+(abs(eta) <= 2.5) * (pt > 0.5 && pt <= 1) * (0.90) + \
+(abs(eta) <= 2.5) * (pt > 1) * (0.95) + \
+(abs(eta) > 2.5 && abs(eta) <= 4) * (pt > 0.5 && pt <= 1) * (0.85) + \
+(abs(eta) > 2.5 && abs(eta) <= 4) * (pt > 1) * (0.90) + \
+(abs(eta) > 4 && abs(eta) <= 6) * (pt > 0.5 && pt <= 1) * (0.80) + \
+(abs(eta) > 4 && abs(eta) <= 6) * (pt > 1.0) * (0.85) + \
+(abs(eta) > 6.0) * (0.00)}
+
+}
+
+##############################
+# Electron tracking efficiency
+##############################
+
+module Efficiency ElectronTrackingEfficiency {
+  set InputArray ParticlePropagator/electrons
+  set OutputArray electrons
+
+# TBC (which eta_max ?)
+# putting same as charged hadrons for now...
+
+  set EfficiencyFormula { (pt <= 0.5) * (0.00) + \
+  (abs(eta) <= 2.5) * (pt > 0.5 && pt <= 1) * (0.90) + \
+  (abs(eta) <= 2.5) * (pt > 1) * (0.95) + \
+  (abs(eta) > 2.5 && abs(eta) <= 4) * (pt > 0.5 && pt <= 1) * (0.85) + \
+  (abs(eta) > 2.5 && abs(eta) <= 4) * (pt > 1) * (0.90) + \
+  (abs(eta) > 4 && abs(eta) <= 6) * (pt > 0.5 && pt <= 1) * (0.80) + \
+  (abs(eta) > 4 && abs(eta) <= 6) * (pt > 1.0) * (0.85) + \
+  (abs(eta) > 6.0) * (0.00)}
+
+}
+
+##########################
+# Muon tracking efficiency
+##########################
+
+module Efficiency MuonTrackingEfficiency {
+  set InputArray ParticlePropagator/muons
+  set OutputArray muons
+
+# TBC (which eta_max ? why eff = 0 for 4 < eta < 6 ? for now put the same as central)
+# what about high pT ?
+ # tracking efficiency formula for muons
+  set EfficiencyFormula { (pt <= 0.5) * (0.00) + \
+  (abs(eta) <= 6.0) * (pt > 0.5 && pt <= 1) * (0.90) + \
+  (abs(eta) <= 6.0) * (pt > 1) * (0.99) + \
+  (abs(eta) > 6.0) * (0.00)}
+
+}
+
+########################################
+# Momentum resolution for charged tracks
+########################################
+
+module MomentumSmearing ChargedHadronMomentumSmearing {
+  set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
+  set OutputArray chargedHadrons
+
+  source momentumResolutionVsP.tcl
+}
+
+
+###################################
+# Momentum resolution for electrons
+###################################
+
+module MomentumSmearing ElectronMomentumSmearing {
+  set InputArray ElectronTrackingEfficiency/electrons
+  set OutputArray electrons
+
+  source momentumResolutionVsP.tcl
+}
+
+
+###############################
+# Momentum resolution for muons
+###############################
+
+module MomentumSmearing MuonMomentumSmearing {
+  set InputArray MuonTrackingEfficiency/muons
+  set OutputArray muons
+
+  # TBC for just putting tracker resolution/ need to add improvement at high pT
+
+  source muonMomentumResolutionVsP.tcl
+}
+
+##############
+# Track merger
+##############
+
+module Merger TrackMerger {
+# add InputArray InputArray
+  add InputArray ChargedHadronMomentumSmearing/chargedHadrons
+  add InputArray ElectronMomentumSmearing/electrons
+  add InputArray MuonMomentumSmearing/muons
+  set OutputArray tracks
+}
+
+
+########################################
+#   Smear tracks
+########################################
+
+module TrackSmearing TrackSmearing {
+  set InputArray TrackMerger/tracks
+  set OutputArray tracks
+  set ApplyToPileUp true
+
+  # from http://mersi.web.cern.ch/mersi/layouts/.private/Baseline_tilted_200_Pixel_1_1_1/index.html
+  source trackResolutionCMS.tcl 
+  # FIXME !!!! we need to add track resolution of FCC-hh baseline detector !!!!!
+}
+
+########################################
+#   Time Smearing
+########################################
+
+module TimeSmearing TimeSmearing {
+  set InputArray TrackSmearing/tracks
+  set OutputArray tracks
+
+  # assume 20 ps resolution for now
+  set TimeResolution {20E-12}
+}
+
+##################################
+# Primary vertex reconstruction
+##################################
+
+
+module VertexFinderDA4D VertexFinderDA4D {
+  set InputArray TimeSmearing/tracks
+
+  set OutputArray tracks
+  set VertexOutputArray vertices
+
+  set Verbose 0
+  set MinPT 1.0
+
+  # in mm
+  set VertexSpaceSize 0.5
+
+  # in s
+  set VertexTimeSize 10E-12
+
+  set UseTc 1
+  set BetaMax 0.1
+  set BetaStop 1.0
+  set CoolingFactor 0.8
+  set MaxIterations 100
+
+  # in mm
+  set DzCutOff 40
+  set D0CutOff 30
+
+}
+
+##########################
+# Track pile-up subtractor
+##########################
+
+module TrackTimingPileUpSubtractor TrackTimingPileUpSubtractor {
+# add InputArray InputArray OutputArray
+
+  add InputArray ChargedHadronMomentumSmearing/chargedHadrons
+  add InputArray ElectronMomentumSmearing/electrons
+  add InputArray MuonMomentumSmearing/muons
+  
+  set VertexInputArray VertexFinderDA4D/vertices
+  # assume perfect pile-up subtraction for tracks with |z| > fZVertexResolution
+  # Z vertex resolution in m
+  set ZVertexResolution {0.0001}
+}
+
+
+#############
+#   ECAL
+#############
+
+# TBC : calos seems ok, check eta max value though.
+
+module SimpleCalorimeter ECal {
+  set ParticleInputArray ParticlePropagator/stableParticles
+  set TrackInputArray TimeSmearing/tracks
+
+  set TowerOutputArray ecalTowers
+  set EFlowTrackOutputArray eflowTracks
+  set EFlowTowerOutputArray eflowPhotons
+
+  set IsEcal true
+
+  set EnergyMin 0.5
+  set EnergySignificanceMin 2.0
+
+  set SmearTowerCenter true
+
+  set pi [expr {acos(-1)}]
+
+  # lists of the edges of each tower in eta and phi
+  # each list starts with the lower edge of the first tower
+  # the list ends with the higher edged of the last tower
+
+  # 0.012 rad towers up to eta = 2.5 (barrel)
+   set PhiBins {}
+  for {set i -256} {$i <= 256} {incr i} {
+    add PhiBins [expr {$i * $pi/256.0}]
+  }
+
+  # 0.01 unit in eta up to eta = 2.5 (barrel)
+  for {set i -249} {$i <= 250} {incr i} {
+    set eta [expr {$i * 0.01}]
+    add EtaPhiBins $eta $PhiBins
+  }
+
+  # 0.025 rad between 2.5 and 6.0
+  set PhiBins {}
+  for {set i -128} {$i <= 128} {incr i} {
+    add PhiBins [expr {$i * $pi/128.0}]
+  }
+
+  # 0.025 unit in eta between 2.5 and 6.0
+  for {set i 0} {$i <= 140} {incr i} {
+    set eta [expr { -6.00 + $i * 0.025}]
+    add EtaPhiBins $eta $PhiBins
+  }
+
+  for {set i 0} {$i <= 139} {incr i} {
+    set eta [expr { 2.525 + $i * 0.025}]
+    add EtaPhiBins $eta $PhiBins
+  }
+
+  # default energy fractions {abs(PDG code)} {fraction of energy deposited in ECAL}
+
+  add EnergyFraction {0} {0.0}
+  # energy fractions for e, gamma and pi0
+  add EnergyFraction {11} {1.0}
+  add EnergyFraction {22} {1.0}
+  add EnergyFraction {111} {1.0}
+  # energy fractions for muon, neutrinos and neutralinos
+  add EnergyFraction {12} {0.0}
+  add EnergyFraction {13} {0.0}
+  add EnergyFraction {14} {0.0}
+  add EnergyFraction {16} {0.0}
+  add EnergyFraction {1000022} {0.0}
+  add EnergyFraction {1000023} {0.0}
+  add EnergyFraction {1000025} {0.0}
+  add EnergyFraction {1000035} {0.0}
+  add EnergyFraction {1000045} {0.0}
+  # energy fractions for K0short and Lambda
+  # add EnergyFraction {310} {0.3}
+  # add EnergyFraction {3122} {0.3}
+
+  # set ECalResolutionFormula {resolution formula as a function of eta and energy}
+  set ResolutionFormula {                     (abs(eta) <= 4.0) * sqrt(energy^2*0.007^2 + energy*0.10^2) + \
+                            (abs(eta) > 4.0 && abs(eta) <= 6.0) * sqrt(energy^2*0.035^2  + energy*0.30^2)}
+
+
+}
+
+#############
+#   HCAL
+#############
+
+module SimpleCalorimeter HCal {
+  set ParticleInputArray ParticlePropagator/stableParticles
+  set TrackInputArray ECal/eflowTracks
+
+  set TowerOutputArray hcalTowers
+  set EFlowTrackOutputArray eflowTracks
+  set EFlowTowerOutputArray eflowNeutralHadrons
+
+  set IsEcal false
+
+  set EnergyMin 1.0
+  set EnergySignificanceMin 2.0
+
+  set SmearTowerCenter true
+
+  set pi [expr {acos(-1)}]
+
+  # lists of the edges of each tower in eta and phi
+  # each list starts with the lower edge of the first tower
+  # the list ends with the higher edged of the last tower
+
+  # 0.025 rad towers up to eta = 2.5 (barrel)
+   set PhiBins {}
+  for {set i -128} {$i <= 128} {incr i} {
+    add PhiBins [expr {$i * $pi/128.0}]
+  }
+
+  # 0.025 unit in eta up to eta = 2.5 (barrel)
+  for {set i -99} {$i <= 100} {incr i} {
+    set eta [expr {$i * 0.025}]
+    add EtaPhiBins $eta $PhiBins
+  }
+
+  # 0.05 rad between 2.5 and 6.0
+  set PhiBins {}
+  for {set i -64} {$i <= 64} {incr i} {
+    add PhiBins [expr {$i * $pi/64.0}]
+  }
+
+  # 0.05 unit in eta between 2.5 and 6.0
+  for {set i 0} {$i <= 70} {incr i} {
+    set eta [expr { -6.00 + $i * 0.05}]
+    add EtaPhiBins $eta $PhiBins
+  }
+
+  for {set i 0} {$i <= 69} {incr i} {
+    set eta [expr { 2.55 + $i * 0.05}]
+    add EtaPhiBins $eta $PhiBins
+  }
+
+
+  # default energy fractions {abs(PDG code)} {Fecal Fhcal}
+  add EnergyFraction {0} {1.0}
+  # energy fractions for e, gamma and pi0
+  add EnergyFraction {11} {0.0}
+  add EnergyFraction {22} {0.0}
+  add EnergyFraction {111} {0.0}
+  # energy fractions for muon, neutrinos and neutralinos
+  add EnergyFraction {12} {0.0}
+  add EnergyFraction {13} {0.0}
+  add EnergyFraction {14} {0.0}
+  add EnergyFraction {16} {0.0}
+  add EnergyFraction {1000022} {0.0}
+  add EnergyFraction {1000023} {0.0}
+  add EnergyFraction {1000025} {0.0}
+  add EnergyFraction {1000035} {0.0}
+  add EnergyFraction {1000045} {0.0}
+  # energy fractions for K0short and Lambda
+  # add EnergyFraction {310} {0.7}
+  # add EnergyFraction {3122} {0.7}
+
+   # set HCalResolutionFormula {resolution formula as a function of eta and energy}
+  set ResolutionFormula {                     (abs(eta) <= 1.7) * sqrt(energy^2*0.03^2 + energy*0.50^2) + \
+                            (abs(eta) > 1.7 && abs(eta) <= 4.0) * sqrt(energy^2*0.03^2 + energy*0.60^2) + \
+                            (abs(eta) > 4.0 && abs(eta) <= 6.0) * sqrt(energy^2*0.10^2 + energy*1.00^2)}
+}
+
+
+#################
+# Electron filter
+#################
+
+module PdgCodeFilter ElectronFilter {
+  set InputArray HCal/eflowTracks
+  set OutputArray electrons
+  set Invert true
+  add PdgCode {11}
+  add PdgCode {-11}
+}
+
+
+######################
+# ChargedHadronFilter
+######################
+
+module PdgCodeFilter ChargedHadronFilter {
+  set InputArray HCal/eflowTracks
+  set OutputArray chargedHadrons
+
+  add PdgCode {11}
+  add PdgCode {-11}
+  add PdgCode {13}
+  add PdgCode {-13}
+}
+
+
+###################################################
+# Tower Merger (in case not using e-flow algorithm)
+###################################################
+
+module Merger Calorimeter {
+# add InputArray InputArray
+  add InputArray ECal/ecalTowers
+  add InputArray HCal/hcalTowers
+  add InputArray MuonMomentumSmearing/muons
+  set OutputArray towers
+}
+
+####################
+# Energy flow merger
+####################
+
+module Merger EFlowMerger {
+# add InputArray InputArray
+  add InputArray HCal/eflowTracks
+  add InputArray ECal/eflowPhotons
+  add InputArray HCal/eflowNeutralHadrons
+  set OutputArray eflow
+}
+
+######################
+# EFlowFilter
+######################
+
+module PdgCodeFilter EFlowFilter {
+  set InputArray EFlowMerger/eflow
+  set OutputArray eflow
+
+  add PdgCode {11}
+  add PdgCode {-11}
+  add PdgCode {13}
+  add PdgCode {-13}
+}
+
+
+###################
+# Missing ET merger
+###################
+
+module Merger MissingET {
+# add InputArray InputArray
+  add InputArray EFlowMerger/eflow
+  set MomentumOutputArray momentum
+}
+
+
+
+##################
+# Scalar HT merger
+##################
+
+module Merger ScalarHT {
+# add InputArray InputArray
+  add InputArray EFlowMerger/eflow
+  set EnergyOutputArray energy
+}
+
+#################
+# Neutrino Filter
+#################
+
+module PdgCodeFilter NeutrinoFilter {
+
+  set InputArray Delphes/stableParticles
+  set OutputArray filteredParticles
+
+  set PTMin 0.0
+
+  add PdgCode {12}
+  add PdgCode {14}
+  add PdgCode {16}
+  add PdgCode {-12}
+  add PdgCode {-14}
+  add PdgCode {-16}
+
+}
+
+
+#########################
+# Gen Missing ET merger
+########################
+
+module Merger GenMissingET {
+
+# add InputArray InputArray
+  add InputArray NeutrinoFilter/filteredParticles
+  set MomentumOutputArray momentum
+}
+
+
+#####################
+# MC truth jet finder
+#####################
+
+# TBC: is jet radius fine?
+
+module FastJetFinder GenJetFinder04 {
+  set InputArray NeutrinoFilter/filteredParticles
+
+  set OutputArray jets
+
+  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
+  set JetAlgorithm 6
+  set ParameterR 0.4
+
+  set ComputeNsubjettiness 1
+  set Beta 1.0
+  set AxisMode 4
+
+  set ComputeSoftDrop 1
+  set BetaSoftDrop 0.0
+  set SymmetryCutSoftDrop 0.1
+  set R0SoftDrop 0.4
+
+  set JetPTMin 25.0
+}
+
+
+
+##################
+# Fast Jet finder
+##################
+
+module FastJetFinder FastJetFinder04 {
+  set InputArray EFlowMerger/eflow
+
+  set OutputArray jets
+
+  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
+  set JetAlgorithm 6
+  set ParameterR 0.4
+
+  set ComputeNsubjettiness 1
+  set Beta 1.0
+  set AxisMode 4
+
+  set ComputeSoftDrop 1
+  set BetaSoftDrop 0.0
+  set SymmetryCutSoftDrop 0.1
+  set R0SoftDrop 0.4
+
+  set JetPTMin 25.0
+}
+
+
+##################
+# Fast Jet finder
+##################
+
+module FastJetFinder CaloJetFinder04 {
+  set InputArray Calorimeter/towers
+
+  set OutputArray jets
+
+  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
+  set JetAlgorithm 6
+  set ParameterR 0.4
+
+  set ComputeNsubjettiness 1
+  set Beta 1.0
+  set AxisMode 4
+
+  set ComputeSoftDrop 1
+  set BetaSoftDrop 0.0
+  set SymmetryCutSoftDrop 0.1
+  set R0SoftDrop 0.4
+
+  set JetPTMin 25.0
+}
+
+##################
+# Fast Jet finder
+##################
+
+module FastJetFinder TrackJetFinder04 {
+  set InputArray TrackMerger/tracks
+
+  set OutputArray jets
+
+  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
+  set JetAlgorithm 6
+  set ParameterR 0.4
+
+  set ComputeNsubjettiness 1
+  set Beta 1.0
+  set AxisMode 4
+
+  set ComputeSoftDrop 1
+  set BetaSoftDrop 0.0
+  set SymmetryCutSoftDrop 0.1
+  set R0SoftDrop 0.4
+
+  set JetPTMin 25.0
+}
+
+
+##################
+# Jet Energy Scale
+##################
+
+module EnergyScale JetEnergyScale {
+  set InputArray FastJetFinder04/jets
+  set OutputArray jets
+
+ # scale formula for jets
+  set ScaleFormula {1.00}
+}
+
+
+########################
+# Jet Flavor Association
+########################
+
+module JetFlavorAssociation JetFlavorAssociation {
+
+  set PartonInputArray Delphes/partons
+  set ParticleInputArray Delphes/allParticles
+  set ParticleLHEFInputArray Delphes/allParticlesLHEF
+  set JetInputArray JetEnergyScale/jets
+
+  set DeltaR 0.5
+  set PartonPTMin 5.0
+  set PartonEtaMax 6.0
+
+}
+
+###################
+# Photon efficiency
+###################
+
+module Efficiency PhotonEfficiency {
+  set InputArray ECal/eflowPhotons
+  set OutputArray photons
+
+  # set EfficiencyFormula {efficiency formula as a function of eta and pt}
+
+  set EfficiencyFormula {
+  (pt <= 1.0) * (0.00) + \
+  (abs(eta) <= 2.5) * (pt > 1.0 && pt < 5.0)  * (0.70) +
+  (abs(eta) <= 2.5) * (pt > 5.0 && pt < 10.0) * (0.85) +
+  (abs(eta) <= 2.5) * (pt > 10.0)             * (0.95) +
+
+  (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 1.0 && pt < 5.0)  * (0.60) +
+  (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 5.0 && pt < 10.0) * (0.80) +
+  (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 10.0)		* (0.90) +
+
+  (abs(eta) > 4.0 && abs(eta) <= 6.0) * (pt > 1.0 && pt < 5.0)  * (0.50) + \
+  (abs(eta) > 4.0 && abs(eta) <= 6.0) * (pt > 5.0 && pt < 10.0) * (0.70) + \
+  (abs(eta) > 4.0 && abs(eta) <= 6.0) * (pt > 10.0)             * (0.80) + \
+  (abs(eta) > 6.0) * (0.00)}
+
+}
+
+##################
+# Photon isolation
+##################
+
+# TBC: check values for iso cuts
+
+module Isolation PhotonIsolation {
+  set CandidateInputArray PhotonEfficiency/photons
+  set IsolationInputArray EFlowFilter/eflow
+
+  set OutputArray photons
+
+  set DeltaRMax 0.3
+
+  set PTMin 0.5
+
+  set PTRatioMax 0.1
+}
+
+
+####################
+# Electron isolation
+####################
+
+# TBC: check values for iso cuts
+
+module Isolation ElectronIsolation {
+  set CandidateInputArray ElectronFilter/electrons
+  set IsolationInputArray EFlowFilter/eflow
+
+  set OutputArray electrons
+
+  set DeltaRMax 0.3
+
+  set PTMin 0.5
+
+  set PTRatioMax 0.1
+}
+
+
+################
+# Muon isolation
+################
+
+# TBC: check values for iso cuts
+
+module Isolation MuonIsolation {
+  set CandidateInputArray MuonMomentumSmearing/muons
+  set IsolationInputArray EFlowFilter/eflow
+
+  set OutputArray muons
+
+  set DeltaRMax 0.3
+
+  set PTMin 0.5
+
+  set PTRatioMax 0.2
+}
+
+
+
+###########
+# b-tagging
+###########
+
+module BTagging BTagging {
+  set JetInputArray JetEnergyScale/jets
+
+  set BitNumber 0
+
+  add EfficiencyFormula {0} {
+
+  (pt <= 10.0)                       * (0.00) +
+  (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 500)      * (0.01) + \
+  (abs(eta) < 2.5)                   * (pt > 500.0 && pt < 15000.0) * (0.01)*(1.0 - pt/15000.) + \
+  (abs(eta) < 2.5)                   * (pt > 15000.0)               * (0.00) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.0075) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.0075)*(1.0 - pt/15000.) + \
+  (abs(eta) < 2.5 && abs(eta) < 4.0) * (pt > 15000.0)               * (0.000) + \
+  (abs(eta) > 4.0) * (0.00)}
+
+  add EfficiencyFormula {4} {
+
+  (pt <= 10.0)                       * (0.00) +
+  (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 500)      * (0.05) + \
+  (abs(eta) < 2.5)                   * (pt > 500.0 && pt < 15000.0) * (0.05)*(1.0 - pt/15000.) + \
+  (abs(eta) < 2.5)                   * (pt > 15000.0)               * (0.000) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.03) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.03)*(1.0 - pt/15000.) + \
+  (abs(eta) < 2.5 && abs(eta) < 4.0) * (pt > 15000.0)               * (0.000) + \
+  (abs(eta) > 4.0) * (0.00)}
+
+  add EfficiencyFormula {5} {
+
+  (pt <= 10.0)                                                       * (0.00) +
+  (abs(eta) < 2.5)                    * (pt > 10.0 && pt < 500)      * (0.85) +
+  (abs(eta) < 2.5)                    * (pt > 500.0 && pt < 15000.0) * (0.85)*(1.0 - pt/15000.) +
+  (abs(eta) < 2.5)                    * (pt > 15000.0)               * (0.000) +
+  (abs(eta) >= 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.64) +
+  (abs(eta) >= 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.64)*(1.0 - pt/15000.) +
+  (abs(eta) <= 2.5 && abs(eta) < 4.0) * (pt > 15000.0)               * (0.000) +
+  (abs(eta) >= 4.0) * (0.00)}
+
+}
+
+###########
+# c-tagging
+###########
+
+module BTagging CTagging {
+  set JetInputArray JetEnergyScale/jets
+
+  set BitNumber 1
+
+  add EfficiencyFormula {0} {
+
+  (pt <= 10.0)     * (0.00) +
+  (abs(eta) < 4.0) * (pt > 10.0) * (0.01) + \
+  (abs(eta) > 4.0) * (pt > 10.0) * (0.00)}
+
+  add EfficiencyFormula {4} {
+
+  (pt <= 10.0)     * (0.00) +
+  (abs(eta) < 4.0) * (pt > 10.0) * (0.25) + \
+  (abs(eta) > 4.0) * (pt > 10.0) * (0.00)}
+
+  add EfficiencyFormula {5} {
+
+  (pt <= 10.0)     * (0.00) +
+  (abs(eta) < 4.0) * (pt > 10.0) * (0.03) + \
+  (abs(eta) > 4.0) * (pt > 10.0) * (0.00)}
+
+}
+
+
+#############
+# tau-tagging
+#############
+
+
+module TauTagging TauTagging {
+  set ParticleInputArray Delphes/allParticles
+  set PartonInputArray Delphes/partons
+  set JetInputArray JetEnergyScale/jets
+
+  set DeltaR 0.5
+
+  set TauPTMin 1.0
+
+  set TauEtaMax 4.0
+
+  # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
+  add EfficiencyFormula {0} {
+
+  (pt <= 10.0)                                                       * (0.00) +
+  (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 5000.0)    * (0.01) + \
+  (abs(eta) < 2.5)                   * (pt > 5000.0 && pt < 34000.0) * (0.01)  *(8./9. - pt/30000.) + \
+  (abs(eta) < 2.5)                   * (pt > 34000.0)                * (0.000) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 5000.0)    * (0.0075) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 5000.0 && pt < 34000.0) * (0.0075)*(8./9. - pt/30000.) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 34000.0)                * (0.00) + \
+  (abs(eta) > 4.0)                   * (0.00)}
+
+  add EfficiencyFormula {11} {
+
+  (pt <= 10.0)                                                       * (0.00) +
+  (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 5000.0)    * (0.005) + \
+  (abs(eta) < 2.5)                   * (pt > 5000.0 && pt < 34000.0) * (0.005)  *(8./9. - pt/30000.) + \
+  (abs(eta) < 2.5)                   * (pt > 34000.0)                * (0.000) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 5000.0)    * (0.00375) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 5000.0 && pt < 34000.0) * (0.00375)*(8./9. - pt/30000.) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 34000.0)                * (0.00) + \
+  (abs(eta) > 4.0)                   * (0.00)}
+
+  add EfficiencyFormula {15} {
+
+  (pt <= 10.0)                                                       * (0.00) +
+  (abs(eta) < 2.5) * (pt > 10.0 && pt < 5000.0)                      * (0.8)                      + \
+  (abs(eta) < 2.5) * (pt > 5000.0 && pt < 34000.0)                   * (0.8) *(8./9. - pt/30000.) + \
+  (abs(eta) < 2.5)                   * (pt > 34000.0)                * (0.000) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 5000.0)    * (0.65) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 5000.0 && pt < 34000.0) * (0.65)*(8./9. - pt/30000.) + \
+  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 34000.0)                * (0.00) + \
+  (abs(eta) > 4.0)                                                   * (0.00)}
+
+}
+
+#####################################################
+# Find uniquely identified photons/electrons/tau/jets
+#####################################################
+
+module UniqueObjectFinder UniqueObjectFinder {
+# earlier arrays take precedence over later ones
+# add InputArray InputArray OutputArray
+  add InputArray PhotonIsolation/photons photons
+  add InputArray ElectronIsolation/electrons electrons
+  add InputArray MuonIsolation/muons muons
+  add InputArray JetEnergyScale/jets jets
+
+}
+
+
+##################
+# ROOT tree writer
+##################
+
+module TreeWriter TreeWriter {
+# add Branch InputArray BranchName BranchClass
+  add Branch Delphes/allParticles Particle GenParticle
+
+  add Branch GenMissingET/momentum GenMissingET MissingET
+
+  add Branch TimeSmearing/tracks Track Track
+  add Branch Calorimeter/towers Tower Tower
+
+  add Branch HCal/eflowTracks EFlowTrack Track
+  add Branch ECal/eflowPhotons EFlowPhoton Tower
+  add Branch HCal/eflowNeutralHadrons EFlowNeutralHadron Tower
+
+  add Branch UniqueObjectFinder/photons Photon Photon
+  add Branch UniqueObjectFinder/electrons Electron Electron
+  add Branch UniqueObjectFinder/muons Muon Muon
+  add Branch UniqueObjectFinder/jets Jet Jet
+
+  add Branch GenJetFinder04/jets GenJet04 Jet
+  add Branch FastJetFinder04/jets ParticleFlowJet04 Jet
+  add Branch CaloJetFinder04/jets CaloJet04 Jet
+  add Branch TrackJetFinder04/jets TrackJet04 Jet
+
+  add Branch MissingET/momentum MissingET MissingET
+  add Branch ScalarHT/energy ScalarHT ScalarHT
+  add Branch VertexFinderDA4D/vertices Vertex4D Vertex
+}
+
Index: cards/FCC/trackResolutionFCChh.tcl
===================================================================
--- cards/FCC/trackResolutionFCChh.tcl	(revision e70228df40fd32b17061ccd0e532f0195cf8df65)
+++ cards/FCC/trackResolutionFCChh.tcl	(revision e70228df40fd32b17061ccd0e532f0195cf8df65)
@@ -0,0 +1,1411 @@
+set PResolutionFormula { 0.0 }
+set CtgThetaResolutionFormula { 0.0 }
+set PhiResolutionFormula { 0.0 }
+#
+# Automatically generated tracker resolution formula dpt/pt (in eta & energy) for layout: FCChh_Option3.v02
+#
+#  By Z.Drasal(CERN) on: 2017-04-06.14:31:32
+#
+set ResolutionFormula {    (abs(eta) >= 0.0000 && abs(eta) < 0.1000) * (energy >= 0.0000 && energy < 1.0000) * (0.00315864) + \
+   (abs(eta) >= 0.0000 && abs(eta) < 0.1000) * (energy >= 1.0000 && energy < 2.0000) * (0.003159 + (energy-1.000000)* 0.000007) + \
+   (abs(eta) >= 0.0000 && abs(eta) < 0.1000) * (energy >= 2.0000 && energy < 5.0000) * (0.003166 + (energy-2.000000)* 0.000011) + \
+   (abs(eta) >= 0.0000 && abs(eta) < 0.1000) * (energy >= 5.0000 && energy < 10.0000) * (0.003198 + (energy-5.000000)* 0.000012) + \
+   (abs(eta) >= 0.0000 && abs(eta) < 0.1000) * (energy >= 10.0000 && energy < 100.0000) * (0.003259 + (energy-10.000000)* 0.000010) + \
+   (abs(eta) >= 0.0000 && abs(eta) < 0.1000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004173 + (energy-100.000000)* 0.000019) + \
+   (abs(eta) >= 0.0000 && abs(eta) < 0.1000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.020916 + (energy-1000.000000)* 0.000021) + \
+   (abs(eta) >= 0.0000 && abs(eta) < 0.1000) * (energy >= 10000.0000) * (0.205876*energy/10000.000000) + \
+   (abs(eta) >= 0.1000 && abs(eta) < 0.2000) * (energy >= 0.0000 && energy < 1.0000) * (0.00316278) + \
+   (abs(eta) >= 0.1000 && abs(eta) < 0.2000) * (energy >= 1.0000 && energy < 2.0000) * (0.003163 + (energy-1.000000)* 0.000006) + \
+   (abs(eta) >= 0.1000 && abs(eta) < 0.2000) * (energy >= 2.0000 && energy < 5.0000) * (0.003169 + (energy-2.000000)* 0.000010) + \
+   (abs(eta) >= 0.1000 && abs(eta) < 0.2000) * (energy >= 5.0000 && energy < 10.0000) * (0.003198 + (energy-5.000000)* 0.000011) + \
+   (abs(eta) >= 0.1000 && abs(eta) < 0.2000) * (energy >= 10.0000 && energy < 100.0000) * (0.003255 + (energy-10.000000)* 0.000010) + \
+   (abs(eta) >= 0.1000 && abs(eta) < 0.2000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004165 + (energy-100.000000)* 0.000019) + \
+   (abs(eta) >= 0.1000 && abs(eta) < 0.2000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.020917 + (energy-1000.000000)* 0.000021) + \
+   (abs(eta) >= 0.1000 && abs(eta) < 0.2000) * (energy >= 10000.0000) * (0.205952*energy/10000.000000) + \
+   (abs(eta) >= 0.2000 && abs(eta) < 0.3000) * (energy >= 0.0000 && energy < 1.0000) * (0.00320482) + \
+   (abs(eta) >= 0.2000 && abs(eta) < 0.3000) * (energy >= 1.0000 && energy < 2.0000) * (0.003205 + (energy-1.000000)* 0.000006) + \
+   (abs(eta) >= 0.2000 && abs(eta) < 0.3000) * (energy >= 2.0000 && energy < 5.0000) * (0.003211 + (energy-2.000000)* 0.000009) + \
+   (abs(eta) >= 0.2000 && abs(eta) < 0.3000) * (energy >= 5.0000 && energy < 10.0000) * (0.003238 + (energy-5.000000)* 0.000011) + \
+   (abs(eta) >= 0.2000 && abs(eta) < 0.3000) * (energy >= 10.0000 && energy < 100.0000) * (0.003294 + (energy-10.000000)* 0.000010) + \
+   (abs(eta) >= 0.2000 && abs(eta) < 0.3000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004176 + (energy-100.000000)* 0.000018) + \
+   (abs(eta) >= 0.2000 && abs(eta) < 0.3000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.020586 + (energy-1000.000000)* 0.000020) + \
+   (abs(eta) >= 0.2000 && abs(eta) < 0.3000) * (energy >= 10000.0000) * (0.202528*energy/10000.000000) + \
+   (abs(eta) >= 0.3000 && abs(eta) < 0.4000) * (energy >= 0.0000 && energy < 1.0000) * (0.00325680) + \
+   (abs(eta) >= 0.3000 && abs(eta) < 0.4000) * (energy >= 1.0000 && energy < 2.0000) * (0.003257 + (energy-1.000000)* 0.000001) + \
+   (abs(eta) >= 0.3000 && abs(eta) < 0.4000) * (energy >= 2.0000 && energy < 5.0000) * (0.003257 + (energy-2.000000)* 0.000009) + \
+   (abs(eta) >= 0.3000 && abs(eta) < 0.4000) * (energy >= 5.0000 && energy < 10.0000) * (0.003286 + (energy-5.000000)* 0.000011) + \
+   (abs(eta) >= 0.3000 && abs(eta) < 0.4000) * (energy >= 10.0000 && energy < 100.0000) * (0.003342 + (energy-10.000000)* 0.000009) + \
+   (abs(eta) >= 0.3000 && abs(eta) < 0.4000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004195 + (energy-100.000000)* 0.000017) + \
+   (abs(eta) >= 0.3000 && abs(eta) < 0.4000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.019873 + (energy-1000.000000)* 0.000019) + \
+   (abs(eta) >= 0.3000 && abs(eta) < 0.4000) * (energy >= 10000.0000) * (0.195142*energy/10000.000000) + \
+   (abs(eta) >= 0.4000 && abs(eta) < 0.5000) * (energy >= 0.0000 && energy < 1.0000) * (0.00354020) + \
+   (abs(eta) >= 0.4000 && abs(eta) < 0.5000) * (energy >= 1.0000 && energy < 2.0000) * (0.003540 + (energy-1.000000)* -0.000201) + \
+   (abs(eta) >= 0.4000 && abs(eta) < 0.5000) * (energy >= 2.0000 && energy < 5.0000) * (0.003340 + (energy-2.000000)* 0.000009) + \
+   (abs(eta) >= 0.4000 && abs(eta) < 0.5000) * (energy >= 5.0000 && energy < 10.0000) * (0.003366 + (energy-5.000000)* 0.000011) + \
+   (abs(eta) >= 0.4000 && abs(eta) < 0.5000) * (energy >= 10.0000 && energy < 100.0000) * (0.003422 + (energy-10.000000)* 0.000009) + \
+   (abs(eta) >= 0.4000 && abs(eta) < 0.5000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004265 + (energy-100.000000)* 0.000017) + \
+   (abs(eta) >= 0.4000 && abs(eta) < 0.5000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.019240 + (energy-1000.000000)* 0.000019) + \
+   (abs(eta) >= 0.4000 && abs(eta) < 0.5000) * (energy >= 10000.0000) * (0.188429*energy/10000.000000) + \
+   (abs(eta) >= 0.5000 && abs(eta) < 0.6000) * (energy >= 0.0000 && energy < 1.0000) * (0.00362672) + \
+   (abs(eta) >= 0.5000 && abs(eta) < 0.6000) * (energy >= 1.0000 && energy < 2.0000) * (0.003627 + (energy-1.000000)* -0.000223) + \
+   (abs(eta) >= 0.5000 && abs(eta) < 0.6000) * (energy >= 2.0000 && energy < 5.0000) * (0.003403 + (energy-2.000000)* 0.000008) + \
+   (abs(eta) >= 0.5000 && abs(eta) < 0.6000) * (energy >= 5.0000 && energy < 10.0000) * (0.003428 + (energy-5.000000)* 0.000010) + \
+   (abs(eta) >= 0.5000 && abs(eta) < 0.6000) * (energy >= 10.0000 && energy < 100.0000) * (0.003479 + (energy-10.000000)* 0.000009) + \
+   (abs(eta) >= 0.5000 && abs(eta) < 0.6000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004256 + (energy-100.000000)* 0.000016) + \
+   (abs(eta) >= 0.5000 && abs(eta) < 0.6000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.018471 + (energy-1000.000000)* 0.000018) + \
+   (abs(eta) >= 0.5000 && abs(eta) < 0.6000) * (energy >= 10000.0000) * (0.180531*energy/10000.000000) + \
+   (abs(eta) >= 0.6000 && abs(eta) < 0.7000) * (energy >= 0.0000 && energy < 1.0000) * (0.00386864) + \
+   (abs(eta) >= 0.6000 && abs(eta) < 0.7000) * (energy >= 1.0000 && energy < 2.0000) * (0.003869 + (energy-1.000000)* -0.000354) + \
+   (abs(eta) >= 0.6000 && abs(eta) < 0.7000) * (energy >= 2.0000 && energy < 5.0000) * (0.003515 + (energy-2.000000)* 0.000007) + \
+   (abs(eta) >= 0.6000 && abs(eta) < 0.7000) * (energy >= 5.0000 && energy < 10.0000) * (0.003536 + (energy-5.000000)* 0.000009) + \
+   (abs(eta) >= 0.6000 && abs(eta) < 0.7000) * (energy >= 10.0000 && energy < 100.0000) * (0.003583 + (energy-10.000000)* 0.000009) + \
+   (abs(eta) >= 0.6000 && abs(eta) < 0.7000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004349 + (energy-100.000000)* 0.000015) + \
+   (abs(eta) >= 0.6000 && abs(eta) < 0.7000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.017442 + (energy-1000.000000)* 0.000017) + \
+   (abs(eta) >= 0.6000 && abs(eta) < 0.7000) * (energy >= 10000.0000) * (0.169559*energy/10000.000000) + \
+   (abs(eta) >= 0.7000 && abs(eta) < 0.8000) * (energy >= 0.0000 && energy < 1.0000) * (0.00418203) + \
+   (abs(eta) >= 0.7000 && abs(eta) < 0.8000) * (energy >= 1.0000 && energy < 2.0000) * (0.004182 + (energy-1.000000)* -0.000556) + \
+   (abs(eta) >= 0.7000 && abs(eta) < 0.8000) * (energy >= 2.0000 && energy < 5.0000) * (0.003626 + (energy-2.000000)* 0.000007) + \
+   (abs(eta) >= 0.7000 && abs(eta) < 0.8000) * (energy >= 5.0000 && energy < 10.0000) * (0.003645 + (energy-5.000000)* 0.000008) + \
+   (abs(eta) >= 0.7000 && abs(eta) < 0.8000) * (energy >= 10.0000 && energy < 100.0000) * (0.003687 + (energy-10.000000)* 0.000008) + \
+   (abs(eta) >= 0.7000 && abs(eta) < 0.8000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004399 + (energy-100.000000)* 0.000013) + \
+   (abs(eta) >= 0.7000 && abs(eta) < 0.8000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.016509 + (energy-1000.000000)* 0.000016) + \
+   (abs(eta) >= 0.7000 && abs(eta) < 0.8000) * (energy >= 10000.0000) * (0.159676*energy/10000.000000) + \
+   (abs(eta) >= 0.8000 && abs(eta) < 0.9000) * (energy >= 0.0000 && energy < 1.0000) * (0.00436103) + \
+   (abs(eta) >= 0.8000 && abs(eta) < 0.9000) * (energy >= 1.0000 && energy < 2.0000) * (0.004361 + (energy-1.000000)* -0.000597) + \
+   (abs(eta) >= 0.8000 && abs(eta) < 0.9000) * (energy >= 2.0000 && energy < 5.0000) * (0.003764 + (energy-2.000000)* 0.000006) + \
+   (abs(eta) >= 0.8000 && abs(eta) < 0.9000) * (energy >= 5.0000 && energy < 10.0000) * (0.003781 + (energy-5.000000)* 0.000008) + \
+   (abs(eta) >= 0.8000 && abs(eta) < 0.9000) * (energy >= 10.0000 && energy < 100.0000) * (0.003821 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 0.8000 && abs(eta) < 0.9000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004495 + (energy-100.000000)* 0.000012) + \
+   (abs(eta) >= 0.8000 && abs(eta) < 0.9000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.015532 + (energy-1000.000000)* 0.000015) + \
+   (abs(eta) >= 0.8000 && abs(eta) < 0.9000) * (energy >= 10000.0000) * (0.149090*energy/10000.000000) + \
+   (abs(eta) >= 0.9000 && abs(eta) < 1.0000) * (energy >= 0.0000 && energy < 1.0000) * (0.00488279) + \
+   (abs(eta) >= 0.9000 && abs(eta) < 1.0000) * (energy >= 1.0000 && energy < 2.0000) * (0.004883 + (energy-1.000000)* -0.000969) + \
+   (abs(eta) >= 0.9000 && abs(eta) < 1.0000) * (energy >= 2.0000 && energy < 5.0000) * (0.003914 + (energy-2.000000)* 0.000006) + \
+   (abs(eta) >= 0.9000 && abs(eta) < 1.0000) * (energy >= 5.0000 && energy < 10.0000) * (0.003930 + (energy-5.000000)* 0.000007) + \
+   (abs(eta) >= 0.9000 && abs(eta) < 1.0000) * (energy >= 10.0000 && energy < 100.0000) * (0.003967 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 0.9000 && abs(eta) < 1.0000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004593 + (energy-100.000000)* 0.000011) + \
+   (abs(eta) >= 0.9000 && abs(eta) < 1.0000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.014592 + (energy-1000.000000)* 0.000014) + \
+   (abs(eta) >= 0.9000 && abs(eta) < 1.0000) * (energy >= 10000.0000) * (0.138764*energy/10000.000000) + \
+   (abs(eta) >= 1.0000 && abs(eta) < 1.1000) * (energy >= 0.0000 && energy < 1.0000) * (0.00513716) + \
+   (abs(eta) >= 1.0000 && abs(eta) < 1.1000) * (energy >= 1.0000 && energy < 2.0000) * (0.005137 + (energy-1.000000)* -0.001026) + \
+   (abs(eta) >= 1.0000 && abs(eta) < 1.1000) * (energy >= 2.0000 && energy < 5.0000) * (0.004111 + (energy-2.000000)* 0.000005) + \
+   (abs(eta) >= 1.0000 && abs(eta) < 1.1000) * (energy >= 5.0000 && energy < 10.0000) * (0.004125 + (energy-5.000000)* 0.000007) + \
+   (abs(eta) >= 1.0000 && abs(eta) < 1.1000) * (energy >= 10.0000 && energy < 100.0000) * (0.004159 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 1.0000 && abs(eta) < 1.1000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004752 + (energy-100.000000)* 0.000010) + \
+   (abs(eta) >= 1.0000 && abs(eta) < 1.1000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.013718 + (energy-1000.000000)* 0.000013) + \
+   (abs(eta) >= 1.0000 && abs(eta) < 1.1000) * (energy >= 10000.0000) * (0.128750*energy/10000.000000) + \
+   (abs(eta) >= 1.1000 && abs(eta) < 1.2000) * (energy >= 0.0000 && energy < 1.0000) * (0.00572019) + \
+   (abs(eta) >= 1.1000 && abs(eta) < 1.2000) * (energy >= 1.0000 && energy < 2.0000) * (0.005720 + (energy-1.000000)* -0.001362) + \
+   (abs(eta) >= 1.1000 && abs(eta) < 1.2000) * (energy >= 2.0000 && energy < 5.0000) * (0.004359 + (energy-2.000000)* 0.000005) + \
+   (abs(eta) >= 1.1000 && abs(eta) < 1.2000) * (energy >= 5.0000 && energy < 10.0000) * (0.004372 + (energy-5.000000)* 0.000006) + \
+   (abs(eta) >= 1.1000 && abs(eta) < 1.2000) * (energy >= 10.0000 && energy < 100.0000) * (0.004405 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 1.1000 && abs(eta) < 1.2000) * (energy >= 100.0000 && energy < 1000.0000) * (0.005024 + (energy-100.000000)* 0.000010) + \
+   (abs(eta) >= 1.1000 && abs(eta) < 1.2000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.013902 + (energy-1000.000000)* 0.000013) + \
+   (abs(eta) >= 1.1000 && abs(eta) < 1.2000) * (energy >= 10000.0000) * (0.129437*energy/10000.000000) + \
+   (abs(eta) >= 1.2000 && abs(eta) < 1.3000) * (energy >= 0.0000 && energy < 1.0000) * (0.00613558) + \
+   (abs(eta) >= 1.2000 && abs(eta) < 1.3000) * (energy >= 1.0000 && energy < 2.0000) * (0.006136 + (energy-1.000000)* -0.001331) + \
+   (abs(eta) >= 1.2000 && abs(eta) < 1.3000) * (energy >= 2.0000 && energy < 5.0000) * (0.004805 + (energy-2.000000)* 0.000005) + \
+   (abs(eta) >= 1.2000 && abs(eta) < 1.3000) * (energy >= 5.0000 && energy < 10.0000) * (0.004818 + (energy-5.000000)* 0.000007) + \
+   (abs(eta) >= 1.2000 && abs(eta) < 1.3000) * (energy >= 10.0000 && energy < 100.0000) * (0.004851 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 1.2000 && abs(eta) < 1.3000) * (energy >= 100.0000 && energy < 1000.0000) * (0.005512 + (energy-100.000000)* 0.000012) + \
+   (abs(eta) >= 1.2000 && abs(eta) < 1.3000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.016144 + (energy-1000.000000)* 0.000015) + \
+   (abs(eta) >= 1.2000 && abs(eta) < 1.3000) * (energy >= 10000.0000) * (0.151739*energy/10000.000000) + \
+   (abs(eta) >= 1.3000 && abs(eta) < 1.4000) * (energy >= 0.0000 && energy < 1.0000) * (0.00655464) + \
+   (abs(eta) >= 1.3000 && abs(eta) < 1.4000) * (energy >= 1.0000 && energy < 2.0000) * (0.006555 + (energy-1.000000)* -0.001843) + \
+   (abs(eta) >= 1.3000 && abs(eta) < 1.4000) * (energy >= 2.0000 && energy < 5.0000) * (0.004711 + (energy-2.000000)* 0.000004) + \
+   (abs(eta) >= 1.3000 && abs(eta) < 1.4000) * (energy >= 5.0000 && energy < 10.0000) * (0.004724 + (energy-5.000000)* 0.000005) + \
+   (abs(eta) >= 1.3000 && abs(eta) < 1.4000) * (energy >= 10.0000 && energy < 100.0000) * (0.004748 + (energy-10.000000)* 0.000006) + \
+   (abs(eta) >= 1.3000 && abs(eta) < 1.4000) * (energy >= 100.0000 && energy < 1000.0000) * (0.005326 + (energy-100.000000)* 0.000009) + \
+   (abs(eta) >= 1.3000 && abs(eta) < 1.4000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.013686 + (energy-1000.000000)* 0.000012) + \
+   (abs(eta) >= 1.3000 && abs(eta) < 1.4000) * (energy >= 10000.0000) * (0.125361*energy/10000.000000) + \
+   (abs(eta) >= 1.4000 && abs(eta) < 1.5000) * (energy >= 0.0000 && energy < 1.0000) * (0.00714442) + \
+   (abs(eta) >= 1.4000 && abs(eta) < 1.5000) * (energy >= 1.0000 && energy < 2.0000) * (0.007144 + (energy-1.000000)* -0.002674) + \
+   (abs(eta) >= 1.4000 && abs(eta) < 1.5000) * (energy >= 2.0000 && energy < 5.0000) * (0.004470 + (energy-2.000000)* -0.000070) + \
+   (abs(eta) >= 1.4000 && abs(eta) < 1.5000) * (energy >= 5.0000 && energy < 10.0000) * (0.004259 + (energy-5.000000)* 0.000006) + \
+   (abs(eta) >= 1.4000 && abs(eta) < 1.5000) * (energy >= 10.0000 && energy < 100.0000) * (0.004287 + (energy-10.000000)* 0.000009) + \
+   (abs(eta) >= 1.4000 && abs(eta) < 1.5000) * (energy >= 100.0000 && energy < 1000.0000) * (0.005101 + (energy-100.000000)* 0.000008) + \
+   (abs(eta) >= 1.4000 && abs(eta) < 1.5000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.012303 + (energy-1000.000000)* 0.000011) + \
+   (abs(eta) >= 1.4000 && abs(eta) < 1.5000) * (energy >= 10000.0000) * (0.110091*energy/10000.000000) + \
+   (abs(eta) >= 1.5000 && abs(eta) < 1.6000) * (energy >= 0.0000 && energy < 1.0000) * (0.00680449) + \
+   (abs(eta) >= 1.5000 && abs(eta) < 1.6000) * (energy >= 1.0000 && energy < 2.0000) * (0.006804 + (energy-1.000000)* -0.002108) + \
+   (abs(eta) >= 1.5000 && abs(eta) < 1.6000) * (energy >= 2.0000 && energy < 5.0000) * (0.004696 + (energy-2.000000)* -0.000116) + \
+   (abs(eta) >= 1.5000 && abs(eta) < 1.6000) * (energy >= 5.0000 && energy < 10.0000) * (0.004348 + (energy-5.000000)* 0.000009) + \
+   (abs(eta) >= 1.5000 && abs(eta) < 1.6000) * (energy >= 10.0000 && energy < 100.0000) * (0.004391 + (energy-10.000000)* 0.000009) + \
+   (abs(eta) >= 1.5000 && abs(eta) < 1.6000) * (energy >= 100.0000 && energy < 1000.0000) * (0.005232 + (energy-100.000000)* 0.000007) + \
+   (abs(eta) >= 1.5000 && abs(eta) < 1.6000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.011392 + (energy-1000.000000)* 0.000010) + \
+   (abs(eta) >= 1.5000 && abs(eta) < 1.6000) * (energy >= 10000.0000) * (0.097988*energy/10000.000000) + \
+   (abs(eta) >= 1.6000 && abs(eta) < 1.7000) * (energy >= 0.0000 && energy < 1.0000) * (0.00763793) + \
+   (abs(eta) >= 1.6000 && abs(eta) < 1.7000) * (energy >= 1.0000 && energy < 2.0000) * (0.007638 + (energy-1.000000)* -0.003061) + \
+   (abs(eta) >= 1.6000 && abs(eta) < 1.7000) * (energy >= 2.0000 && energy < 5.0000) * (0.004577 + (energy-2.000000)* -0.000168) + \
+   (abs(eta) >= 1.6000 && abs(eta) < 1.7000) * (energy >= 5.0000 && energy < 10.0000) * (0.004074 + (energy-5.000000)* 0.000009) + \
+   (abs(eta) >= 1.6000 && abs(eta) < 1.7000) * (energy >= 10.0000 && energy < 100.0000) * (0.004121 + (energy-10.000000)* 0.000009) + \
+   (abs(eta) >= 1.6000 && abs(eta) < 1.7000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004910 + (energy-100.000000)* 0.000006) + \
+   (abs(eta) >= 1.6000 && abs(eta) < 1.7000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.010635 + (energy-1000.000000)* 0.000009) + \
+   (abs(eta) >= 1.6000 && abs(eta) < 1.7000) * (energy >= 10000.0000) * (0.090704*energy/10000.000000) + \
+   (abs(eta) >= 1.7000 && abs(eta) < 1.8000) * (energy >= 0.0000 && energy < 1.0000) * (0.00913948) + \
+   (abs(eta) >= 1.7000 && abs(eta) < 1.8000) * (energy >= 1.0000 && energy < 2.0000) * (0.009139 + (energy-1.000000)* -0.004405) + \
+   (abs(eta) >= 1.7000 && abs(eta) < 1.8000) * (energy >= 2.0000 && energy < 5.0000) * (0.004735 + (energy-2.000000)* -0.000231) + \
+   (abs(eta) >= 1.7000 && abs(eta) < 1.8000) * (energy >= 5.0000 && energy < 10.0000) * (0.004043 + (energy-5.000000)* 0.000005) + \
+   (abs(eta) >= 1.7000 && abs(eta) < 1.8000) * (energy >= 10.0000 && energy < 100.0000) * (0.004066 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 1.7000 && abs(eta) < 1.8000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004739 + (energy-100.000000)* 0.000006) + \
+   (abs(eta) >= 1.7000 && abs(eta) < 1.8000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.009891 + (energy-1000.000000)* 0.000008) + \
+   (abs(eta) >= 1.7000 && abs(eta) < 1.8000) * (energy >= 10000.0000) * (0.083216*energy/10000.000000) + \
+   (abs(eta) >= 1.8000 && abs(eta) < 1.9000) * (energy >= 0.0000 && energy < 1.0000) * (0.00956747) + \
+   (abs(eta) >= 1.8000 && abs(eta) < 1.9000) * (energy >= 1.0000 && energy < 2.0000) * (0.009567 + (energy-1.000000)* -0.004497) + \
+   (abs(eta) >= 1.8000 && abs(eta) < 1.9000) * (energy >= 2.0000 && energy < 5.0000) * (0.005070 + (energy-2.000000)* -0.000331) + \
+   (abs(eta) >= 1.8000 && abs(eta) < 1.9000) * (energy >= 5.0000 && energy < 10.0000) * (0.004078 + (energy-5.000000)* 0.000004) + \
+   (abs(eta) >= 1.8000 && abs(eta) < 1.9000) * (energy >= 10.0000 && energy < 100.0000) * (0.004100 + (energy-10.000000)* 0.000006) + \
+   (abs(eta) >= 1.8000 && abs(eta) < 1.9000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004682 + (energy-100.000000)* 0.000005) + \
+   (abs(eta) >= 1.8000 && abs(eta) < 1.9000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.009157 + (energy-1000.000000)* 0.000007) + \
+   (abs(eta) >= 1.8000 && abs(eta) < 1.9000) * (energy >= 10000.0000) * (0.074702*energy/10000.000000) + \
+   (abs(eta) >= 1.9000 && abs(eta) < 2.0000) * (energy >= 0.0000 && energy < 1.0000) * (0.00964334) + \
+   (abs(eta) >= 1.9000 && abs(eta) < 2.0000) * (energy >= 1.0000 && energy < 2.0000) * (0.009643 + (energy-1.000000)* -0.003950) + \
+   (abs(eta) >= 1.9000 && abs(eta) < 2.0000) * (energy >= 2.0000 && energy < 5.0000) * (0.005694 + (energy-2.000000)* -0.000479) + \
+   (abs(eta) >= 1.9000 && abs(eta) < 2.0000) * (energy >= 5.0000 && energy < 10.0000) * (0.004256 + (energy-5.000000)* 0.000005) + \
+   (abs(eta) >= 1.9000 && abs(eta) < 2.0000) * (energy >= 10.0000 && energy < 100.0000) * (0.004281 + (energy-10.000000)* 0.000006) + \
+   (abs(eta) >= 1.9000 && abs(eta) < 2.0000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004862 + (energy-100.000000)* 0.000004) + \
+   (abs(eta) >= 1.9000 && abs(eta) < 2.0000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.008501 + (energy-1000.000000)* 0.000006) + \
+   (abs(eta) >= 1.9000 && abs(eta) < 2.0000) * (energy >= 10000.0000) * (0.062525*energy/10000.000000) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 0.0000 && energy < 1.0000) * (0.01045039) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 1.0000 && energy < 2.0000) * (0.010450 + (energy-1.000000)* -0.005379) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 2.0000 && energy < 5.0000) * (0.005072 + (energy-2.000000)* -0.000321) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 5.0000 && energy < 10.0000) * (0.004109 + (energy-5.000000)* 0.000006) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 10.0000 && energy < 100.0000) * (0.004137 + (energy-10.000000)* 0.000006) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004666 + (energy-100.000000)* 0.000005) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.008951 + (energy-1000.000000)* 0.000007) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 10000.0000) * (0.073400*energy/10000.000000) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 0.0000 && energy < 1.0000) * (0.01046694) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 1.0000 && energy < 2.0000) * (0.010467 + (energy-1.000000)* -0.005023) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 2.0000 && energy < 5.0000) * (0.005444 + (energy-2.000000)* -0.000330) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 5.0000 && energy < 10.0000) * (0.004455 + (energy-5.000000)* 0.000005) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 10.0000 && energy < 100.0000) * (0.004479 + (energy-10.000000)* 0.000004) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004883 + (energy-100.000000)* 0.000005) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.009382 + (energy-1000.000000)* 0.000008) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 10000.0000) * (0.078852*energy/10000.000000) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 0.0000 && energy < 1.0000) * (0.01090933) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 1.0000 && energy < 2.0000) * (0.010909 + (energy-1.000000)* -0.005299) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 2.0000 && energy < 5.0000) * (0.005610 + (energy-2.000000)* -0.000302) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 5.0000 && energy < 10.0000) * (0.004704 + (energy-5.000000)* 0.000005) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 10.0000 && energy < 100.0000) * (0.004730 + (energy-10.000000)* 0.000005) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 100.0000 && energy < 1000.0000) * (0.005146 + (energy-100.000000)* 0.000006) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.010323 + (energy-1000.000000)* 0.000009) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 10000.0000) * (0.088469*energy/10000.000000) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 0.0000 && energy < 1.0000) * (0.01271833) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 1.0000 && energy < 2.0000) * (0.012718 + (energy-1.000000)* -0.005764) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 2.0000 && energy < 5.0000) * (0.006954 + (energy-2.000000)* -0.000492) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 5.0000 && energy < 10.0000) * (0.005479 + (energy-5.000000)* 0.000003) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 10.0000 && energy < 100.0000) * (0.005495 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 100.0000 && energy < 1000.0000) * (0.005774 + (energy-100.000000)* 0.000006) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.011265 + (energy-1000.000000)* 0.000009) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 10000.0000) * (0.096592*energy/10000.000000) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 0.0000 && energy < 1.0000) * (0.01515272) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 1.0000 && energy < 2.0000) * (0.015153 + (energy-1.000000)* -0.007272) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 2.0000 && energy < 5.0000) * (0.007881 + (energy-2.000000)* -0.000660) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 5.0000 && energy < 10.0000) * (0.005900 + (energy-5.000000)* 0.000003) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 10.0000 && energy < 100.0000) * (0.005914 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 100.0000 && energy < 1000.0000) * (0.006174 + (energy-100.000000)* 0.000007) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.012486 + (energy-1000.000000)* 0.000011) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 10000.0000) * (0.108659*energy/10000.000000) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 0.0000 && energy < 1.0000) * (0.01778926) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 1.0000 && energy < 2.0000) * (0.017789 + (energy-1.000000)* -0.008811) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 2.0000 && energy < 5.0000) * (0.008978 + (energy-2.000000)* -0.000844) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 5.0000 && energy < 10.0000) * (0.006446 + (energy-5.000000)* -0.000195) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 10.0000 && energy < 100.0000) * (0.005473 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 100.0000 && energy < 1000.0000) * (0.005782 + (energy-100.000000)* 0.000005) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.010655 + (energy-1000.000000)* 0.000009) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 10000.0000) * (0.087190*energy/10000.000000) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 0.0000 && energy < 1.0000) * (0.02061617) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 1.0000 && energy < 2.0000) * (0.020616 + (energy-1.000000)* -0.010732) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 2.0000 && energy < 5.0000) * (0.009884 + (energy-2.000000)* -0.001349) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 5.0000 && energy < 10.0000) * (0.005836 + (energy-5.000000)* -0.000484) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 10.0000 && energy < 100.0000) * (0.003417 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 100.0000 && energy < 1000.0000) * (0.003655 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.005164 + (energy-1000.000000)* 0.000003) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 10000.0000) * (0.029564*energy/10000.000000) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 0.0000 && energy < 1.0000) * (0.02328940) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 1.0000 && energy < 2.0000) * (0.023289 + (energy-1.000000)* -0.012327) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 2.0000 && energy < 5.0000) * (0.010962 + (energy-2.000000)* -0.001777) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 5.0000 && energy < 10.0000) * (0.005632 + (energy-5.000000)* -0.000436) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 10.0000 && energy < 100.0000) * (0.003452 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 100.0000 && energy < 1000.0000) * (0.003539 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.004876 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 10000.0000) * (0.026660*energy/10000.000000) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 0.0000 && energy < 1.0000) * (0.02303055) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 1.0000 && energy < 2.0000) * (0.023031 + (energy-1.000000)* -0.011212) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 2.0000 && energy < 5.0000) * (0.011819 + (energy-2.000000)* -0.002216) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 5.0000 && energy < 10.0000) * (0.005171 + (energy-5.000000)* -0.000352) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 10.0000 && energy < 100.0000) * (0.003412 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 100.0000 && energy < 1000.0000) * (0.003516 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.004565 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 10000.0000) * (0.025158*energy/10000.000000) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 0.0000 && energy < 1.0000) * (0.02611889) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 1.0000 && energy < 2.0000) * (0.026119 + (energy-1.000000)* -0.012835) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 2.0000 && energy < 5.0000) * (0.013284 + (energy-2.000000)* -0.002589) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 5.0000 && energy < 10.0000) * (0.005516 + (energy-5.000000)* -0.000388) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 10.0000 && energy < 100.0000) * (0.003574 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 100.0000 && energy < 1000.0000) * (0.003690 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.004493 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 10000.0000) * (0.022856*energy/10000.000000) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 0.0000 && energy < 1.0000) * (0.02991154) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 1.0000 && energy < 2.0000) * (0.029912 + (energy-1.000000)* -0.015226) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 2.0000 && energy < 5.0000) * (0.014686 + (energy-2.000000)* -0.002867) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 5.0000 && energy < 10.0000) * (0.006086 + (energy-5.000000)* -0.000457) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 10.0000 && energy < 100.0000) * (0.003803 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 100.0000 && energy < 1000.0000) * (0.003932 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.004619 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 10000.0000) * (0.020643*energy/10000.000000) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 0.0000 && energy < 1.0000) * (0.03556765) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 1.0000 && energy < 2.0000) * (0.035568 + (energy-1.000000)* -0.019079) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 2.0000 && energy < 5.0000) * (0.016488 + (energy-2.000000)* -0.003242) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 5.0000 && energy < 10.0000) * (0.006763 + (energy-5.000000)* -0.000526) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 10.0000 && energy < 100.0000) * (0.004133 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004270 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.004991 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 10000.0000) * (0.021331*energy/10000.000000) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 0.0000 && energy < 1.0000) * (0.03803690) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 1.0000 && energy < 2.0000) * (0.038037 + (energy-1.000000)* -0.020041) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 2.0000 && energy < 5.0000) * (0.017996 + (energy-2.000000)* -0.003460) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 5.0000 && energy < 10.0000) * (0.007617 + (energy-5.000000)* -0.000724) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 10.0000 && energy < 100.0000) * (0.003999 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004159 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.005300 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 10000.0000) * (0.023674*energy/10000.000000) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 0.0000 && energy < 1.0000) * (0.03760924) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 1.0000 && energy < 2.0000) * (0.037609 + (energy-1.000000)* -0.018328) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 2.0000 && energy < 5.0000) * (0.019281 + (energy-2.000000)* -0.003682) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 5.0000 && energy < 10.0000) * (0.008234 + (energy-5.000000)* -0.000772) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 10.0000 && energy < 100.0000) * (0.004372 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004545 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.005786 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 10000.0000) * (0.026924*energy/10000.000000) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 0.0000 && energy < 1.0000) * (0.03763696) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 1.0000 && energy < 2.0000) * (0.037637 + (energy-1.000000)* -0.016962) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 2.0000 && energy < 5.0000) * (0.020675 + (energy-2.000000)* -0.003893) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 5.0000 && energy < 10.0000) * (0.008995 + (energy-5.000000)* -0.000848) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 10.0000 && energy < 100.0000) * (0.004755 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 100.0000 && energy < 1000.0000) * (0.004949 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.006336 + (energy-1000.000000)* 0.000003) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 10000.0000) * (0.030130*energy/10000.000000) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 0.0000 && energy < 1.0000) * (0.04368466) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 1.0000 && energy < 2.0000) * (0.043685 + (energy-1.000000)* -0.020430) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 2.0000 && energy < 5.0000) * (0.023254 + (energy-2.000000)* -0.004385) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 5.0000 && energy < 10.0000) * (0.010100 + (energy-5.000000)* -0.001016) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 10.0000 && energy < 100.0000) * (0.005020 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 100.0000 && energy < 1000.0000) * (0.005206 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.006679 + (energy-1000.000000)* 0.000003) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 10000.0000) * (0.033540*energy/10000.000000) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 0.0000 && energy < 1.0000) * (0.05055352) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 1.0000 && energy < 2.0000) * (0.050554 + (energy-1.000000)* -0.024554) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 2.0000 && energy < 5.0000) * (0.025999 + (energy-2.000000)* -0.004964) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 5.0000 && energy < 10.0000) * (0.011106 + (energy-5.000000)* -0.001134) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 10.0000 && energy < 100.0000) * (0.005436 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 100.0000 && energy < 1000.0000) * (0.005582 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.007047 + (energy-1000.000000)* 0.000003) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 10000.0000) * (0.036533*energy/10000.000000) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 0.0000 && energy < 1.0000) * (0.05790950) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 1.0000 && energy < 2.0000) * (0.057910 + (energy-1.000000)* -0.028845) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 2.0000 && energy < 5.0000) * (0.029065 + (energy-2.000000)* -0.005581) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 5.0000 && energy < 10.0000) * (0.012322 + (energy-5.000000)* -0.001294) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 10.0000 && energy < 100.0000) * (0.005853 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 100.0000 && energy < 1000.0000) * (0.006005 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.007594 + (energy-1000.000000)* 0.000004) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 10000.0000) * (0.040788*energy/10000.000000) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 0.0000 && energy < 1.0000) * (0.06787795) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 1.0000 && energy < 2.0000) * (0.067878 + (energy-1.000000)* -0.035271) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 2.0000 && energy < 5.0000) * (0.032607 + (energy-2.000000)* -0.006346) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 5.0000 && energy < 10.0000) * (0.013570 + (energy-5.000000)* -0.001453) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 10.0000 && energy < 100.0000) * (0.006304 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 100.0000 && energy < 1000.0000) * (0.006489 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.008302 + (energy-1000.000000)* 0.000004) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 10000.0000) * (0.045331*energy/10000.000000) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 0.0000 && energy < 1.0000) * (0.08769401) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 1.0000 && energy < 2.0000) * (0.087694 + (energy-1.000000)* -0.050535) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 2.0000 && energy < 5.0000) * (0.037159 + (energy-2.000000)* -0.007293) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 5.0000 && energy < 10.0000) * (0.015278 + (energy-5.000000)* -0.001678) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 10.0000 && energy < 100.0000) * (0.006886 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 100.0000 && energy < 1000.0000) * (0.007116 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.009229 + (energy-1000.000000)* 0.000005) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 10000.0000) * (0.051460*energy/10000.000000) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 0.0000 && energy < 1.0000) * (0.12378717) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 1.0000 && energy < 2.0000) * (0.123787 + (energy-1.000000)* -0.081534) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 2.0000 && energy < 5.0000) * (0.042253 + (energy-2.000000)* -0.008504) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 5.0000 && energy < 10.0000) * (0.016742 + (energy-5.000000)* -0.001830) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 10.0000 && energy < 100.0000) * (0.007595 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 100.0000 && energy < 1000.0000) * (0.007850 + (energy-100.000000)* 0.000003) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.010277 + (energy-1000.000000)* 0.000005) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 10000.0000) * (0.059714*energy/10000.000000) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 0.0000 && energy < 1.0000) * (0.14293546) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 1.0000 && energy < 2.0000) * (0.142935 + (energy-1.000000)* -0.095632) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 2.0000 && energy < 5.0000) * (0.047303 + (energy-2.000000)* -0.009550) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 5.0000 && energy < 10.0000) * (0.018654 + (energy-5.000000)* -0.002035) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 10.0000 && energy < 100.0000) * (0.008480 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 100.0000 && energy < 1000.0000) * (0.008767 + (energy-100.000000)* 0.000003) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.011459 + (energy-1000.000000)* 0.000006) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 10000.0000) * (0.066014*energy/10000.000000) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 0.0000 && energy < 1.0000) * (0.16175578) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 1.0000 && energy < 2.0000) * (0.161756 + (energy-1.000000)* -0.108957) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 2.0000 && energy < 5.0000) * (0.052799 + (energy-2.000000)* -0.010753) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 5.0000 && energy < 10.0000) * (0.020541 + (energy-5.000000)* -0.002235) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 10.0000 && energy < 100.0000) * (0.009366 + (energy-10.000000)* 0.000004) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 100.0000 && energy < 1000.0000) * (0.009686 + (energy-100.000000)* 0.000003) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.012672 + (energy-1000.000000)* 0.000007) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 10000.0000) * (0.072840*energy/10000.000000) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 0.0000 && energy < 1.0000) * (0.17768991) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 1.0000 && energy < 2.0000) * (0.177690 + (energy-1.000000)* -0.119322) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 2.0000 && energy < 5.0000) * (0.058368 + (energy-2.000000)* -0.011801) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 5.0000 && energy < 10.0000) * (0.022966 + (energy-5.000000)* -0.002532) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 10.0000 && energy < 100.0000) * (0.010308 + (energy-10.000000)* 0.000004) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 100.0000 && energy < 1000.0000) * (0.010654 + (energy-100.000000)* 0.000004) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.013982 + (energy-1000.000000)* 0.000007) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 10000.0000) * (0.081143*energy/10000.000000) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 0.0000 && energy < 1.0000) * (0.19156432) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 1.0000 && energy < 2.0000) * (0.191564 + (energy-1.000000)* -0.125357) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 2.0000 && energy < 5.0000) * (0.066207 + (energy-2.000000)* -0.013680) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 5.0000 && energy < 10.0000) * (0.025168 + (energy-5.000000)* -0.002755) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 10.0000 && energy < 100.0000) * (0.011394 + (energy-10.000000)* 0.000004) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 100.0000 && energy < 1000.0000) * (0.011796 + (energy-100.000000)* 0.000004) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.015576 + (energy-1000.000000)* 0.000009) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 10000.0000) * (0.092193*energy/10000.000000) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.075652) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 2.0000 && energy < 5.0000) * (0.075652 + (energy-2.000000)* -0.015621) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 5.0000 && energy < 10.0000) * (0.028790 + (energy-5.000000)* -0.003236) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 10.0000 && energy < 100.0000) * (0.012611 + (energy-10.000000)* 0.000005) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 100.0000 && energy < 1000.0000) * (0.013037 + (energy-100.000000)* 0.000005) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.017269 + (energy-1000.000000)* 0.000010) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 10000.0000) * (0.103252*energy/10000.000000) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.088768) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 2.0000 && energy < 5.0000) * (0.088768 + (energy-2.000000)* -0.018880) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 5.0000 && energy < 10.0000) * (0.032126 + (energy-5.000000)* -0.003627) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 10.0000 && energy < 100.0000) * (0.013990 + (energy-10.000000)* 0.000005) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 100.0000 && energy < 1000.0000) * (0.014468 + (energy-100.000000)* 0.000005) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.019295 + (energy-1000.000000)* 0.000011) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 10000.0000) * (0.117161*energy/10000.000000) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.099752) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 2.0000 && energy < 5.0000) * (0.099752 + (energy-2.000000)* -0.021799) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 5.0000 && energy < 10.0000) * (0.034356 + (energy-5.000000)* -0.003793) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 10.0000 && energy < 100.0000) * (0.015389 + (energy-10.000000)* 0.000006) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 100.0000 && energy < 1000.0000) * (0.015906 + (energy-100.000000)* 0.000006) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.021315 + (energy-1000.000000)* 0.000012) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 10000.0000) * (0.133463*energy/10000.000000) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.129119) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 2.0000 && energy < 5.0000) * (0.129119 + (energy-2.000000)* -0.029895) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 5.0000 && energy < 10.0000) * (0.039433 + (energy-5.000000)* -0.004396) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 10.0000 && energy < 100.0000) * (0.017452 + (energy-10.000000)* 0.000006) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 100.0000 && energy < 1000.0000) * (0.018028 + (energy-100.000000)* 0.000007) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.024225 + (energy-1000.000000)* 0.000014) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 10000.0000) * (0.151204*energy/10000.000000) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.148587) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 2.0000 && energy < 5.0000) * (0.148587 + (energy-2.000000)* -0.035133) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 5.0000 && energy < 10.0000) * (0.043189 + (energy-5.000000)* -0.004829) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 10.0000 && energy < 100.0000) * (0.019045 + (energy-10.000000)* 0.000006) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 100.0000 && energy < 1000.0000) * (0.019625 + (energy-100.000000)* 0.000007) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.026335 + (energy-1000.000000)* 0.000015) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 10000.0000) * (0.165614*energy/10000.000000) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.230194) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 2.0000 && energy < 5.0000) * (0.230194 + (energy-2.000000)* -0.059949) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 5.0000 && energy < 10.0000) * (0.050347 + (energy-5.000000)* -0.005793) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 10.0000 && energy < 100.0000) * (0.021380 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 100.0000 && energy < 1000.0000) * (0.022044 + (energy-100.000000)* 0.000009) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.029961 + (energy-1000.000000)* 0.000018) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 10000.0000) * (0.188507*energy/10000.000000) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.256226) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 2.0000 && energy < 5.0000) * (0.256226 + (energy-2.000000)* -0.067581) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 5.0000 && energy < 10.0000) * (0.053485 + (energy-5.000000)* -0.006077) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 10.0000 && energy < 100.0000) * (0.023102 + (energy-10.000000)* 0.000008) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 100.0000 && energy < 1000.0000) * (0.023822 + (energy-100.000000)* 0.000010) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.032699 + (energy-1000.000000)* 0.000020) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 10000.0000) * (0.212432*energy/10000.000000) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.428061) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 2.0000 && energy < 5.0000) * (0.428061 + (energy-2.000000)* -0.122293) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 5.0000 && energy < 10.0000) * (0.061183 + (energy-5.000000)* -0.007029) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 10.0000 && energy < 100.0000) * (0.026038 + (energy-10.000000)* 0.000009) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 100.0000 && energy < 1000.0000) * (0.026834 + (energy-100.000000)* 0.000011) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.037168 + (energy-1000.000000)* 0.000023) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 10000.0000) * (0.240865*energy/10000.000000) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.302517) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 2.0000 && energy < 5.0000) * (0.302517 + (energy-2.000000)* -0.078082) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 5.0000 && energy < 10.0000) * (0.068271 + (energy-5.000000)* -0.007915) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 10.0000 && energy < 100.0000) * (0.028698 + (energy-10.000000)* 0.000010) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 100.0000 && energy < 1000.0000) * (0.029589 + (energy-100.000000)* 0.000014) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.042319 + (energy-1000.000000)* 0.000027) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 10000.0000) * (0.284210*energy/10000.000000) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.025424) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 5.0000 && energy < 10.0000) * (0.076273 + (energy-5.000000)* -0.008946) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 10.0000 && energy < 100.0000) * (0.031543 + (energy-10.000000)* 0.000010) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 100.0000 && energy < 1000.0000) * (0.032442 + (energy-100.000000)* 0.000017) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.047712 + (energy-1000.000000)* 0.000031) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 10000.0000) * (0.326399*energy/10000.000000) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.029080) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 5.0000 && energy < 10.0000) * (0.087241 + (energy-5.000000)* -0.010397) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 10.0000 && energy < 100.0000) * (0.035256 + (energy-10.000000)* 0.000011) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 100.0000 && energy < 1000.0000) * (0.036252 + (energy-100.000000)* 0.000019) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.053456 + (energy-1000.000000)* 0.000034) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 10000.0000) * (0.357698*energy/10000.000000) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.033344) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 5.0000 && energy < 10.0000) * (0.100031 + (energy-5.000000)* -0.012242) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 10.0000 && energy < 100.0000) * (0.038819 + (energy-10.000000)* 0.000015) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 100.0000 && energy < 1000.0000) * (0.040162 + (energy-100.000000)* 0.000023) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.061269 + (energy-1000.000000)* 0.000040) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 10000.0000) * (0.420216*energy/10000.000000) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.039257) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 5.0000 && energy < 10.0000) * (0.117770 + (energy-5.000000)* -0.014993) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 10.0000 && energy < 100.0000) * (0.042808 + (energy-10.000000)* 0.000025) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 100.0000 && energy < 1000.0000) * (0.045061 + (energy-100.000000)* 0.000029) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.071538 + (energy-1000.000000)* 0.000049) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 10000.0000) * (0.510223*energy/10000.000000) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.041967) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 5.0000 && energy < 10.0000) * (0.125902 + (energy-5.000000)* -0.016273) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 10.0000 && energy < 100.0000) * (0.044536 + (energy-10.000000)* 0.000023) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 100.0000 && energy < 1000.0000) * (0.046571 + (energy-100.000000)* 0.000043) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.085014 + (energy-1000.000000)* 0.000066) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 10000.0000) * (0.680639*energy/10000.000000) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.000000) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 5.0000 && energy < 10.0000) * (0.000000 + (energy-5.000000)* 0.013098) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 10.0000 && energy < 100.0000) * (0.065492 + (energy-10.000000)* 0.000107) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 100.0000 && energy < 1000.0000) * (0.075097 + (energy-100.000000)* 0.000243) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 1000.0000 && energy < 10000.0000) * (0.294198 + (energy-1000.000000)* 0.000280) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 10000.0000) * (2.814894*energy/10000.000000)
+}
+
+
+#
+# Automatically generated tracker resolution formula for layout: FCChh_Option3
+#
+# http://fcc-tklayout.web.cern.ch/fcc-tklayout/FCChh-Option3/FCChh_Option3_v0_Delphes_eta0.1_p.conf
+#
+#  By Z.Drasal(CERN) on: 2016-09-07.13:22:06
+#
+#
+#  Analytical formula 
+
+
+set MuonResolutionFormula { 
+ 
+( abs(eta) < 1.35 ) * 
+
+(sqrt(0.0000364164 + (
+   9.06262e-8 *pt^2* cosh(
+     eta)^2 *(2.82074e-7/sin(2*atan(exp(-abs(eta))))^2 + (
+      504.525 *(1/400000000 + (0.117945* 1/cosh(eta)^2)/(
+         pt^2 *sin(2*atan(exp(-abs(eta))))^2)))/
+      sin(2*atan(exp(-abs(eta))))^2) *sin(2*atan(exp(-abs(eta))))^2)/(
+   0.00516429/sin(2*atan(exp(-abs(eta))))^2 + (
+    96868.8 *(1/400000000 + (0.117945 * 1/cosh(eta)^2)/(
+       pt^2 *sin(2*atan(exp(-abs(eta))))^2)))/
+    sin(2*atan(exp(-abs(eta))))^2))
+
+) +
+  
+( abs(eta) > 1.35 && abs(eta) < 2.00) * 
+
+( 1.53846*( 
+
+ ( 
+   (energy >= 0.0000 && energy < 1.0000) * (0.00953577) + 
+(energy >= 1.0000 && energy < 2.0000) * (0.009536 + (energy-1.000000)* -0.003793) + 
+(energy >= 2.0000 && energy < 5.0000) * (0.005742 + (energy-2.000000)* -0.000489) + 
+(energy >= 5.0000 && energy < 10.0000) * (0.004277 + (energy-5.000000)* 0.000005) + 
+(energy >= 10.0000 && energy < 20.0000) * (0.004302 + (energy-10.000000)* 0.000007) + 
+(energy >= 20.0000 && energy < 50.0000) * (0.004368 + (energy-20.000000)* 0.000007) + 
+(energy >= 50.0000 && energy < 100.0000) * (0.004581 + (energy-50.000000)* 0.000006) + 
+(energy >= 100.0000 && energy < 200.0000) * (0.004875 + (energy-100.000000)* 0.000005) + 
+(energy >= 200.0000 && energy < 500.0000) * (0.005344 + (energy-200.000000)* 0.000004) + 
+(energy >= 500.0000 && energy < 1000.0000) * (0.006395 + (energy-500.000000)* 0.000004) + 
+(energy >= 1000.0000 && energy < 2000.0000) * (0.008441 + (energy-1000.000000)* 0.000005) + 
+(energy >= 2000.0000 && energy < 5000.0000) * (0.013700 + (energy-2000.000000)* 0.000006) + 
+(energy >= 5000.0000 && energy < 10000.0000) * (0.031615 + (energy-5000.000000)* 0.000006) + 
+(energy >= 10000.0000) * (0.062437*energy/10000.000000)
+ ) 
+   
+
+ - sqrt(0.0000364164 + (9.06262e-8 *(1.19507e-6 + 2137.54 *(1/400000000 + 0.155982/pt^2)) *pt^2)/(0.0218797 + 410407. *(1/400000000 + 0.155982/pt^2))))*abs(eta) + 
+
+3.07692*sqrt(0.0000364164 + (9.06262e-8 *(1.19507e-6 + 2137.54 *(1/400000000 + 0.155982/pt^2)) *pt^2)/(0.0218797 + 410407. *(1/400000000 + 0.155982/pt^2)))
+
+ - 2.07692* 
+ (  
+
+  (energy >= 0.0000 && energy < 1.0000) * (0.00953577) + 
+(energy >= 1.0000 && energy < 2.0000) * (0.009536 + (energy-1.000000)* -0.003793) + 
+(energy >= 2.0000 && energy < 5.0000) * (0.005742 + (energy-2.000000)* -0.000489) + 
+(energy >= 5.0000 && energy < 10.0000) * (0.004277 + (energy-5.000000)* 0.000005) + 
+(energy >= 10.0000 && energy < 20.0000) * (0.004302 + (energy-10.000000)* 0.000007) + 
+(energy >= 20.0000 && energy < 50.0000) * (0.004368 + (energy-20.000000)* 0.000007) + 
+(energy >= 50.0000 && energy < 100.0000) * (0.004581 + (energy-50.000000)* 0.000006) + 
+(energy >= 100.0000 && energy < 200.0000) * (0.004875 + (energy-100.000000)* 0.000005) + 
+(energy >= 200.0000 && energy < 500.0000) * (0.005344 + (energy-200.000000)* 0.000004) + 
+(energy >= 500.0000 && energy < 1000.0000) * (0.006395 + (energy-500.000000)* 0.000004) + 
+(energy >= 1000.0000 && energy < 2000.0000) * (0.008441 + (energy-1000.000000)* 0.000005) + 
+(energy >= 2000.0000 && energy < 5000.0000) * (0.013700 + (energy-2000.000000)* 0.000006) + 
+(energy >= 5000.0000 && energy < 10000.0000) * (0.031615 + (energy-5000.000000)* 0.000006) + 
+(energy >= 10000.0000) * (0.062437*energy/10000.000000) 
+
+ ) 
+
+
+) +
+
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 0.0000 && energy < 1.0000) * (0.01062416) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 1.0000 && energy < 2.0000) * (0.010624 + (energy-1.000000)* -0.005532) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 2.0000 && energy < 5.0000) * (0.005092 + (energy-2.000000)* -0.000326) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 5.0000 && energy < 10.0000) * (0.004115 + (energy-5.000000)* 0.000006) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 10.0000 && energy < 20.0000) * (0.004143 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 20.0000 && energy < 50.0000) * (0.004209 + (energy-20.000000)* 0.000007) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 50.0000 && energy < 100.0000) * (0.004413 + (energy-50.000000)* 0.000005) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 100.0000 && energy < 200.0000) * (0.004681 + (energy-100.000000)* 0.000004) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 200.0000 && energy < 500.0000) * (0.005076 + (energy-200.000000)* 0.000004) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 500.0000 && energy < 1000.0000) * (0.006270 + (energy-500.000000)* 0.000005) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.008960 + (energy-1000.000000)* 0.000007) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.015510 + (energy-2000.000000)* 0.000007) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.036867 + (energy-5000.000000)* 0.000007) + \
+   (abs(eta) >= 2.0000 && abs(eta) < 2.1000) * (energy >= 10000.0000) * (0.073168*energy/10000.000000) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 0.0000 && energy < 1.0000) * (0.01007098) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 1.0000 && energy < 2.0000) * (0.010071 + (energy-1.000000)* -0.004627) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 2.0000 && energy < 5.0000) * (0.005444 + (energy-2.000000)* -0.000322) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 5.0000 && energy < 10.0000) * (0.004478 + (energy-5.000000)* 0.000005) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 10.0000 && energy < 20.0000) * (0.004501 + (energy-10.000000)* 0.000006) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 20.0000 && energy < 50.0000) * (0.004558 + (energy-20.000000)* 0.000005) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 50.0000 && energy < 100.0000) * (0.004701 + (energy-50.000000)* 0.000004) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 100.0000 && energy < 200.0000) * (0.004888 + (energy-100.000000)* 0.000003) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 200.0000 && energy < 500.0000) * (0.005213 + (energy-200.000000)* 0.000004) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 500.0000 && energy < 1000.0000) * (0.006429 + (energy-500.000000)* 0.000006) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.009343 + (energy-1000.000000)* 0.000007) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.016410 + (energy-2000.000000)* 0.000008) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.039265 + (energy-5000.000000)* 0.000008) + \
+   (abs(eta) >= 2.1000 && abs(eta) < 2.2000) * (energy >= 10000.0000) * (0.078014*energy/10000.000000) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 0.0000 && energy < 1.0000) * (0.01095892) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 1.0000 && energy < 2.0000) * (0.010959 + (energy-1.000000)* -0.005458) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 2.0000 && energy < 5.0000) * (0.005501 + (energy-2.000000)* -0.000281) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 5.0000 && energy < 10.0000) * (0.004660 + (energy-5.000000)* 0.000005) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 10.0000 && energy < 20.0000) * (0.004686 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 20.0000 && energy < 50.0000) * (0.004757 + (energy-20.000000)* 0.000006) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 50.0000 && energy < 100.0000) * (0.004937 + (energy-50.000000)* 0.000004) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 100.0000 && energy < 200.0000) * (0.005143 + (energy-100.000000)* 0.000004) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 200.0000 && energy < 500.0000) * (0.005505 + (energy-200.000000)* 0.000005) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 500.0000 && energy < 1000.0000) * (0.006975 + (energy-500.000000)* 0.000007) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.010462 + (energy-1000.000000)* 0.000008) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.018731 + (energy-2000.000000)* 0.000009) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.045159 + (energy-5000.000000)* 0.000009) + \
+   (abs(eta) >= 2.2000 && abs(eta) < 2.3000) * (energy >= 10000.0000) * (0.089830*energy/10000.000000) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 0.0000 && energy < 1.0000) * (0.01279214) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 1.0000 && energy < 2.0000) * (0.012792 + (energy-1.000000)* -0.005763) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 2.0000 && energy < 5.0000) * (0.007029 + (energy-2.000000)* -0.000513) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 5.0000 && energy < 10.0000) * (0.005489 + (energy-5.000000)* 0.000003) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 10.0000 && energy < 20.0000) * (0.005503 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 20.0000 && energy < 50.0000) * (0.005537 + (energy-20.000000)* 0.000003) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 50.0000 && energy < 100.0000) * (0.005636 + (energy-50.000000)* 0.000003) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 100.0000 && energy < 200.0000) * (0.005773 + (energy-100.000000)* 0.000003) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 200.0000 && energy < 500.0000) * (0.006060 + (energy-200.000000)* 0.000005) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 500.0000 && energy < 1000.0000) * (0.007489 + (energy-500.000000)* 0.000007) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.011117 + (energy-1000.000000)* 0.000009) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.019824 + (energy-2000.000000)* 0.000009) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.047732 + (energy-5000.000000)* 0.000009) + \
+   (abs(eta) >= 2.3000 && abs(eta) < 2.4000) * (energy >= 10000.0000) * (0.094931*energy/10000.000000) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 0.0000 && energy < 1.0000) * (0.01502671) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 1.0000 && energy < 2.0000) * (0.015027 + (energy-1.000000)* -0.007177) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 2.0000 && energy < 5.0000) * (0.007850 + (energy-2.000000)* -0.000651) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 5.0000 && energy < 10.0000) * (0.005898 + (energy-5.000000)* 0.000003) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 10.0000 && energy < 20.0000) * (0.005913 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 20.0000 && energy < 50.0000) * (0.005947 + (energy-20.000000)* 0.000003) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 50.0000 && energy < 100.0000) * (0.006039 + (energy-50.000000)* 0.000003) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 100.0000 && energy < 200.0000) * (0.006170 + (energy-100.000000)* 0.000003) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 200.0000 && energy < 500.0000) * (0.006485 + (energy-200.000000)* 0.000006) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 500.0000 && energy < 1000.0000) * (0.008140 + (energy-500.000000)* 0.000008) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.012304 + (energy-1000.000000)* 0.000010) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.022168 + (energy-2000.000000)* 0.000010) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.053585 + (energy-5000.000000)* 0.000011) + \
+   (abs(eta) >= 2.4000 && abs(eta) < 2.5000) * (energy >= 10000.0000) * (0.106635*energy/10000.000000) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 0.0000 && energy < 1.0000) * (0.01771785) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 1.0000 && energy < 2.0000) * (0.017718 + (energy-1.000000)* -0.008750) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 2.0000 && energy < 5.0000) * (0.008968 + (energy-2.000000)* -0.000844) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 5.0000 && energy < 10.0000) * (0.006437 + (energy-5.000000)* -0.000198) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 10.0000 && energy < 20.0000) * (0.005447 + (energy-10.000000)* 0.000004) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 20.0000 && energy < 50.0000) * (0.005486 + (energy-20.000000)* 0.000004) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 50.0000 && energy < 100.0000) * (0.005601 + (energy-50.000000)* 0.000003) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 100.0000 && energy < 200.0000) * (0.005756 + (energy-100.000000)* 0.000003) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 200.0000 && energy < 500.0000) * (0.006057 + (energy-200.000000)* 0.000004) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 500.0000 && energy < 1000.0000) * (0.007394 + (energy-500.000000)* 0.000007) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.010682 + (energy-1000.000000)* 0.000008) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.018597 + (energy-2000.000000)* 0.000009) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.044243 + (energy-5000.000000)* 0.000009) + \
+   (abs(eta) >= 2.5000 && abs(eta) < 2.6000) * (energy >= 10000.0000) * (0.087807*energy/10000.000000) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 0.0000 && energy < 1.0000) * (0.02066341) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 1.0000 && energy < 2.0000) * (0.020663 + (energy-1.000000)* -0.010790) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 2.0000 && energy < 5.0000) * (0.009873 + (energy-2.000000)* -0.001354) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 5.0000 && energy < 10.0000) * (0.005812 + (energy-5.000000)* -0.000480) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 10.0000 && energy < 20.0000) * (0.003410 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 20.0000 && energy < 50.0000) * (0.003431 + (energy-20.000000)* 0.000003) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 50.0000 && energy < 100.0000) * (0.003509 + (energy-50.000000)* 0.000003) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 100.0000 && energy < 200.0000) * (0.003634 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 200.0000 && energy < 500.0000) * (0.003846 + (energy-200.000000)* 0.000002) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 500.0000 && energy < 1000.0000) * (0.004337 + (energy-500.000000)* 0.000002) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.005117 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.007177 + (energy-2000.000000)* 0.000003) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.015015 + (energy-5000.000000)* 0.000003) + \
+   (abs(eta) >= 2.6000 && abs(eta) < 2.7000) * (energy >= 10000.0000) * (0.029087*energy/10000.000000) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 0.0000 && energy < 1.0000) * (0.02387433) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 1.0000 && energy < 2.0000) * (0.023874 + (energy-1.000000)* -0.012777) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 2.0000 && energy < 5.0000) * (0.011097 + (energy-2.000000)* -0.001839) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 5.0000 && energy < 10.0000) * (0.005581 + (energy-5.000000)* -0.000438) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 10.0000 && energy < 20.0000) * (0.003393 + (energy-10.000000)* 0.000000) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 20.0000 && energy < 50.0000) * (0.003398 + (energy-20.000000)* 0.000001) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 50.0000 && energy < 100.0000) * (0.003420 + (energy-50.000000)* 0.000001) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 100.0000 && energy < 200.0000) * (0.003476 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 200.0000 && energy < 500.0000) * (0.003615 + (energy-200.000000)* 0.000001) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 500.0000 && energy < 1000.0000) * (0.004055 + (energy-500.000000)* 0.000001) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.004793 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.006663 + (energy-2000.000000)* 0.000002) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.013788 + (energy-5000.000000)* 0.000003) + \
+   (abs(eta) >= 2.7000 && abs(eta) < 2.8000) * (energy >= 10000.0000) * (0.026641*energy/10000.000000) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 0.0000 && energy < 1.0000) * (0.02217636) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 1.0000 && energy < 2.0000) * (0.022176 + (energy-1.000000)* -0.010469) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 2.0000 && energy < 5.0000) * (0.011707 + (energy-2.000000)* -0.002180) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 5.0000 && energy < 10.0000) * (0.005166 + (energy-5.000000)* -0.000353) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 10.0000 && energy < 20.0000) * (0.003399 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 20.0000 && energy < 50.0000) * (0.003411 + (energy-20.000000)* 0.000001) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 50.0000 && energy < 100.0000) * (0.003450 + (energy-50.000000)* 0.000001) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 100.0000 && energy < 200.0000) * (0.003507 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 200.0000 && energy < 500.0000) * (0.003608 + (energy-200.000000)* 0.000001) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 500.0000 && energy < 1000.0000) * (0.003926 + (energy-500.000000)* 0.000001) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.004572 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.006309 + (energy-2000.000000)* 0.000002) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.012988 + (energy-5000.000000)* 0.000002) + \
+   (abs(eta) >= 2.8000 && abs(eta) < 2.9000) * (energy >= 10000.0000) * (0.025064*energy/10000.000000) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 0.0000 && energy < 1.0000) * (0.02583658) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 1.0000 && energy < 2.0000) * (0.025837 + (energy-1.000000)* -0.012586) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 2.0000 && energy < 5.0000) * (0.013251 + (energy-2.000000)* -0.002556) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 5.0000 && energy < 10.0000) * (0.005583 + (energy-5.000000)* -0.000398) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 10.0000 && energy < 20.0000) * (0.003591 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 20.0000 && energy < 50.0000) * (0.003604 + (energy-20.000000)* 0.000001) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 50.0000 && energy < 100.0000) * (0.003647 + (energy-50.000000)* 0.000001) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 100.0000 && energy < 200.0000) * (0.003708 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 200.0000 && energy < 500.0000) * (0.003797 + (energy-200.000000)* 0.000001) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 500.0000 && energy < 1000.0000) * (0.004023 + (energy-500.000000)* 0.000001) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.004521 + (energy-1000.000000)* 0.000001) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.005989 + (energy-2000.000000)* 0.000002) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.011906 + (energy-5000.000000)* 0.000002) + \
+   (abs(eta) >= 2.9000 && abs(eta) < 3.0000) * (energy >= 10000.0000) * (0.022790*energy/10000.000000) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 0.0000 && energy < 1.0000) * (0.02963243) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 1.0000 && energy < 2.0000) * (0.029632 + (energy-1.000000)* -0.014940) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 2.0000 && energy < 5.0000) * (0.014692 + (energy-2.000000)* -0.002856) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 5.0000 && energy < 10.0000) * (0.006124 + (energy-5.000000)* -0.000467) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 10.0000 && energy < 20.0000) * (0.003789 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 20.0000 && energy < 50.0000) * (0.003802 + (energy-20.000000)* 0.000002) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 50.0000 && energy < 100.0000) * (0.003848 + (energy-50.000000)* 0.000001) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 100.0000 && energy < 200.0000) * (0.003915 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 200.0000 && energy < 500.0000) * (0.004015 + (energy-200.000000)* 0.000001) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 500.0000 && energy < 1000.0000) * (0.004220 + (energy-500.000000)* 0.000001) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.004609 + (energy-1000.000000)* 0.000001) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.005807 + (energy-2000.000000)* 0.000002) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.010943 + (energy-5000.000000)* 0.000002) + \
+   (abs(eta) >= 3.0000 && abs(eta) < 3.1000) * (energy >= 10000.0000) * (0.020653*energy/10000.000000) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 0.0000 && energy < 1.0000) * (0.03577811) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 1.0000 && energy < 2.0000) * (0.035778 + (energy-1.000000)* -0.019100) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 2.0000 && energy < 5.0000) * (0.016678 + (energy-2.000000)* -0.003305) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 5.0000 && energy < 10.0000) * (0.006763 + (energy-5.000000)* -0.000515) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 10.0000 && energy < 20.0000) * (0.004187 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 20.0000 && energy < 50.0000) * (0.004203 + (energy-20.000000)* 0.000002) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 50.0000 && energy < 100.0000) * (0.004254 + (energy-50.000000)* 0.000001) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 100.0000 && energy < 200.0000) * (0.004328 + (energy-100.000000)* 0.000001) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 200.0000 && energy < 500.0000) * (0.004439 + (energy-200.000000)* 0.000001) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 500.0000 && energy < 1000.0000) * (0.004660 + (energy-500.000000)* 0.000001) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.005046 + (energy-1000.000000)* 0.000001) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.006224 + (energy-2000.000000)* 0.000002) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.011395 + (energy-5000.000000)* 0.000002) + \
+   (abs(eta) >= 3.1000 && abs(eta) < 3.2000) * (energy >= 10000.0000) * (0.021322*energy/10000.000000) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 0.0000 && energy < 1.0000) * (0.04161861) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 1.0000 && energy < 2.0000) * (0.041619 + (energy-1.000000)* -0.023079) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 2.0000 && energy < 5.0000) * (0.018539 + (energy-2.000000)* -0.003668) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 5.0000 && energy < 10.0000) * (0.007537 + (energy-5.000000)* -0.000716) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 10.0000 && energy < 20.0000) * (0.003956 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 20.0000 && energy < 50.0000) * (0.003965 + (energy-20.000000)* 0.000001) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 50.0000 && energy < 100.0000) * (0.004008 + (energy-50.000000)* 0.000002) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 100.0000 && energy < 200.0000) * (0.004105 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 200.0000 && energy < 500.0000) * (0.004309 + (energy-200.000000)* 0.000001) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 500.0000 && energy < 1000.0000) * (0.004688 + (energy-500.000000)* 0.000001) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.005189 + (energy-1000.000000)* 0.000001) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.006605 + (energy-2000.000000)* 0.000002) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.012574 + (energy-5000.000000)* 0.000002) + \
+   (abs(eta) >= 3.2000 && abs(eta) < 3.3000) * (energy >= 10000.0000) * (0.023800*energy/10000.000000) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 0.0000 && energy < 1.0000) * (0.03383282) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 1.0000 && energy < 2.0000) * (0.033833 + (energy-1.000000)* -0.014958) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 2.0000 && energy < 5.0000) * (0.018874 + (energy-2.000000)* -0.003578) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 5.0000 && energy < 10.0000) * (0.008140 + (energy-5.000000)* -0.000758) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 10.0000 && energy < 20.0000) * (0.004349 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 20.0000 && energy < 50.0000) * (0.004360 + (energy-20.000000)* 0.000002) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 50.0000 && energy < 100.0000) * (0.004409 + (energy-50.000000)* 0.000002) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 100.0000 && energy < 200.0000) * (0.004515 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 200.0000 && energy < 500.0000) * (0.004740 + (energy-200.000000)* 0.000001) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 500.0000 && energy < 1000.0000) * (0.005163 + (energy-500.000000)* 0.000001) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.005752 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.007429 + (energy-2000.000000)* 0.000002) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.014390 + (energy-5000.000000)* 0.000003) + \
+   (abs(eta) >= 3.3000 && abs(eta) < 3.4000) * (energy >= 10000.0000) * (0.027365*energy/10000.000000) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 0.0000 && energy < 1.0000) * (0.03770413) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 1.0000 && energy < 2.0000) * (0.037704 + (energy-1.000000)* -0.016940) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 2.0000 && energy < 5.0000) * (0.020765 + (energy-2.000000)* -0.003926) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 5.0000 && energy < 10.0000) * (0.008986 + (energy-5.000000)* -0.000849) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 10.0000 && energy < 20.0000) * (0.004740 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 20.0000 && energy < 50.0000) * (0.004753 + (energy-20.000000)* 0.000002) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 50.0000 && energy < 100.0000) * (0.004808 + (energy-50.000000)* 0.000002) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 100.0000 && energy < 200.0000) * (0.004926 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 200.0000 && energy < 500.0000) * (0.005169 + (energy-200.000000)* 0.000002) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 500.0000 && energy < 1000.0000) * (0.005628 + (energy-500.000000)* 0.000001) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.006280 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.008138 + (energy-2000.000000)* 0.000003) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.015821 + (energy-5000.000000)* 0.000003) + \
+   (abs(eta) >= 3.4000 && abs(eta) < 3.5000) * (energy >= 10000.0000) * (0.030114*energy/10000.000000) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 0.0000 && energy < 1.0000) * (0.04326517) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 1.0000 && energy < 2.0000) * (0.043265 + (energy-1.000000)* -0.019858) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 2.0000 && energy < 5.0000) * (0.023408 + (energy-2.000000)* -0.004458) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 5.0000 && energy < 10.0000) * (0.010033 + (energy-5.000000)* -0.001007) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 10.0000 && energy < 20.0000) * (0.005000 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 20.0000 && energy < 50.0000) * (0.005013 + (energy-20.000000)* 0.000002) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 50.0000 && energy < 100.0000) * (0.005069 + (energy-50.000000)* 0.000002) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 100.0000 && energy < 200.0000) * (0.005183 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 200.0000 && energy < 500.0000) * (0.005417 + (energy-200.000000)* 0.000002) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 500.0000 && energy < 1000.0000) * (0.005907 + (energy-500.000000)* 0.000002) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.006661 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.008789 + (energy-2000.000000)* 0.000003) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.017407 + (energy-5000.000000)* 0.000003) + \
+   (abs(eta) >= 3.5000 && abs(eta) < 3.6000) * (energy >= 10000.0000) * (0.033289*energy/10000.000000) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 0.0000 && energy < 1.0000) * (0.04974729) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 1.0000 && energy < 2.0000) * (0.049747 + (energy-1.000000)* -0.023806) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 2.0000 && energy < 5.0000) * (0.025942 + (energy-2.000000)* -0.004972) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 5.0000 && energy < 10.0000) * (0.011025 + (energy-5.000000)* -0.001116) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 10.0000 && energy < 20.0000) * (0.005448 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 20.0000 && energy < 50.0000) * (0.005460 + (energy-20.000000)* 0.000002) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 50.0000 && energy < 100.0000) * (0.005507 + (energy-50.000000)* 0.000002) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 100.0000 && energy < 200.0000) * (0.005596 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 200.0000 && energy < 500.0000) * (0.005777 + (energy-200.000000)* 0.000001) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 500.0000 && energy < 1000.0000) * (0.006219 + (energy-500.000000)* 0.000002) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.007067 + (energy-1000.000000)* 0.000002) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.009510 + (energy-2000.000000)* 0.000003) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.019219 + (energy-5000.000000)* 0.000004) + \
+   (abs(eta) >= 3.6000 && abs(eta) < 3.7000) * (energy >= 10000.0000) * (0.036939*energy/10000.000000) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 0.0000 && energy < 1.0000) * (0.05785426) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 1.0000 && energy < 2.0000) * (0.057854 + (energy-1.000000)* -0.028787) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 2.0000 && energy < 5.0000) * (0.029067 + (energy-2.000000)* -0.005616) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 5.0000 && energy < 10.0000) * (0.012219 + (energy-5.000000)* -0.001273) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 10.0000 && energy < 20.0000) * (0.005853 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 20.0000 && energy < 50.0000) * (0.005866 + (energy-20.000000)* 0.000002) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 50.0000 && energy < 100.0000) * (0.005916 + (energy-50.000000)* 0.000002) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 100.0000 && energy < 200.0000) * (0.006003 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 200.0000 && energy < 500.0000) * (0.006168 + (energy-200.000000)* 0.000001) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 500.0000 && energy < 1000.0000) * (0.006610 + (energy-500.000000)* 0.000002) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.007586 + (energy-1000.000000)* 0.000003) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.010395 + (energy-2000.000000)* 0.000004) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.021333 + (energy-5000.000000)* 0.000004) + \
+   (abs(eta) >= 3.7000 && abs(eta) < 3.8000) * (energy >= 10000.0000) * (0.041147*energy/10000.000000) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 0.0000 && energy < 1.0000) * (0.06718533) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 1.0000 && energy < 2.0000) * (0.067185 + (energy-1.000000)* -0.034625) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 2.0000 && energy < 5.0000) * (0.032561 + (energy-2.000000)* -0.006343) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 5.0000 && energy < 10.0000) * (0.013532 + (energy-5.000000)* -0.001450) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 10.0000 && energy < 20.0000) * (0.006281 + (energy-10.000000)* 0.000001) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 20.0000 && energy < 50.0000) * (0.006295 + (energy-20.000000)* 0.000002) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 50.0000 && energy < 100.0000) * (0.006353 + (energy-50.000000)* 0.000002) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 100.0000 && energy < 200.0000) * (0.006465 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 200.0000 && energy < 500.0000) * (0.006668 + (energy-200.000000)* 0.000002) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 500.0000 && energy < 1000.0000) * (0.007170 + (energy-500.000000)* 0.000002) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.008278 + (energy-1000.000000)* 0.000003) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.011443 + (energy-2000.000000)* 0.000004) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.023657 + (energy-5000.000000)* 0.000004) + \
+   (abs(eta) >= 3.8000 && abs(eta) < 3.9000) * (energy >= 10000.0000) * (0.045703*energy/10000.000000) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 0.0000 && energy < 1.0000) * (0.08709809) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 1.0000 && energy < 2.0000) * (0.087098 + (energy-1.000000)* -0.049770) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 2.0000 && energy < 5.0000) * (0.037329 + (energy-2.000000)* -0.007335) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 5.0000 && energy < 10.0000) * (0.015323 + (energy-5.000000)* -0.001682) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 10.0000 && energy < 20.0000) * (0.006911 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 20.0000 && energy < 50.0000) * (0.006927 + (energy-20.000000)* 0.000002) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 50.0000 && energy < 100.0000) * (0.006997 + (energy-50.000000)* 0.000003) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 100.0000 && energy < 200.0000) * (0.007135 + (energy-100.000000)* 0.000002) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 200.0000 && energy < 500.0000) * (0.007379 + (energy-200.000000)* 0.000002) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 500.0000 && energy < 1000.0000) * (0.007952 + (energy-500.000000)* 0.000003) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.009211 + (energy-1000.000000)* 0.000004) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.012796 + (energy-2000.000000)* 0.000005) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.026558 + (energy-5000.000000)* 0.000005) + \
+   (abs(eta) >= 3.9000 && abs(eta) < 4.0000) * (energy >= 10000.0000) * (0.051352*energy/10000.000000) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 0.0000 && energy < 1.0000) * (0.12619580) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 1.0000 && energy < 2.0000) * (0.126196 + (energy-1.000000)* -0.083377) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 2.0000 && energy < 5.0000) * (0.042819 + (energy-2.000000)* -0.008681) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 5.0000 && energy < 10.0000) * (0.016777 + (energy-5.000000)* -0.001830) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 10.0000 && energy < 20.0000) * (0.007626 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 20.0000 && energy < 50.0000) * (0.007645 + (energy-20.000000)* 0.000003) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 50.0000 && energy < 100.0000) * (0.007726 + (energy-50.000000)* 0.000003) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 100.0000 && energy < 200.0000) * (0.007887 + (energy-100.000000)* 0.000003) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 200.0000 && energy < 500.0000) * (0.008175 + (energy-200.000000)* 0.000002) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 500.0000 && energy < 1000.0000) * (0.008849 + (energy-500.000000)* 0.000003) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.010337 + (energy-1000.000000)* 0.000004) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.014595 + (energy-2000.000000)* 0.000005) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.030767 + (energy-5000.000000)* 0.000006) + \
+   (abs(eta) >= 4.0000 && abs(eta) < 4.1000) * (energy >= 10000.0000) * (0.059701*energy/10000.000000) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 0.0000 && energy < 1.0000) * (0.14624618) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 1.0000 && energy < 2.0000) * (0.146246 + (energy-1.000000)* -0.098526) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 2.0000 && energy < 5.0000) * (0.047720 + (energy-2.000000)* -0.009733) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 5.0000 && energy < 10.0000) * (0.018523 + (energy-5.000000)* -0.002021) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 10.0000 && energy < 20.0000) * (0.008418 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 20.0000 && energy < 50.0000) * (0.008438 + (energy-20.000000)* 0.000003) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 50.0000 && energy < 100.0000) * (0.008527 + (energy-50.000000)* 0.000003) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 100.0000 && energy < 200.0000) * (0.008700 + (energy-100.000000)* 0.000003) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 200.0000 && energy < 500.0000) * (0.009003 + (energy-200.000000)* 0.000002) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 500.0000 && energy < 1000.0000) * (0.009731 + (energy-500.000000)* 0.000003) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.011385 + (energy-1000.000000)* 0.000005) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.016151 + (energy-2000.000000)* 0.000006) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.034199 + (energy-5000.000000)* 0.000006) + \
+   (abs(eta) >= 4.1000 && abs(eta) < 4.2000) * (energy >= 10000.0000) * (0.066429*energy/10000.000000) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 0.0000 && energy < 1.0000) * (0.16175578) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 1.0000 && energy < 2.0000) * (0.161756 + (energy-1.000000)* -0.108865) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 2.0000 && energy < 5.0000) * (0.052891 + (energy-2.000000)* -0.010802) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 5.0000 && energy < 10.0000) * (0.020485 + (energy-5.000000)* -0.002214) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 10.0000 && energy < 20.0000) * (0.009415 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 20.0000 && energy < 50.0000) * (0.009439 + (energy-20.000000)* 0.000003) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 50.0000 && energy < 100.0000) * (0.009541 + (energy-50.000000)* 0.000004) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 100.0000 && energy < 200.0000) * (0.009738 + (energy-100.000000)* 0.000003) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 200.0000 && energy < 500.0000) * (0.010083 + (energy-200.000000)* 0.000003) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 500.0000 && energy < 1000.0000) * (0.010896 + (energy-500.000000)* 0.000004) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.012697 + (energy-1000.000000)* 0.000005) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.017873 + (energy-2000.000000)* 0.000007) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.037582 + (energy-5000.000000)* 0.000007) + \
+   (abs(eta) >= 4.2000 && abs(eta) < 4.3000) * (energy >= 10000.0000) * (0.072885*energy/10000.000000) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 0.0000 && energy < 1.0000) * (0.17869220) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 1.0000 && energy < 2.0000) * (0.178692 + (energy-1.000000)* -0.120519) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 2.0000 && energy < 5.0000) * (0.058173 + (energy-2.000000)* -0.011809) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 5.0000 && energy < 10.0000) * (0.022744 + (energy-5.000000)* -0.002485) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 10.0000 && energy < 20.0000) * (0.010318 + (energy-10.000000)* 0.000002) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 20.0000 && energy < 50.0000) * (0.010343 + (energy-20.000000)* 0.000004) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 50.0000 && energy < 100.0000) * (0.010452 + (energy-50.000000)* 0.000004) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 100.0000 && energy < 200.0000) * (0.010667 + (energy-100.000000)* 0.000004) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 200.0000 && energy < 500.0000) * (0.011049 + (energy-200.000000)* 0.000003) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 500.0000 && energy < 1000.0000) * (0.011951 + (energy-500.000000)* 0.000004) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.013945 + (energy-1000.000000)* 0.000006) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.019634 + (energy-2000.000000)* 0.000007) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.041255 + (energy-5000.000000)* 0.000008) + \
+   (abs(eta) >= 4.3000 && abs(eta) < 4.4000) * (energy >= 10000.0000) * (0.079993*energy/10000.000000) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 0.0000 && energy < 1.0000) * (0.18898517) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 1.0000 && energy < 2.0000) * (0.188985 + (energy-1.000000)* -0.121337) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 2.0000 && energy < 5.0000) * (0.067649 + (energy-2.000000)* -0.014155) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 5.0000 && energy < 10.0000) * (0.025183 + (energy-5.000000)* -0.002762) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 10.0000 && energy < 20.0000) * (0.011374 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 20.0000 && energy < 50.0000) * (0.011402 + (energy-20.000000)* 0.000004) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 50.0000 && energy < 100.0000) * (0.011528 + (energy-50.000000)* 0.000005) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 100.0000 && energy < 200.0000) * (0.011771 + (energy-100.000000)* 0.000004) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 200.0000 && energy < 500.0000) * (0.012196 + (energy-200.000000)* 0.000003) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 500.0000 && energy < 1000.0000) * (0.013221 + (energy-500.000000)* 0.000005) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.015568 + (energy-1000.000000)* 0.000007) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.022316 + (energy-2000.000000)* 0.000008) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.047647 + (energy-5000.000000)* 0.000009) + \
+   (abs(eta) >= 4.4000 && abs(eta) < 4.5000) * (energy >= 10000.0000) * (0.092712*energy/10000.000000) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.075522) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 2.0000 && energy < 5.0000) * (0.075522 + (energy-2.000000)* -0.015597) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 5.0000 && energy < 10.0000) * (0.028731 + (energy-5.000000)* -0.003214) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 10.0000 && energy < 20.0000) * (0.012662 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 20.0000 && energy < 50.0000) * (0.012690 + (energy-20.000000)* 0.000004) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 50.0000 && energy < 100.0000) * (0.012821 + (energy-50.000000)* 0.000005) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 100.0000 && energy < 200.0000) * (0.013085 + (energy-100.000000)* 0.000005) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 200.0000 && energy < 500.0000) * (0.013552 + (energy-200.000000)* 0.000004) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 500.0000 && energy < 1000.0000) * (0.014677 + (energy-500.000000)* 0.000005) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.017233 + (energy-1000.000000)* 0.000007) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.024599 + (energy-2000.000000)* 0.000009) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.052353 + (energy-5000.000000)* 0.000010) + \
+   (abs(eta) >= 4.5000 && abs(eta) < 4.6000) * (energy >= 10000.0000) * (0.101803*energy/10000.000000) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.090503) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 2.0000 && energy < 5.0000) * (0.090503 + (energy-2.000000)* -0.019703) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 5.0000 && energy < 10.0000) * (0.031395 + (energy-5.000000)* -0.003480) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 10.0000 && energy < 20.0000) * (0.013995 + (energy-10.000000)* 0.000003) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 20.0000 && energy < 50.0000) * (0.014027 + (energy-20.000000)* 0.000005) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 50.0000 && energy < 100.0000) * (0.014176 + (energy-50.000000)* 0.000006) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 100.0000 && energy < 200.0000) * (0.014468 + (energy-100.000000)* 0.000005) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 200.0000 && energy < 500.0000) * (0.014969 + (energy-200.000000)* 0.000004) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 500.0000 && energy < 1000.0000) * (0.016230 + (energy-500.000000)* 0.000006) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.019250 + (energy-1000.000000)* 0.000009) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.027980 + (energy-2000.000000)* 0.000011) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.060424 + (energy-5000.000000)* 0.000011) + \
+   (abs(eta) >= 4.6000 && abs(eta) < 4.7000) * (energy >= 10000.0000) * (0.117856*energy/10000.000000) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.102097) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 2.0000 && energy < 5.0000) * (0.102097 + (energy-2.000000)* -0.022301) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 5.0000 && energy < 10.0000) * (0.035195 + (energy-5.000000)* -0.003934) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 10.0000 && energy < 20.0000) * (0.015525 + (energy-10.000000)* 0.000004) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 20.0000 && energy < 50.0000) * (0.015561 + (energy-20.000000)* 0.000006) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 50.0000 && energy < 100.0000) * (0.015730 + (energy-50.000000)* 0.000007) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 100.0000 && energy < 200.0000) * (0.016057 + (energy-100.000000)* 0.000006) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 200.0000 && energy < 500.0000) * (0.016615 + (energy-200.000000)* 0.000005) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 500.0000 && energy < 1000.0000) * (0.018034 + (energy-500.000000)* 0.000007) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.021422 + (energy-1000.000000)* 0.000010) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.031166 + (energy-2000.000000)* 0.000012) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.067294 + (energy-5000.000000)* 0.000013) + \
+   (abs(eta) >= 4.7000 && abs(eta) < 4.8000) * (energy >= 10000.0000) * (0.131242*energy/10000.000000) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.132101) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 2.0000 && energy < 5.0000) * (0.132101 + (energy-2.000000)* -0.031211) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 5.0000 && energy < 10.0000) * (0.038468 + (energy-5.000000)* -0.004232) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 10.0000 && energy < 20.0000) * (0.017310 + (energy-10.000000)* 0.000004) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 20.0000 && energy < 50.0000) * (0.017351 + (energy-20.000000)* 0.000006) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 50.0000 && energy < 100.0000) * (0.017536 + (energy-50.000000)* 0.000007) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 100.0000 && energy < 200.0000) * (0.017885 + (energy-100.000000)* 0.000006) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 200.0000 && energy < 500.0000) * (0.018472 + (energy-200.000000)* 0.000005) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 500.0000 && energy < 1000.0000) * (0.020080 + (energy-500.000000)* 0.000008) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.024141 + (energy-1000.000000)* 0.000012) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.035869 + (energy-2000.000000)* 0.000014) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.078748 + (energy-5000.000000)* 0.000015) + \
+   (abs(eta) >= 4.8000 && abs(eta) < 4.9000) * (energy >= 10000.0000) * (0.154114*energy/10000.000000) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.151278) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 2.0000 && energy < 5.0000) * (0.151278 + (energy-2.000000)* -0.036022) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 5.0000 && energy < 10.0000) * (0.043213 + (energy-5.000000)* -0.004865) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 10.0000 && energy < 20.0000) * (0.018887 + (energy-10.000000)* 0.000004) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 20.0000 && energy < 50.0000) * (0.018929 + (energy-20.000000)* 0.000006) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 50.0000 && energy < 100.0000) * (0.019123 + (energy-50.000000)* 0.000008) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 100.0000 && energy < 200.0000) * (0.019509 + (energy-100.000000)* 0.000007) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 200.0000 && energy < 500.0000) * (0.020185 + (energy-200.000000)* 0.000006) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 500.0000 && energy < 1000.0000) * (0.022033 + (energy-500.000000)* 0.000009) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.026662 + (energy-1000.000000)* 0.000013) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.039909 + (energy-2000.000000)* 0.000016) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.087996 + (energy-5000.000000)* 0.000017) + \
+   (abs(eta) >= 4.9000 && abs(eta) < 5.0000) * (energy >= 10000.0000) * (0.172347*energy/10000.000000) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.239223) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 2.0000 && energy < 5.0000) * (0.239223 + (energy-2.000000)* -0.063075) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 5.0000 && energy < 10.0000) * (0.050000 + (energy-5.000000)* -0.005713) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 10.0000 && energy < 20.0000) * (0.021434 + (energy-10.000000)* 0.000005) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 20.0000 && energy < 50.0000) * (0.021481 + (energy-20.000000)* 0.000008) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 50.0000 && energy < 100.0000) * (0.021707 + (energy-50.000000)* 0.000009) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 100.0000 && energy < 200.0000) * (0.022163 + (energy-100.000000)* 0.000008) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 200.0000 && energy < 500.0000) * (0.022996 + (energy-200.000000)* 0.000008) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 500.0000 && energy < 1000.0000) * (0.025292 + (energy-500.000000)* 0.000011) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.030768 + (energy-1000.000000)* 0.000015) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.046135 + (energy-2000.000000)* 0.000019) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.101684 + (energy-5000.000000)* 0.000019) + \
+   (abs(eta) >= 5.0000 && abs(eta) < 5.1000) * (energy >= 10000.0000) * (0.199114*energy/10000.000000) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.275067) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 2.0000 && energy < 5.0000) * (0.275067 + (energy-2.000000)* -0.073530) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 5.0000 && energy < 10.0000) * (0.054476 + (energy-5.000000)* -0.006221) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 10.0000 && energy < 20.0000) * (0.023371 + (energy-10.000000)* 0.000005) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 20.0000 && energy < 50.0000) * (0.023423 + (energy-20.000000)* 0.000008) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 50.0000 && energy < 100.0000) * (0.023672 + (energy-50.000000)* 0.000010) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 100.0000 && energy < 200.0000) * (0.024167 + (energy-100.000000)* 0.000009) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 200.0000 && energy < 500.0000) * (0.025060 + (energy-200.000000)* 0.000009) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 500.0000 && energy < 1000.0000) * (0.027622 + (energy-500.000000)* 0.000013) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.033986 + (energy-1000.000000)* 0.000018) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.051850 + (energy-2000.000000)* 0.000021) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.115694 + (energy-5000.000000)* 0.000022) + \
+   (abs(eta) >= 5.1000 && abs(eta) < 5.2000) * (energy >= 10000.0000) * (0.227105*energy/10000.000000) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.404844) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 2.0000 && energy < 5.0000) * (0.404844 + (energy-2.000000)* -0.114742) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 5.0000 && energy < 10.0000) * (0.060619 + (energy-5.000000)* -0.006962) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 10.0000 && energy < 20.0000) * (0.025809 + (energy-10.000000)* 0.000006) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 20.0000 && energy < 50.0000) * (0.025867 + (energy-20.000000)* 0.000009) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 50.0000 && energy < 100.0000) * (0.026143 + (energy-50.000000)* 0.000011) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 100.0000 && energy < 200.0000) * (0.026688 + (energy-100.000000)* 0.000010) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 200.0000 && energy < 500.0000) * (0.027702 + (energy-200.000000)* 0.000010) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 500.0000 && energy < 1000.0000) * (0.030838 + (energy-500.000000)* 0.000016) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.038636 + (energy-1000.000000)* 0.000021) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.060061 + (energy-2000.000000)* 0.000025) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.135496 + (energy-5000.000000)* 0.000026) + \
+   (abs(eta) >= 5.2000 && abs(eta) < 5.3000) * (energy >= 10000.0000) * (0.266519*energy/10000.000000) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.023190) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 5.0000 && energy < 10.0000) * (0.069570 + (energy-5.000000)* -0.008161) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 10.0000 && energy < 20.0000) * (0.028765 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 20.0000 && energy < 50.0000) * (0.028831 + (energy-20.000000)* 0.000010) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 50.0000 && energy < 100.0000) * (0.029140 + (energy-50.000000)* 0.000012) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 100.0000 && energy < 200.0000) * (0.029731 + (energy-100.000000)* 0.000011) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 200.0000 && energy < 500.0000) * (0.030880 + (energy-200.000000)* 0.000013) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 500.0000 && energy < 1000.0000) * (0.034720 + (energy-500.000000)* 0.000019) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.044135 + (energy-1000.000000)* 0.000025) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.069540 + (energy-2000.000000)* 0.000030) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.158041 + (energy-5000.000000)* 0.000031) + \
+   (abs(eta) >= 5.3000 && abs(eta) < 5.4000) * (energy >= 10000.0000) * (0.311275*energy/10000.000000) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.025980) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 5.0000 && energy < 10.0000) * (0.077940 + (energy-5.000000)* -0.009259) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 10.0000 && energy < 20.0000) * (0.031645 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 20.0000 && energy < 50.0000) * (0.031713 + (energy-20.000000)* 0.000010) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 50.0000 && energy < 100.0000) * (0.032025 + (energy-50.000000)* 0.000013) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 100.0000 && energy < 200.0000) * (0.032673 + (energy-100.000000)* 0.000014) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 200.0000 && energy < 500.0000) * (0.034089 + (energy-200.000000)* 0.000016) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 500.0000 && energy < 1000.0000) * (0.038964 + (energy-500.000000)* 0.000023) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.050536 + (energy-1000.000000)* 0.000031) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.081168 + (energy-2000.000000)* 0.000035) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.186438 + (energy-5000.000000)* 0.000036) + \
+   (abs(eta) >= 5.4000 && abs(eta) < 5.5000) * (energy >= 10000.0000) * (0.367910*energy/10000.000000) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.029064) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 5.0000 && energy < 10.0000) * (0.087192 + (energy-5.000000)* -0.010389) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 10.0000 && energy < 20.0000) * (0.035246 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 20.0000 && energy < 50.0000) * (0.035321 + (energy-20.000000)* 0.000012) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 50.0000 && energy < 100.0000) * (0.035671 + (energy-50.000000)* 0.000016) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 100.0000 && energy < 200.0000) * (0.036467 + (energy-100.000000)* 0.000018) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 200.0000 && energy < 500.0000) * (0.038292 + (energy-200.000000)* 0.000020) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 500.0000 && energy < 1000.0000) * (0.044275 + (energy-500.000000)* 0.000027) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.057757 + (energy-1000.000000)* 0.000035) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.093005 + (energy-2000.000000)* 0.000040) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.213737 + (energy-5000.000000)* 0.000042) + \
+   (abs(eta) >= 5.5000 && abs(eta) < 5.6000) * (energy >= 10000.0000) * (0.421790*energy/10000.000000) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.033342) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 5.0000 && energy < 10.0000) * (0.100025 + (energy-5.000000)* -0.012171) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 10.0000 && energy < 20.0000) * (0.039170 + (energy-10.000000)* 0.000007) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 20.0000 && energy < 50.0000) * (0.039244 + (energy-20.000000)* 0.000015) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 50.0000 && energy < 100.0000) * (0.039682 + (energy-50.000000)* 0.000023) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 100.0000 && energy < 200.0000) * (0.040809 + (energy-100.000000)* 0.000026) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 200.0000 && energy < 500.0000) * (0.043391 + (energy-200.000000)* 0.000026) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 500.0000 && energy < 1000.0000) * (0.051066 + (energy-500.000000)* 0.000033) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.067803 + (energy-1000.000000)* 0.000043) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.110961 + (energy-2000.000000)* 0.000049) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.257141 + (energy-5000.000000)* 0.000050) + \
+   (abs(eta) >= 5.6000 && abs(eta) < 5.7000) * (energy >= 10000.0000) * (0.508183*energy/10000.000000) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.039527) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 5.0000 && energy < 10.0000) * (0.118581 + (energy-5.000000)* -0.015013) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 10.0000 && energy < 20.0000) * (0.043516 + (energy-10.000000)* 0.000014) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 20.0000 && energy < 50.0000) * (0.043658 + (energy-20.000000)* 0.000026) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 50.0000 && energy < 100.0000) * (0.044442 + (energy-50.000000)* 0.000034) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 100.0000 && energy < 200.0000) * (0.046136 + (energy-100.000000)* 0.000033) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 200.0000 && energy < 500.0000) * (0.049411 + (energy-200.000000)* 0.000031) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 500.0000 && energy < 1000.0000) * (0.058624 + (energy-500.000000)* 0.000041) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.079068 + (energy-1000.000000)* 0.000052) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.131321 + (energy-2000.000000)* 0.000058) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.306622 + (energy-5000.000000)* 0.000060) + \
+   (abs(eta) >= 5.7000 && abs(eta) < 5.8000) * (energy >= 10000.0000) * (0.606769*energy/10000.000000) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.069808) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 5.0000 && energy < 10.0000) * (0.209424 + (energy-5.000000)* -0.033001) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 10.0000 && energy < 20.0000) * (0.044421 + (energy-10.000000)* 0.000013) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 20.0000 && energy < 50.0000) * (0.044548 + (energy-20.000000)* 0.000023) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 50.0000 && energy < 100.0000) * (0.045251 + (energy-50.000000)* 0.000032) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 100.0000 && energy < 200.0000) * (0.046844 + (energy-100.000000)* 0.000037) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 200.0000 && energy < 500.0000) * (0.050566 + (energy-200.000000)* 0.000048) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 500.0000 && energy < 1000.0000) * (0.064967 + (energy-500.000000)* 0.000065) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.097559 + (energy-1000.000000)* 0.000077) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 2000.0000 && energy < 5000.0000) * (0.174348 + (energy-2000.000000)* 0.000082) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 5000.0000 && energy < 10000.0000) * (0.419876 + (energy-5000.000000)* 0.000083) + \
+   (abs(eta) >= 5.8000 && abs(eta) < 5.9000) * (energy >= 10000.0000) * (0.835051*energy/10000.000000) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 0.0000 && energy < 1.0000) * (0.00000000) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 1.0000 && energy < 2.0000) * (0.000000 + (energy-1.000000)* 0.000000) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 2.0000 && energy < 5.0000) * (0.000000 + (energy-2.000000)* 0.000000) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 5.0000 && energy < 10.0000) * (0.000000 + (energy-5.000000)* 0.014510) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 10.0000 && energy < 20.0000) * (0.072549 + (energy-10.000000)* 0.000092) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 20.0000 && energy < 50.0000) * (0.073468 + (energy-20.000000)* 0.000189) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 50.0000 && energy < 100.0000) * (0.079127 + (energy-50.000000)* 0.000305) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 100.0000 && energy < 200.0000) * (0.094398 + (energy-100.000000)* 0.000394) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 200.0000 && energy < 500.0000) * (0.133823 + (energy-200.000000)* 0.000458) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 500.0000 && energy < 1000.0000) * (0.271125 + (energy-500.000000)* 0.000490) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 1000.0000 && energy < 2000.0000) * (0.515893 + (energy-1000.000000)* 0.000501) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 2000.0000 && energy < 5000.0000) * (1.016891 + (energy-2000.000000)* 0.000505) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 5000.0000 && energy < 10000.0000) * (2.531383 + (energy-5000.000000)* 0.000506) + \
+   (abs(eta) >= 5.9000 && abs(eta) < 6.0000) * (energy >= 10000.0000) * (5.059636*energy/10000.000000)
+
+
+}
+
+
+# taken from arXiv:1405.6569 fig. 15
+set D0ResolutionFormula {
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.1823 && pt <= 0.2227 ) * 0.3543 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.2227 && pt <= 0.2720 ) * 0.2809 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.2720 && pt <= 0.3323 ) * 0.2304 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.3323 && pt <= 0.4060 ) * 0.1917 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.4060 && pt <= 0.4959 ) * 0.1737 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.4959 && pt <= 0.6058 ) * 0.1434 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.6058 && pt <= 0.7401 ) * 0.1060 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.7401 && pt <= 0.9041 ) * 0.0893 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.9041 && pt <= 1.1044 ) * 0.0753 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 1.1044 && pt <= 1.3492 ) * 0.0670 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 1.3492 && pt <= 1.6481 ) * 0.0577 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 1.6481 && pt <= 2.0134 ) * 0.0524 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 2.0134 && pt <= 2.4595 ) * 0.0452 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 2.4595 && pt <= 3.0045 ) * 0.0376 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 3.0045 && pt <= 3.6703 ) * 0.0350 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 3.6703 && pt <= 4.4837 ) * 0.0324 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 4.4837 && pt <= 5.4772 ) * 0.0283 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 5.4772 && pt <= 6.6910 ) * 0.0258 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 6.6910 && pt <= 8.1737 ) * 0.0237 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 8.1737 && pt <= 9.9849 ) * 0.0211 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 9.9849 && pt <= 12.1976 ) * 0.0191 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 12.1976 && pt <= 14.9005 ) * 0.0164 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 14.9005 && pt <= 18.2024 ) * 0.0150 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 18.2024 && pt <= 22.2360 ) * 0.0143 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 22.2360 && pt <= 27.1635 ) * 0.0130 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 27.1635 && pt <= 33.1828 ) * 0.0130 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 33.1828 && pt <= 40.5360 ) * 0.0116 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 40.5360 && pt <= 49.5187 ) * 0.0116 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 49.5187 && pt <= 60.4919 ) * 0.0110 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 60.4919 && pt <= 73.8967 ) * 0.0110 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 73.8967 && pt <= 90.2720 ) * 0.0110 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 90.2720 && pt <= 110.2760 ) * 0.0104 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 110.2760 && pt <= 134.7130 ) * 0.0109 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 134.7130 ) * 0.0110 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.1823 && pt <= 0.2227 ) * 0.4564 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.2227 && pt <= 0.2720 ) * 0.3580 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.2720 && pt <= 0.3323 ) * 0.3010 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.3323 && pt <= 0.4060 ) * 0.2353 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.4060 && pt <= 0.4959 ) * 0.2026 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.4959 && pt <= 0.6058 ) * 0.1595 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.6058 && pt <= 0.7401 ) * 0.1383 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.7401 && pt <= 0.9041 ) * 0.1119 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.9041 && pt <= 1.1044 ) * 0.0926 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 1.1044 && pt <= 1.3492 ) * 0.0816 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 1.3492 && pt <= 1.6481 ) * 0.0663 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 1.6481 && pt <= 2.0134 ) * 0.0553 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 2.0134 && pt <= 2.4595 ) * 0.0488 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 2.4595 && pt <= 3.0045 ) * 0.0431 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 3.0045 && pt <= 3.6703 ) * 0.0399 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 3.6703 && pt <= 4.4837 ) * 0.0357 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 4.4837 && pt <= 5.4772 ) * 0.0313 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 5.4772 && pt <= 6.6910 ) * 0.0277 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 6.6910 && pt <= 8.1737 ) * 0.0233 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 8.1737 && pt <= 9.9849 ) * 0.0221 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 9.9849 && pt <= 12.1976 ) * 0.0214 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 12.1976 && pt <= 14.9005 ) * 0.0180 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 14.9005 && pt <= 18.2024 ) * 0.0155 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 18.2024 && pt <= 22.2360 ) * 0.0141 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 22.2360 && pt <= 27.1635 ) * 0.0128 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 27.1635 && pt <= 33.1828 ) * 0.0134 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 33.1828 && pt <= 40.5360 ) * 0.0121 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 40.5360 && pt <= 49.5187 ) * 0.0108 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 49.5187 && pt <= 60.4919 ) * 0.0101 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 60.4919 && pt <= 73.8967 ) * 0.0101 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 73.8967 && pt <= 90.2720 ) * 0.0101 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 90.2720 && pt <= 110.2760 ) * 0.0102 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 110.2760 && pt <= 134.7130 ) * 0.0088 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 134.7130 ) * 0.0095 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.1823 && pt <= 0.2227 ) * 0.6970 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.2227 && pt <= 0.2720 ) * 0.6046 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.2720 && pt <= 0.3323 ) * 0.5315 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.3323 && pt <= 0.4060 ) * 0.4306 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.4060 && pt <= 0.4959 ) * 0.3398 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.4959 && pt <= 0.6058 ) * 0.2788 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.6058 && pt <= 0.7401 ) * 0.2387 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.7401 && pt <= 0.9041 ) * 0.1814 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.9041 && pt <= 1.1044 ) * 0.1557 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 1.1044 && pt <= 1.3492 ) * 0.1230 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 1.3492 && pt <= 1.6481 ) * 0.1009 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 1.6481 && pt <= 2.0134 ) * 0.0914 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 2.0134 && pt <= 2.4595 ) * 0.0767 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 2.4595 && pt <= 3.0045 ) * 0.0638 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 3.0045 && pt <= 3.6703 ) * 0.0544 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 3.6703 && pt <= 4.4837 ) * 0.0468 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 4.4837 && pt <= 5.4772 ) * 0.0425 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 5.4772 && pt <= 6.6910 ) * 0.0385 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 6.6910 && pt <= 8.1737 ) * 0.0331 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 8.1737 && pt <= 9.9849 ) * 0.0278 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 9.9849 && pt <= 12.1976 ) * 0.0256 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 12.1976 && pt <= 14.9005 ) * 0.0236 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 14.9005 && pt <= 18.2024 ) * 0.0217 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 18.2024 && pt <= 22.2360 ) * 0.0196 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 22.2360 && pt <= 27.1635 ) * 0.0176 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 27.1635 && pt <= 33.1828 ) * 0.0165 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 33.1828 && pt <= 40.5360 ) * 0.0157 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 40.5360 && pt <= 49.5187 ) * 0.0150 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 49.5187 && pt <= 60.4919 ) * 0.0144 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 60.4919 && pt <= 73.8967 ) * 0.0144 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 73.8967 && pt <= 90.2720 ) * 0.0137 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 90.2720 && pt <= 110.2760 ) * 0.0130 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 110.2760 && pt <= 134.7130 ) * 0.0137 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 134.7130 ) * 0.0137 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.1823 && pt <= 0.2227 ) * 0.6970 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.2227 && pt <= 0.2720 ) * 0.6046 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.2720 && pt <= 0.3323 ) * 0.5315 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.3323 && pt <= 0.4060 ) * 0.4306 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.4060 && pt <= 0.4959 ) * 0.3398 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.4959 && pt <= 0.6058 ) * 0.2788 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.6058 && pt <= 0.7401 ) * 0.2387 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.7401 && pt <= 0.9041 ) * 0.1814 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.9041 && pt <= 1.1044 ) * 0.1557 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 1.1044 && pt <= 1.3492 ) * 0.1230 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 1.3492 && pt <= 1.6481 ) * 0.1009 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 1.6481 && pt <= 2.0134 ) * 0.0914 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 2.0134 && pt <= 2.4595 ) * 0.0767 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 2.4595 && pt <= 3.0045 ) * 0.0638 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 3.0045 && pt <= 3.6703 ) * 0.0544 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 3.6703 && pt <= 4.4837 ) * 0.0468 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 4.4837 && pt <= 5.4772 ) * 0.0425 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 5.4772 && pt <= 6.6910 ) * 0.0385 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 6.6910 && pt <= 8.1737 ) * 0.0331 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 8.1737 && pt <= 9.9849 ) * 0.0278 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 9.9849 && pt <= 12.1976 ) * 0.0256 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 12.1976 && pt <= 14.9005 ) * 0.0236 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 14.9005 && pt <= 18.2024 ) * 0.0217 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 18.2024 && pt <= 22.2360 ) * 0.0196 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 22.2360 && pt <= 27.1635 ) * 0.0176 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 27.1635 && pt <= 33.1828 ) * 0.0165 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 33.1828 && pt <= 40.5360 ) * 0.0157 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 40.5360 && pt <= 49.5187 ) * 0.0150 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 49.5187 && pt <= 60.4919 ) * 0.0144 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 60.4919 && pt <= 73.8967 ) * 0.0144 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 73.8967 && pt <= 90.2720 ) * 0.0137 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 90.2720 && pt <= 110.2760 ) * 0.0130 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 110.2760 && pt <= 134.7130 ) * 0.0137 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 134.7130 ) * 0.0137     
+}
+
+set DZResolutionFormula {
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.1823 && pt <= 0.2227 ) * 0.3693 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.2227 && pt <= 0.2720 ) * 0.3135 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.2720 && pt <= 0.3323 ) * 0.3125 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.3323 && pt <= 0.4060 ) * 0.2578 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.4060 && pt <= 0.4959 ) * 0.2221 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.4959 && pt <= 0.6058 ) * 0.1936 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.6058 && pt <= 0.7401 ) * 0.1686 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.7401 && pt <= 0.9041 ) * 0.1351 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 0.9041 && pt <= 1.1044 ) * 0.1113 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 1.1044 && pt <= 1.3492 ) * 0.0983 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 1.3492 && pt <= 1.6481 ) * 0.0882 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 1.6481 && pt <= 2.0134 ) * 0.0786 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 2.0134 && pt <= 2.4595 ) * 0.0684 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 2.4595 && pt <= 3.0045 ) * 0.0615 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 3.0045 && pt <= 3.6703 ) * 0.0551 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 3.6703 && pt <= 4.4837 ) * 0.0516 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 4.4837 && pt <= 5.4772 ) * 0.0484 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 5.4772 && pt <= 6.6910 ) * 0.0450 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 6.6910 && pt <= 8.1737 ) * 0.0416 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 8.1737 && pt <= 9.9849 ) * 0.0416 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 9.9849 && pt <= 12.1976 ) * 0.0382 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 12.1976 && pt <= 14.9005 ) * 0.0350 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 14.9005 && pt <= 18.2024 ) * 0.0317 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 18.2024 && pt <= 22.2360 ) * 0.0316 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 22.2360 && pt <= 27.1635 ) * 0.0316 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 27.1635 && pt <= 33.1828 ) * 0.0316 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 33.1828 && pt <= 40.5360 ) * 0.0348 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 40.5360 && pt <= 49.5187 ) * 0.0316 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 49.5187 && pt <= 60.4919 ) * 0.0316 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 60.4919 && pt <= 73.8967 ) * 0.0316 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 73.8967 && pt <= 90.2720 ) * 0.0284 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 90.2720 && pt <= 110.2760 ) * 0.0283 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 110.2760 && pt <= 134.7130 ) * 0.0315 +\
+    ( abs(eta) > 0.0 && abs(eta) <= 0.9 ) * ( pt > 134.7130 ) * 0.0318 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.1823 && pt <= 0.2227 ) * 0.7062 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.2227 && pt <= 0.2720 ) * 0.6010 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.2720 && pt <= 0.3323 ) * 0.5992 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.3323 && pt <= 0.4060 ) * 0.4959 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.4060 && pt <= 0.4959 ) * 0.3877 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.4959 && pt <= 0.6058 ) * 0.3199 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.6058 && pt <= 0.7401 ) * 0.2649 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.7401 && pt <= 0.9041 ) * 0.2518 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 0.9041 && pt <= 1.1044 ) * 0.1982 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 1.1044 && pt <= 1.3492 ) * 0.1587 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 1.3492 && pt <= 1.6481 ) * 0.1399 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 1.6481 && pt <= 2.0134 ) * 0.1199 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 2.0134 && pt <= 2.4595 ) * 0.1031 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 2.4595 && pt <= 3.0045 ) * 0.0967 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 3.0045 && pt <= 3.6703 ) * 0.0805 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 3.6703 && pt <= 4.4837 ) * 0.0736 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 4.4837 && pt <= 5.4772 ) * 0.0707 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 5.4772 && pt <= 6.6910 ) * 0.0603 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 6.6910 && pt <= 8.1737 ) * 0.0609 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 8.1737 && pt <= 9.9849 ) * 0.0541 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 9.9849 && pt <= 12.1976 ) * 0.0511 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 12.1976 && pt <= 14.9005 ) * 0.0443 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 14.9005 && pt <= 18.2024 ) * 0.0409 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 18.2024 && pt <= 22.2360 ) * 0.0408 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 22.2360 && pt <= 27.1635 ) * 0.0409 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 27.1635 && pt <= 33.1828 ) * 0.0377 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 33.1828 && pt <= 40.5360 ) * 0.0375 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 40.5360 && pt <= 49.5187 ) * 0.0377 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 49.5187 && pt <= 60.4919 ) * 0.0342 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 60.4919 && pt <= 73.8967 ) * 0.0342 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 73.8967 && pt <= 90.2720 ) * 0.0343 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 90.2720 && pt <= 110.2760 ) * 0.0343 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 110.2760 && pt <= 134.7130 ) * 0.0309 +\
+    ( abs(eta) > 0.9 && abs(eta) <= 1.4 ) * ( pt > 134.7130 ) * 0.0310 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.1823 && pt <= 0.2227 ) * 2.1717 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.2227 && pt <= 0.2720 ) * 2.0715 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.2720 && pt <= 0.3323 ) * 2.0679 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.3323 && pt <= 0.4060 ) * 1.7679 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.4060 && pt <= 0.4959 ) * 1.4393 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.4959 && pt <= 0.6058 ) * 1.1997 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.6058 && pt <= 0.7401 ) * 0.9800 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.7401 && pt <= 0.9041 ) * 0.8251 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 0.9041 && pt <= 1.1044 ) * 0.6695 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 1.1044 && pt <= 1.3492 ) * 0.5545 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 1.3492 && pt <= 1.6481 ) * 0.4366 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 1.6481 && pt <= 2.0134 ) * 0.3711 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 2.0134 && pt <= 2.4595 ) * 0.3319 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 2.4595 && pt <= 3.0045 ) * 0.2721 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 3.0045 && pt <= 3.6703 ) * 0.2443 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 3.6703 && pt <= 4.4837 ) * 0.2085 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 4.4837 && pt <= 5.4772 ) * 0.1816 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 5.4772 && pt <= 6.6910 ) * 0.1641 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 6.6910 && pt <= 8.1737 ) * 0.1451 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 8.1737 && pt <= 9.9849 ) * 0.1317 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 9.9849 && pt <= 12.1976 ) * 0.1117 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 12.1976 && pt <= 14.9005 ) * 0.1020 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 14.9005 && pt <= 18.2024 ) * 0.1017 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 18.2024 && pt <= 22.2360 ) * 0.0983 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 22.2360 && pt <= 27.1635 ) * 0.0882 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 27.1635 && pt <= 33.1828 ) * 0.0847 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 33.1828 && pt <= 40.5360 ) * 0.0814 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 40.5360 && pt <= 49.5187 ) * 0.0784 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 49.5187 && pt <= 60.4919 ) * 0.0817 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 60.4919 && pt <= 73.8967 ) * 0.0750 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 73.8967 && pt <= 90.2720 ) * 0.0816 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 90.2720 && pt <= 110.2760 ) * 0.0820 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 110.2760 && pt <= 134.7130 ) * 0.0814 +\
+    ( abs(eta) > 1.4 && abs(eta) <= 2.5 ) * ( pt > 134.7130 ) * 0.0850 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.1823 && pt <= 0.2227 ) * 2.1717 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.2227 && pt <= 0.2720 ) * 2.0715 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.2720 && pt <= 0.3323 ) * 2.0679 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.3323 && pt <= 0.4060 ) * 1.7679 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.4060 && pt <= 0.4959 ) * 1.4393 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.4959 && pt <= 0.6058 ) * 1.1997 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.6058 && pt <= 0.7401 ) * 0.9800 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.7401 && pt <= 0.9041 ) * 0.8251 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 0.9041 && pt <= 1.1044 ) * 0.6695 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 1.1044 && pt <= 1.3492 ) * 0.5545 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 1.3492 && pt <= 1.6481 ) * 0.4366 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 1.6481 && pt <= 2.0134 ) * 0.3711 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 2.0134 && pt <= 2.4595 ) * 0.3319 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 2.4595 && pt <= 3.0045 ) * 0.2721 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 3.0045 && pt <= 3.6703 ) * 0.2443 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 3.6703 && pt <= 4.4837 ) * 0.2085 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 4.4837 && pt <= 5.4772 ) * 0.1816 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 5.4772 && pt <= 6.6910 ) * 0.1641 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 6.6910 && pt <= 8.1737 ) * 0.1451 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 8.1737 && pt <= 9.9849 ) * 0.1317 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 9.9849 && pt <= 12.1976 ) * 0.1117 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 12.1976 && pt <= 14.9005 ) * 0.1020 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 14.9005 && pt <= 18.2024 ) * 0.1017 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 18.2024 && pt <= 22.2360 ) * 0.0983 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 22.2360 && pt <= 27.1635 ) * 0.0882 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 27.1635 && pt <= 33.1828 ) * 0.0847 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 33.1828 && pt <= 40.5360 ) * 0.0814 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 40.5360 && pt <= 49.5187 ) * 0.0784 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 49.5187 && pt <= 60.4919 ) * 0.0817 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 60.4919 && pt <= 73.8967 ) * 0.0750 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 73.8967 && pt <= 90.2720 ) * 0.0816 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 90.2720 && pt <= 110.2760 ) * 0.0820 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 110.2760 && pt <= 134.7130 ) * 0.0814 +\
+    ( abs(eta) > 2.5 && abs(eta) <= 6 ) * ( pt > 134.7130 ) * 0.0850    
+}
