ExptSmearingFunctions.hh 55 const static vector<double> effs_et = { 0.0, 0.90, 0.91, 0.92, 0.94, 0.95, 0.955, 0.965, 0.97, 0.98, 0.98 };//Extra value extrapolated for overflow
70 const static vector<double> eta_edges_10 = {0.000, 0.049, 0.454, 1.107, 1.46, 1.790, 2.277, 2.500};
73 const static vector<double> eta_edges_15 = {0.000, 0.053, 0.456, 1.102, 1.463, 1.783, 2.263, 2.500};
76 const static vector<double> eta_edges_20 = {0.000, 0.065, 0.362, 0.719, 0.980, 1.289, 1.455, 1.681, 1.942, 2.239, 2.452, 2.500};
77 const static vector<double> eta_vals_20 = {0.794, 0.806, 0.816, 0.806, 0.797, 0.774, 0.764, 0.788, 0.793, 0.806, 0.825};
79 const static vector<double> eta_edges_25 = {0.000, 0.077, 0.338, 0.742, 1.004, 1.265, 1.467, 1.692, 1.940, 2.227, 2.452, 2.500};
80 const static vector<double> eta_vals_25 = {0.833, 0.843, 0.853, 0.845, 0.839, 0.804, 0.790, 0.825, 0.830, 0.833, 0.839};
82 const static vector<double> eta_edges_30 = {0.000, 0.077, 0.350, 0.707, 0.980, 1.289, 1.479, 1.681, 1.942, 2.239, 2.441, 2.500};
83 const static vector<double> eta_vals_30 = {0.863, 0.872, 0.881, 0.874, 0.870, 0.824, 0.808, 0.847, 0.845, 0.840, 0.842};
85 const static vector<double> eta_edges_35 = {0.000, 0.058, 0.344, 0.700, 1.009, 1.270, 1.458, 1.685, 1.935, 2.231, 2.468, 2.500};
86 const static vector<double> eta_vals_35 = {0.878, 0.889, 0.901, 0.895, 0.893, 0.849, 0.835, 0.868, 0.863, 0.845, 0.832};
88 const static vector<double> eta_edges_40 = {0.000, 0.047, 0.355, 0.699, 0.983, 1.280, 1.446, 1.694, 1.943, 2.227, 2.441, 2.500};
89 const static vector<double> eta_vals_40 = {0.894, 0.901, 0.909, 0.905, 0.904, 0.875, 0.868, 0.889, 0.876, 0.848, 0.827};
91 const static vector<double> eta_edges_45 = {0.000, 0.058, 0.356, 0.712, 0.997, 1.282, 1.459, 1.686, 1.935, 2.220, 2.444, 2.500};
92 const static vector<double> eta_vals_45 = {0.900, 0.911, 0.923, 0.918, 0.917, 0.897, 0.891, 0.904, 0.894, 0.843, 0.796};
94 const static vector<double> eta_edges_50 = {0.000, 0.059, 0.355, 0.711, 0.983, 1.280, 1.469, 1.682, 1.919, 2.227, 2.441, 2.500};
95 const static vector<double> eta_vals_50 = {0.903, 0.913, 0.923, 0.922, 0.923, 0.903, 0.898, 0.908, 0.895, 0.831, 0.774};
97 const static vector<double> eta_edges_60 = {0.000, 0.053, 0.351, 0.720, 1.006, 1.291, 1.469, 1.696, 1.946, 2.243, 2.455, 2.500};
98 const static vector<double> eta_vals_60 = {0.903, 0.917, 0.928, 0.924, 0.927, 0.915, 0.911, 0.915, 0.899, 0.827, 0.760};
100 const static vector<double> eta_edges_80 = {0.000, 0.053, 0.351, 0.720, 0.994, 1.292, 1.482, 1.708, 1.934, 2.220, 2.458, 2.500};
101 const static vector<double> eta_vals_80 = {0.936, 0.942, 0.952, 0.956, 0.956, 0.934, 0.931, 0.944, 0.933, 0.940, 0.948};
104 const static vector< vector<double> > et_eta_edges = { eta_edges_10, eta_edges_15, eta_edges_20, eta_edges_25, eta_edges_30, eta_edges_35, eta_edges_40, eta_edges_45, eta_edges_50, eta_edges_60, eta_edges_80 };
126 const static vector<double> eta_edges_10 = {0.000, 0.049, 0.459, 1.100, 1.461, 1.789, 2.270, 2.500};
129 const static vector<double> eta_edges_15 = {0.000, 0.053, 0.450, 1.096, 1.463, 1.783, 2.269, 2.500};
132 const static vector<double> eta_edges_20 = {0.000, 0.065, 0.362, 0.719, 0.992, 1.277, 1.479, 1.692, 1.930, 2.227, 2.464, 2.500};
133 const static vector<double> eta_vals_20 = {0.653, 0.695, 0.735, 0.714, 0.688, 0.635, 0.625, 0.655, 0.680, 0.691, 0.674};
135 const static vector<double> eta_edges_25 = {0.000, 0.077, 0.362, 0.719, 0.992, 1.300, 1.479, 1.692, 1.942, 2.227, 2.464, 2.500};
136 const static vector<double> eta_vals_25 = {0.692, 0.732, 0.768, 0.750, 0.726, 0.677, 0.667, 0.692, 0.710, 0.706, 0.679};
138 const static vector<double> eta_edges_30 = {0.000, 0.053, 0.362, 0.719, 1.004, 1.277, 1.467, 1.681, 1.954, 2.239, 2.452, 2.500};
139 const static vector<double> eta_vals_30 = {0.724, 0.763, 0.804, 0.789, 0.762, 0.702, 0.690, 0.720, 0.731, 0.714, 0.681};
141 const static vector<double> eta_edges_35 = {0.000, 0.044, 0.342, 0.711, 0.971, 1.280, 1.456, 1.683, 1.944, 2.218, 2.442, 2.500};
142 const static vector<double> eta_vals_35 = {0.736, 0.778, 0.824, 0.811, 0.784, 0.730, 0.718, 0.739, 0.743, 0.718, 0.678};
144 const static vector<double> eta_edges_40 = {0.000, 0.047, 0.355, 0.699, 0.983, 1.268, 1.457, 1.671, 1.931, 2.204, 2.453, 2.500};
145 const static vector<double> eta_vals_40 = {0.741, 0.774, 0.823, 0.823, 0.802, 0.764, 0.756, 0.771, 0.771, 0.734, 0.684};
147 const static vector<double> eta_edges_45 = {0.000, 0.056, 0.354, 0.711, 0.984, 1.280, 1.458, 1.684, 1.945, 2.207, 2.442, 2.500};
148 const static vector<double> eta_vals_45 = {0.758, 0.792, 0.841, 0.841, 0.823, 0.792, 0.786, 0.796, 0.794, 0.734, 0.663};
150 const static vector<double> eta_edges_50 = {0.000, 0.059, 0.355, 0.699, 0.983, 1.268, 1.446, 1.682, 1.943, 2.216, 2.453, 2.500};
151 const static vector<double> eta_vals_50 = {0.771, 0.806, 0.855, 0.858, 0.843, 0.810, 0.800, 0.808, 0.802, 0.730, 0.653};
153 const static vector<double> eta_edges_60 = {0.000, 0.050, 0.350, 0.707, 0.981, 1.278, 1.468, 1.694, 1.944, 2.242, 2.453, 2.500};
154 const static vector<double> eta_vals_60 = {0.773, 0.816, 0.866, 0.865, 0.853, 0.820, 0.812, 0.817, 0.804, 0.726, 0.645};
156 const static vector<double> eta_edges_80 = {0.000, 0.051, 0.374, 0.720, 0.981, 1.279, 1.468, 1.707, 1.945, 2.207, 2.457, 2.500};
157 const static vector<double> eta_vals_80 = {0.819, 0.855, 0.899, 0.906, 0.900, 0.869, 0.865, 0.873, 0.869, 0.868, 0.859};
160 const static vector< vector<double> > et_eta_edges = { eta_edges_10, eta_edges_15, eta_edges_20, eta_edges_25, eta_edges_30, eta_edges_35, eta_edges_40, eta_edges_45, eta_edges_50, eta_edges_60, eta_edges_80 };
175 const static vector<double> et_effs = { 0.785, 0.805, 0.820, 0.830, 0.840, 0.850, 0.875, 0.910, 0.910 }; //Extra value extrapolated for overflow
176 const static vector<double> eta_edges = {0.000, 0.051, 0.374, 0.720, 0.981, 1.279, 1.468, 1.707, 1.945, 2.207, 2.457, 2.500}; // from ET > 80 bin
559 return chargedhadrons.size() == 1 ? 1/20. : chargedhadrons.size() == 3 ? 1/100. : 0; //< fake rates
561 return chargedhadrons.size() == 1 ? 1/25. : chargedhadrons.size() == 3 ? 1/400. : 0; //< fake rates
564 const Particles prongs = ttags[0].stableDescendants(Cuts::charge3 > 0 && Cuts::pT > 1*GeV && Cuts::abseta < 2.5);
618 if (ttags.empty()) return chargedhadrons.size() == 1 ? 1/50. : chargedhadrons.size() == 3 ? 1/110. : 0; //< fake rates
619 const Particles prongs = ttags[0].stableDescendants(Cuts::charge3 > 0 && Cuts::pT > 1*GeV && Cuts::abseta < 2.5);
634 // return Particle(t.pid(), FourMomentum::mkXYZM(t.px()*fsmear, t.py()*fsmear, t.pz()*fsmear, mass));
642 static const vector<double> jer = {0.145, 0.115, 0.095, 0.075, 0.07, 0.05, 0.04, 0.04}; //< note overflow value
784 else if (met.mod() < 40*GeV) smeared_met *= (1.05 - (0.04/15)*(met.mod()/GeV - 25)); //< linear decrease
804 else smeared_met *= (1 + exp(-(met.mod() - 25*GeV)/(10*GeV)) - 0.02); //< exp approx to Fig 6 curve, approaching -0.02
808 const double resolution1 = (set < 180*GeV ? set/180. : 1) * 0.45 * sqrt(max(set/GeV, 180)) * GeV;
814 // Smear by a Gaussian with width given by the minimum resolution estimator (should mean low-MET events
static FourMomentum mkXYZM(double px, double py, double pz, double mass) Make a vector from (px,py,pz) coordinates and the mass. Definition Vector4.hh:752 Particles tauTags(const Cut &c=Cuts::open()) const Tau particles which have been tag-matched to this jet (and pass an optional Cut) bool cTagged(const Cut &c=Cuts::open()) const Does this jet have at least one c-tag (that passes an optional Cut)? Definition Jet.hh:147 bool bTagged(const Cut &c=Cuts::open()) const Does this jet have at least one b-tag (that passes an optional Cut)? Definition Jet.hh:134 double mass2() const Get the mass**2 directly. Definition ParticleBase.hh:82 double abseta() const Get the directly (alias). Definition ParticleBase.hh:91 Particle representation, either from a HepMC::GenEvent or reconstructed. Definition Particle.hh:45 PdgId abspid() const Absolute value of the PDG ID code. Definition Particle.hh:193 Particles children(const Cut &c=Cuts::OPEN) const Get a list of the direct descendants from the current particle (with optional selection Cut) double mass(const FourMomentum &a, const FourMomentum &b) Calculate mass of two 4-vectors. Definition Vector4.hh:1461 double ELECTRON_EFF_ATLAS_RUN1_MEDIUM(const Particle &e) ATLAS Run 1 'medium' electron reco+identification efficiency. Definition ExptSmearingFunctions.hh:67 double ELECTRON_EFF_ATLAS_RUN1_TIGHT(const Particle &e) ATLAS Run 1 'tight' electron reco+identification efficiency. Definition ExptSmearingFunctions.hh:123 double ELECTRON_EFF_ATLAS_RUN2_LOOSE(const Particle &e) ATLAS Run 2 'loose' electron reco+identification efficiency. Definition ExptSmearingFunctions.hh:47 double ELECTRON_EFF_CMS_RUN1(const Particle &e) CMS Run 1 electron reconstruction efficiency. Definition ExptSmearingFunctions.hh:232 Particle ELECTRON_SMEAR_ATLAS_RUN1(const Particle &e) ATLAS Run 1 electron reco smearing. Definition ExptSmearingFunctions.hh:191 double ELECTRON_EFF_ATLAS_RUN2_TIGHT(const Particle &e) ATLAS Run 2 'tight' electron reco+identification efficiency. Definition ExptSmearingFunctions.hh:172 double ELECTRON_RECOEFF_ATLAS_RUN2(const Particle &e) Definition ExptSmearingFunctions.hh:30 Particle ELECTRON_SMEAR_CMS_RUN1(const Particle &e) CMS electron energy smearing, preserving direction. Definition ExptSmearingFunctions.hh:254 double ELECTRON_EFF_CMS_RUN2(const Particle &e) Definition ExptSmearingFunctions.hh:242 double ELECTRON_EFF_ATLAS_RUN2_MEDIUM(const Particle &e) ATLAS Run 2 'medium' electron reco+identification efficiency. Definition ExptSmearingFunctions.hh:116 Particle ELECTRON_SMEAR_ATLAS_RUN2(const Particle &e) Definition ExptSmearingFunctions.hh:222 double ELECTRON_RECOEFF_ATLAS_RUN1(const Particle &e) Definition ExptSmearingFunctions.hh:20 Particle ELECTRON_SMEAR_CMS_RUN2(const Particle &e) Definition ExptSmearingFunctions.hh:277 Jet JET_SMEAR_ATLAS_RUN2(const Jet &j) Definition ExptSmearingFunctions.hh:752 double JET_BTAG_ATLAS_RUN2_MV2C20(const Jet &j) Return the ATLAS Run 2 MC2c20 77% WP jet flavour tagging efficiency for the given Jet. Definition ExptSmearingFunctions.hh:712 Jet JET_SMEAR_ATLAS_RUN1(const Jet &j) ATLAS Run 1 jet smearing. Definition ExptSmearingFunctions.hh:729 Jet JET_SMEAR_CMS_RUN1(const Jet &j) Definition ExptSmearingFunctions.hh:758 Jet JET_SMEAR_CMS_RUN2(const Jet &j) Definition ExptSmearingFunctions.hh:764 double JET_BTAG_ATLAS_RUN2_MV2C10(const Jet &j) Return the ATLAS Run 2 MC2c10 77% WP jet flavour tagging efficiency for the given Jet. Definition ExptSmearingFunctions.hh:720 double JET_BTAG_ATLAS_RUN1(const Jet &j) Return the ATLAS Run 1 jet flavour tagging efficiency for the given Jet, from Delphes. Definition ExptSmearingFunctions.hh:702 Vector3 MET_SMEAR_ATLAS_RUN2(const Vector3 &met, double set) Definition ExptSmearingFunctions.hh:799 Vector3 MET_SMEAR_CMS_RUN1(const Vector3 &met, double set) Definition ExptSmearingFunctions.hh:826 Vector3 MET_SMEAR_ATLAS_RUN1(const Vector3 &met, double set) ATLAS Run 1 ETmiss smearing. Definition ExptSmearingFunctions.hh:779 Vector3 MET_SMEAR_CMS_RUN2(const Vector3 &met, double set) Definition ExptSmearingFunctions.hh:844 FourMomentum P4_SMEAR_E_GAUSS(const FourMomentum &p, double resolution) Definition MomentumSmearingFunctions.hh:45 FourMomentum P4_SMEAR_PT_GAUSS(const FourMomentum &p, double resolution) Smear a FourMomentum's transverse momentum using a Gaussian of absolute width resolution. Definition MomentumSmearingFunctions.hh:52 Particle MUON_SMEAR_ATLAS_RUN1(const Particle &m) ATLAS Run 1 muon reco smearing. Definition ExptSmearingFunctions.hh:415 Particle MUON_SMEAR_CMS_RUN1(const Particle &m) CMS Run 1 muon reco smearing. Definition ExptSmearingFunctions.hh:465 double MUON_EFF_CMS_RUN2(const Particle &m) Definition ExptSmearingFunctions.hh:458 double MUON_EFF_ATLAS_RUN1(const Particle &m) ATLAS Run 1 muon reco efficiency. Definition ExptSmearingFunctions.hh:378 Particle MUON_SMEAR_ATLAS_RUN2(const Particle &m) Definition ExptSmearingFunctions.hh:437 double MUON_RECOEFF_ATLAS_RUN2(const Particle &m) Definition ExptSmearingFunctions.hh:388 double MUON_EFF_ATLAS_RUN2(const Particle &m) ATLAS Run 2 muon reco+ID efficiency. Definition ExptSmearingFunctions.hh:400 double MUON_EFF_CMS_RUN1(const Particle &m) CMS Run 1 muon reco efficiency. Definition ExptSmearingFunctions.hh:449 Particle MUON_SMEAR_CMS_RUN2(const Particle &m) Definition ExptSmearingFunctions.hh:492 Particle PHOTON_SMEAR_ATLAS_RUN1(const Particle &y) Definition ExptSmearingFunctions.hh:365 double PHOTON_EFF_ATLAS_RUN1(const Particle &y) ATLAS Run 2 photon reco efficiency. Definition ExptSmearingFunctions.hh:291 double PHOTON_EFF_CMS_RUN2(const Particle &y) Definition ExptSmearingFunctions.hh:358 double PHOTON_EFF_CMS_RUN1(const Particle &y) Definition ExptSmearingFunctions.hh:350 double PHOTON_EFF_ATLAS_RUN2(const Particle &y) ATLAS Run 2 photon reco efficiency. Definition ExptSmearingFunctions.hh:321 double TAUJET_EFF_ATLAS_RUN1(const Jet &j) ATLAS Run 1 8 TeV tau misID rates (medium working point) Definition ExptSmearingFunctions.hh:540 double TAU_EFF_ATLAS_RUN1(const Particle &t) ATLAS Run 1 8 TeV tau efficiencies (medium working point) Definition ExptSmearingFunctions.hh:510 Particle TAU_SMEAR_CMS_RUN1(const Particle &t) Definition ExptSmearingFunctions.hh:683 Particle TAU_SMEAR_CMS_RUN2(const Particle &t) Definition ExptSmearingFunctions.hh:690 double TAU_EFF_ATLAS_RUN2(const Particle &t) ATLAS Run 2 13 TeV tau efficiencies (medium working point) Definition ExptSmearingFunctions.hh:574 Particle TAU_SMEAR_ATLAS_RUN1(const Particle &t) Definition ExptSmearingFunctions.hh:626 double TAUJET_EFF_ATLAS_RUN2(const Jet &j) ATLAS Run 2 13 TeV tau misID rate (medium working point) Definition ExptSmearingFunctions.hh:598 double TAU_EFF_CMS_RUN2(const Particle &t) Definition ExptSmearingFunctions.hh:675 double TAU_EFF_CMS_RUN1(const Particle &t) Definition ExptSmearingFunctions.hh:667 Particle TAU_SMEAR_ATLAS_RUN2(const Particle &t) Definition ExptSmearingFunctions.hh:659 double ATLAS_JVT_EFF_MEDIUM(const Jet &j) Return the efficiency of the ATLAS JVT tagger at > 0.4 W.P. Definition ExptSmearingFunctions.hh:967 double TRK_EFF_CMS_RUN2(const Particle &p) Definition ExptSmearingFunctions.hh:937 double ATLAS_JVT_EFF_TIGHT(const Jet &j) Return the efficiency of the ATLAS JVT tagger at > 0.7 W.P. Definition ExptSmearingFunctions.hh:986 double TRK_EFF_CMS_RUN1(const Particle &p) CMS Run 1 tracking efficiency. Definition ExptSmearingFunctions.hh:905 double ATLAS_JVT_EFF_LOOSE(const Jet &j) Return the efficiency of the ATLAS JVT tagger at > 0.2 W.P. Definition ExptSmearingFunctions.hh:948 double TRK_EFF_ATLAS_RUN1(const Particle &p) ATLAS Run 1 tracking efficiency. Definition ExptSmearingFunctions.hh:867 double TRK_EFF_ATLAS_RUN2(const Particle &p) Definition ExptSmearingFunctions.hh:899 Definition MC_CENT_PPB_Projections.hh:10 double deltaR(double rap1, double phi1, double rap2, double phi2) Definition MathUtils.hh:698 std::enable_if< std::is_arithmetic< N1 >::value &&std::is_arithmetic< N2 >::value, typenamestd::common_type< N1, N2 >::type >::type max(N1 a, N2 b) Get the maximum of two numbers. Definition MathUtils.hh:111 std::enable_if< std::is_arithmetic< NUM >::value, NUM >::type add_quad(NUM a, NUM b) Named number-type addition in quadrature operation. Definition MathUtils.hh:231 std::enable_if< std::is_arithmetic< N1 >::value &&std::is_arithmetic< N2 >::value, typenamestd::common_type< N1, N2 >::type >::type min(N1 a, N2 b) Get the minimum of two numbers. Definition MathUtils.hh:102 double randnorm(double loc, double scale) Return a random number sampled from a Gaussian/normal distribution. std::enable_if< std::is_arithmetic< NUM1 >::value &&std::is_arithmetic< NUM2 >::value, int >::type binIndex(NUM1 val, std::initializer_list< NUM2 > binedges, bool allow_overflow=false) Return the bin index of the given value, val, given a vector of bin edges. Definition MathUtils.hh:455 std::enable_if< std::is_arithmetic< N1 >::value &&std::is_arithmetic< N2 >::value &&std::is_arithmetic< N3 >::value, bool >::type inRange(N1 value, N2 low, N3 high, RangeBoundary lowbound=CLOSED, RangeBoundary highbound=OPEN) Determine if value is in the range low to high, for floating point numbers. Definition MathUtils.hh:133 std::enable_if< std::is_arithmetic< NUM >::value, NUM >::type sqr(NUM a) Named number-type squaring operation. Definition MathUtils.hh:219 Generated on Thu Feb 29 2024 15:46:47 for Rivet by 1.9.8 |