SmearingFunctions.hh 42 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 }; 48 const double eff = effs_et[i_et] * effs_eta[i_eta] / 0.95; //< norm factor as approximate double differential 56 const static vector<double> eta_edges_10 = {0.000, 0.049, 0.454, 1.107, 1.46, 1.790, 2.277, 2.500}; 59 const static vector<double> eta_edges_15 = {0.000, 0.053, 0.456, 1.102, 1.463, 1.783, 2.263, 2.500}; 62 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}; 63 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}; 65 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}; 66 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}; 68 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}; 69 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}; 71 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}; 72 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}; 74 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}; 75 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}; 77 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}; 78 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}; 80 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}; 81 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}; 83 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}; 84 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}; 86 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}; 87 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}; 90 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 }; 91 const static vector< vector<double> > et_eta_vals = { eta_vals_10, eta_vals_15, eta_vals_20, eta_vals_25, eta_vals_30, eta_vals_35, eta_vals_40, eta_vals_45, eta_vals_50, eta_vals_60, eta_vals_80 }; 109 const static vector<double> eta_edges_10 = {0.000, 0.049, 0.459, 1.100, 1.461, 1.789, 2.270, 2.500}; 112 const static vector<double> eta_edges_15 = {0.000, 0.053, 0.450, 1.096, 1.463, 1.783, 2.269, 2.500}; 115 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}; 116 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}; 118 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}; 119 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}; 121 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}; 122 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}; 124 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}; 125 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}; 127 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}; 128 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}; 130 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}; 131 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}; 133 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}; 134 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}; 136 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}; 137 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}; 139 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}; 140 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}; 143 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 }; 144 const static vector< vector<double> > et_eta_vals = { eta_vals_10, eta_vals_15, eta_vals_20, eta_vals_25, eta_vals_30, eta_vals_35, eta_vals_40, eta_vals_45, eta_vals_50, eta_vals_60, eta_vals_80 }; 506 return Particle(t.pid(), FourMomentum::mkXYZM(t.px()*fsmear, t.py()*fsmear, t.pz()*fsmear, mass)); 585 static const vector<double> jer = {0.145, 0.115, 0.095, 0.075, 0.07, 0.05, 0.04, 0.04}; //< note overflow value 627 else if (met.mod() < 40*GeV) smeared_met *= (1.05 - (0.04/15)*(met.mod()/GeV - 25)); //< linear decrease Definition: ALICE_2010_I880049.cc:13 FourMomentum P4_SMEAR_E_GAUSS(const FourMomentum &p, double resolution) Definition: MomentumSmearingFunctions.hh:46 double JET_BTAG_ATLAS_RUN2_MV2C10(const Jet &j) Return the ATLAS Run 2 MC2c10 jet flavour tagging efficiency for the given Jet. Definition: SmearingFunctions.hh:569 double MUON_EFF_CMS_RUN2(const Particle &m) Definition: SmearingFunctions.hh:399 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:356 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:110 double TAU_EFF_CMS_RUN2(const Particle &t) Definition: SmearingFunctions.hh:520 double ELECTRON_IDEFF_ATLAS_RUN1_MEDIUM(const Particle &e) ATLAS Run 1 'medium' electron identification/selection efficiency. Definition: SmearingFunctions.hh:54 double TRK_EFF_CMS_RUN1(const Particle &p) CMS Run 1 tracking efficiency. Definition: SmearingFunctions.hh:723 Vector3 MET_SMEAR_CMS_RUN1(const Vector3 &met, double set) Definition: SmearingFunctions.hh:646 double abseta() const Get the directly (alias). Definition: ParticleBase.hh:91 Vector3 MET_SMEAR_ATLAS_RUN2(const Vector3 &met, double set) Definition: SmearingFunctions.hh:640 Particle TAU_SMEAR_CMS_RUN1(const Particle &t) Definition: SmearingFunctions.hh:534 Particle PHOTON_SMEAR_ATLAS_RUN1(const Particle &y) Definition: SmearingFunctions.hh:327 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:201 double TRK_EFF_CMS_RUN2(const Particle &p) Definition: SmearingFunctions.hh:755 Vector3 MET_SMEAR_CMS_RUN2(const Vector3 &met, double set) Definition: SmearingFunctions.hh:663 Particles children(const Cut &c=Cuts::OPEN) const Get a list of the direct descendants from the current particle (with optional selection Cut) ... Definition: Particle.cc:104 Particle representation, either from a HepMC::GenEvent or reconstructed. Definition: Particle.hh:18 double mass2() const Get the mass**2 directly. Definition: ParticleBase.hh:82 double PHOTON_EFF_CMS_RUN2(const Particle &y) Definition: SmearingFunctions.hh:321 Particle ELECTRON_SMEAR_CMS_RUN2(const Particle &e) Definition: SmearingFunctions.hh:245 Vector3 MET_SMEAR_ATLAS_RUN1(const Vector3 &met, double set) ATLAS Run 1 ETmiss smearing. Definition: SmearingFunctions.hh:622 double PHOTON_EFF_CMS_RUN1(const Particle &y) Definition: SmearingFunctions.hh:314 double JET_BTAG_ATLAS_RUN1(const Jet &j) Return the ATLAS Run 1 jet flavour tagging efficiency for the given Jet. Definition: SmearingFunctions.hh:553 double ELECTRON_IDEFF_ATLAS_RUN2_TIGHT(const Particle &e) ATLAS Run 2 'tight' electron identification/selection efficiency. Definition: SmearingFunctions.hh:154 double ELECTRON_EFF_CMS_RUN1(const Particle &e) CMS Run 1 electron reconstruction efficiency. Definition: SmearingFunctions.hh:202 Particle MUON_SMEAR_ATLAS_RUN2(const Particle &m) Definition: SmearingFunctions.hh:383 Particle MUON_SMEAR_ATLAS_RUN1(const Particle &m) ATLAS Run 1 muon reco smearing. Definition: SmearingFunctions.hh:361 Particle ELECTRON_SMEAR_ATLAS_RUN2(const Particle &e) Definition: SmearingFunctions.hh:192 double ELECTRON_EFF_ATLAS_RUN1(const Particle &e) Definition: SmearingFunctions.hh:18 double TAU_EFF_ATLAS_RUN1(const Particle &t) ATLAS Run 1 8 TeV tau efficiencies (medium working point) Definition: SmearingFunctions.hh:450 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:103 Particle MUON_SMEAR_CMS_RUN1(const Particle &m) CMS Run 1 muon reco smearing. Definition: SmearingFunctions.hh:405 double TRK_EFF_ATLAS_RUN2(const Particle &p) Definition: SmearingFunctions.hh:717 Particle ELECTRON_SMEAR_CMS_RUN1(const Particle &e) CMS electron energy smearing, preserving direction. Definition: SmearingFunctions.hh:222 double deltaR(double rap1, double phi1, double rap2, double phi2) Definition: MathUtils.hh:597 int charge3() const Three times the charge of this Particle (i.e. integer multiple of smallest quark charge). Definition: Particle.hh:155 Jet JET_SMEAR_ATLAS_RUN2(const Jet &j) Definition: SmearingFunctions.hh:601 double TAU_EFF_ATLAS_RUN2(const Particle &t) ATLAS Run 2 13 TeV tau efficiencies (medium working point) Definition: SmearingFunctions.hh:478 double max(const vector< double > &in, double errval=DBL_NAN) Find the maximum value in the vector. Definition: Utils.hh:465 Particle TAU_SMEAR_ATLAS_RUN2(const Particle &t) Definition: SmearingFunctions.hh:512 double ELECTRON_EFF_ATLAS_RUN2(const Particle &e) Definition: SmearingFunctions.hh:26 Particle TAU_SMEAR_CMS_RUN2(const Particle &t) Definition: SmearingFunctions.hh:541 double ELECTRON_IDEFF_ATLAS_RUN1_TIGHT(const Particle &e) ATLAS Run 1 'tight' electron identification/selection efficiency. Definition: SmearingFunctions.hh:107 double MUON_EFF_CMS_RUN1(const Particle &m) CMS Run 1 muon reco efficiency. Definition: SmearingFunctions.hh:391 double ELECTRON_EFF_CMS_RUN2(const Particle &e) Definition: SmearingFunctions.hh:211 double ELECTRON_IDEFF_ATLAS_RUN2_MEDIUM(const Particle &e) ATLAS Run 2 'medium' electron identification/selection efficiency. Definition: SmearingFunctions.hh:101 double TAU_EFF_CMS_RUN1(const Particle &t) Definition: SmearingFunctions.hh:527 double PHOTON_EFF_ATLAS_RUN1(const Particle &y) ATLAS Run 2 photon reco efficiency. Definition: SmearingFunctions.hh:259 PdgId abspid() const Absolute value of the PDG ID code. Definition: Particle.hh:137 double JET_BTAG_ATLAS_RUN2_MV2C20(const Jet &j) Return the ATLAS Run 2 MC2c20 jet flavour tagging efficiency for the given Jet. Definition: SmearingFunctions.hh:562 Particle ELECTRON_SMEAR_ATLAS_RUN1(const Particle &e) ATLAS Run 1 electron reco smearing. Definition: SmearingFunctions.hh:161 double ELECTRON_IDEFF_ATLAS_RUN2_LOOSE(const Particle &e) ATLAS Run 2 'loose' electron identification/selection efficiency. Definition: SmearingFunctions.hh:35 double MUON_EFF_ATLAS_RUN1(const Particle &m) ATLAS Run 1 muon reco efficiency. Definition: SmearingFunctions.hh:340 Particle TAU_SMEAR_ATLAS_RUN1(const Particle &t) Definition: SmearingFunctions.hh:498 double TRK_EFF_ATLAS_RUN1(const Particle &p) ATLAS Run 1 tracking efficiency. Definition: SmearingFunctions.hh:685 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:123 double PHOTON_EFF_ATLAS_RUN2(const Particle &y) ATLAS Run 2 photon reco efficiency. Definition: SmearingFunctions.hh:287 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:776 double min(const vector< double > &in, double errval=DBL_NAN) Find the minimum value in the vector. Definition: Utils.hh:459 std::enable_if< std::is_arithmetic< NUM >::value, NUM >::type sqr(NUM a) Named number-type squaring operation. Definition: MathUtils.hh:189 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:53 Particle MUON_SMEAR_CMS_RUN2(const Particle &m) Definition: SmearingFunctions.hh:432 double MUON_EFF_ATLAS_RUN2(const Particle &m) ATLAS Run 2 muon reco efficiency. Definition: SmearingFunctions.hh:350 double randnorm(double loc, double scale) Return a Gaussian/normal sampled random number with the given mean and width. Definition: Random.cc:47 Jet JET_SMEAR_ATLAS_RUN1(const Jet &j) ATLAS Run 1 jet smearing. Definition: SmearingFunctions.hh:578 Generated on Sun Feb 17 2019 21:04:56 for Rivet by ![]() |