JetSmearingFunctions.hh 47 JET_BTAG_EFFS(double eff_b, double eff_light=0) : _eff_b(eff_b), _eff_c(-1), _eff_t(-1), _eff_l(eff_light) { } 48 JET_BTAG_EFFS(double eff_b, double eff_c, double eff_light) : _eff_b(eff_b), _eff_c(eff_c), _eff_t(-1), _eff_l(eff_light) { } 49 JET_BTAG_EFFS(double eff_b, double eff_c, double eff_tau, double eff_light) : _eff_b(eff_b), _eff_c(eff_c), _eff_t(eff_tau), _eff_l(eff_light) { } 100 return Rivet::cmp(get_address(sfn), get_address(other.sfn)) || Rivet::cmp(get_address(efn), get_address(other.efn)); Definition: ALICE_2010_I880049.cc:13 A functor to return true if Jet j survives a random efficiency selection. Definition: JetSmearingFunctions.hh:122 double JET_EFF_ONE(const Jet &p) Return a constant 1 given a Jet as argument. Definition: JetSmearingFunctions.hh:27 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 Functor for simultaneous efficiency-filtering and smearing of Jets. Definition: JetSmearingFunctions.hh:73 double JET_CTAG_PERFECT(const Jet &j) Return 1 if the given Jet contains a c, otherwise 0. Definition: JetSmearingFunctions.hh:41 double JET_EFF_ZERO(const Jet &p) Return a constant 0 given a Jet as argument. Definition: JetSmearingFunctions.hh:25 bool tauTagged(const Cut &c=Cuts::open()) const Does this jet have at least one tau-tag (that passes an optional Cut)? Definition: Jet.hh:136 bool efffilt(const Jet &j, FN &feff) Return true if Jet j is chosen to survive a random efficiency selection. Definition: JetSmearingFunctions.hh:117 double JET_BTAG_PERFECT(const Jet &j) Return 1 if the given Jet contains a b, otherwise 0. Definition: JetSmearingFunctions.hh:38 Take a Jet and return a constant efficiency. Definition: JetSmearingFunctions.hh:30 int cmp(const JetEffSmearFn &other) const Compare to another, for use in the projection system. Definition: JetSmearingFunctions.hh:95 b-tagging efficiency functor, for more readable b-tag effs and mistag rates Note several constructors... Definition: JetSmearingFunctions.hh:46 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 rand01() Return a uniformly sampled random number between 0 and 1. Definition: Random.cc:39 Cmp< T > cmp(const T &t1, const T &t2) Global helper function for easy creation of Cmp objects. Definition: Cmp.hh:285 Jet JET_SMEAR_PERFECT(const Jet &j) Alias for JET_SMEAR_IDENTITY. Definition: JetSmearingFunctions.hh:65 Generated on Sun Feb 17 2019 21:04:56 for Rivet by ![]() |