ParticleBaseUtils.hh 54 bool operator()(const ParticleBase& p) const { return p.pT() >= ptcut.first && p.pT() < ptcut.second; } 84 bool operator()(const ParticleBase& p) const { return p.eta() >= etacut.first && p.eta() < etacut.second; } 113 AbsEtaInRange(double absetalow, double absetahigh) : AbsEtaInRange(make_pair(absetalow, absetahigh)) { } 114 AbsEtaInRange(const FourMomentum& p1, const FourMomentum& p2) : AbsEtaInRange(p1.abseta(), p2.abseta()) { } 115 bool operator()(const ParticleBase& p) const { return p.abseta() >= absetacut.first && p.abseta() < absetacut.second; } 145 bool operator()(const ParticleBase& p) const { return p.rap() >= rapcut.first && p.rap() < rapcut.second; } 174 AbsRapInRange(double absraplow, double absraphigh) : AbsRapInRange(make_pair(absraplow, absraphigh)) { } 175 AbsRapInRange(const FourMomentum& p1, const FourMomentum& p2) : AbsRapInRange(p1.absrap(), p2.absrap()) { } 176 bool operator()(const ParticleBase& p) const { return p.absrap() >= absrapcut.first && p.absrap() < absrapcut.second; } 193 : drcut(dr), rapscheme(PSEUDORAPIDITY) { refvec.setPx(vec.x()); refvec.setPy(vec.y()); refvec.setPz(vec.z()); } 208 : drcut(dr), rapscheme(PSEUDORAPIDITY) { refvec.setPx(vec.x()); refvec.setPy(vec.y()); refvec.setPz(vec.z()); } 218 DeltaRInRange(const ParticleBase& vec, const pair<double,double>& dr, RapScheme scheme=PSEUDORAPIDITY) 220 DeltaRInRange(const ParticleBase& vec, double drmin, double drmax, RapScheme scheme=PSEUDORAPIDITY) 222 DeltaRInRange(const FourMomentum& vec, const pair<double,double>& dr, RapScheme scheme=PSEUDORAPIDITY) 224 DeltaRInRange(const FourMomentum& vec, double drmin, double drmax, RapScheme scheme=PSEUDORAPIDITY) 227 : drcut(dr), rapscheme(PSEUDORAPIDITY) { refvec.setPx(vec.x()); refvec.setPy(vec.y()); refvec.setPz(vec.z()); } 301 bool operator()(const ParticleBase& p) const { return std::abs(deltaEta(p, refvec)) > detacut; } 315 bool operator()(const ParticleBase& p) const { return std::abs(deltaEta(p, refvec)) < detacut; } 351 bool operator()(const ParticleBase& p) const { return std::abs(deltaRap(p, refvec)) > drapcut; } 363 bool operator()(const ParticleBase& p) const { return std::abs(deltaRap(p, refvec)) < drapcut; } 405 DeltaRWRT(const ParticleBase& pb, RapScheme scheme=PSEUDORAPIDITY) : p(pb.mom()), rapscheme(scheme) {} 406 DeltaRWRT(const FourMomentum& p4, RapScheme scheme=PSEUDORAPIDITY) : p(p4), rapscheme(scheme) {} 407 DeltaRWRT(const Vector3& p3) : p(p3.mod(), p3.x(), p3.y(), p3.z()), rapscheme(PSEUDORAPIDITY) {} 479 void idiscardIfAnyDeltaRLess(PBCONTAINER1& tofilter, const PBCONTAINER2& tocompare, double dR) { 485 PBCONTAINER1 discardIfAnyDeltaRLess(const PBCONTAINER1& tofilter, const PBCONTAINER2& tocompare, double dR) { 492 void idiscardIfAnyDeltaPhiLess(PBCONTAINER1& tofilter, const PBCONTAINER2& tocompare, double dphi) { 498 PBCONTAINER1 discardIfAnyDeltaPhiLess(const PBCONTAINER1& tofilter, const PBCONTAINER2& tocompare, double dphi) { 550 inline double pairPt(const ParticleBase& p1, const ParticleBase& p2) { return (p1.mom() + p2.mom()).pT(); } 553 inline double pairMass(const ParticleBase& p1, const ParticleBase& p2) { return (p1.mom() + p2.mom()).mass(); } Definition: ALICE_2010_I880049.cc:13 double pT() const Calculate the transverse momentum . Definition: Vector4.hh:628 Base type for Particle -> double functors. Definition: ParticleBaseUtils.hh:398 (with respect to another momentum, vec) greater-than functor Definition: ParticleBaseUtils.hh:346 (with respect to another momentum, vec) greater-than functor Definition: ParticleBaseUtils.hh:294 Abs pseudorapidity momentum less-than functor. Definition: ParticleBaseUtils.hh:101 const FourMomentum & mom() const Get equivalent single momentum four-vector (const) (alias). Definition: ParticleBase.hh:39 double abseta() const Get the directly (alias). Definition: ParticleBase.hh:91 Jets & ifilter_discard(Jets &jets, const Cut &c) Filter a jet collection in-place to the subset that fails the supplied Cut. Definition: JetUtils.cc:14 Base type for Particle -> bool functors. Definition: ParticleBaseUtils.hh:23 (with respect to another 4-momentum, vec) greater-than functor Definition: ParticleBaseUtils.hh:187 (with respect to another 4-momentum, vec) in-range functor Definition: ParticleBaseUtils.hh:270 Calculator of with respect to a given momentum. Definition: ParticleBaseUtils.hh:417 (with respect to another momentum, vec) less-than functor Definition: ParticleBaseUtils.hh:358 function< bool(const ParticleBase &)> ParticleBaseSelector std::function instantiation for functors taking a ParticleBase and returning a bool ... Definition: ParticleBaseUtils.hh:17 double deltaPhi(double phi1, double phi2, bool sign=false) Calculate the difference between two angles in radians. Definition: MathUtils.hh:569 Calculator of with respect to a given momentum. Definition: ParticleBaseUtils.hh:429 Vector3 pTvec() const Get the transverse 3-momentum directly. Definition: ParticleBase.hh:117 Vector3 p3() const Get the 3-momentum directly. Definition: ParticleBase.hh:108 Calculator of with respect to a given momentum. Definition: ParticleBaseUtils.hh:463 function< bool(const ParticleBase &, const ParticleBase &)> ParticleBaseSorter std::function instantiation for functors taking two ParticleBase and returning a bool ... Definition: ParticleBaseUtils.hh:19 Calculator of with respect to a given momentum. Definition: ParticleBaseUtils.hh:404 (with respect to another 4-momentum, vec) less-than functor Definition: ParticleBaseUtils.hh:202 Base class for particle-like things like Particle and Jet. Definition: ParticleBase.hh:13 (with respect to another momentum, vec) less-than functor Definition: ParticleBaseUtils.hh:308 double deltaR(double rap1, double phi1, double rap2, double phi2) Definition: MathUtils.hh:597 double absrap() const Get the directly (alias). Definition: ParticleBase.hh:100 RapScheme Enum for rapidity variable to be used in calculating , applying rapidity cuts, etc. Definition: MathHeader.hh:28 Vector3 vector3() const Get the spatial part of the 4-vector as a 3-vector. Definition: Vector4.hh:162 Calculator of with respect to a given momentum. Definition: ParticleBaseUtils.hh:453 (with respect to another 4-momentum, vec) in-range functor Definition: ParticleBaseUtils.hh:217 (with respect to another momentum, vec) less-than functor Definition: ParticleBaseUtils.hh:256 (with respect to another momentum, vec) greater-than functor Definition: ParticleBaseUtils.hh:242 Calculator of with respect to a given momentum. Definition: ParticleBaseUtils.hh:441 Specialized version of the FourVector with momentum/energy functionality. Definition: Vector4.hh:301 double p() const Get the 3-momentum magnitude directly. Definition: ParticleBase.hh:110 (with respect to another 4-momentum, vec) in-range functor Definition: ParticleBaseUtils.hh:322 (with respect to another 4-momentum, vec) in-range functor Definition: ParticleBaseUtils.hh:370 Generated on Sun Feb 17 2019 21:04:56 for Rivet by ![]() |