|
The Rivet MC analysis system
2.2.0
|
Specialized version of the FourVector with momentum/energy functionality.
More...
#include <Vector4.hh>
List of all members.
Classes |
struct | byEAscending |
| Struct for sorting by increasing energy. More...
|
struct | byEDescending |
| Struct for sorting by decreasing energy. More...
|
Public Member Functions |
| FourMomentum () |
template<typename V4 > |
| FourMomentum (const V4 &other) |
| FourMomentum (const Vector< 4 > &other) |
| FourMomentum (const double E, const double px, const double py, const double pz) |
| ~FourMomentum () |
double | E () const |
| Get energy (time component of momentum).
|
Vector3 | p3 () const |
| Get 3-momentum part, .
|
double | px () const |
| Get 3-momentum part, (alias).
|
double | py () const |
| Get y-component of momentum .
|
double | pz () const |
| Get z-component of momentum .
|
FourMomentum & | setE (double E) |
| Set energy (time component of momentum).
|
FourMomentum & | setPx (double px) |
| Set x-component of momentum .
|
FourMomentum & | setPy (double py) |
| Set y-component of momentum .
|
FourMomentum & | setPz (double pz) |
| Set z-component of momentum .
|
double | mass () const |
| Get the mass (the Lorentz self-invariant).
|
double | mass2 () const |
| Get the squared mass (the Lorentz self-invariant).
|
double | rapidity () const |
| Calculate the rapidity.
|
double | rap () const |
| Alias for rapidity.
|
double | absrapidity () const |
| Absolute rapidity.
|
double | absrap () const |
| Absolute rapidity.
|
double | pT2 () const |
| Calculate the squared transverse momentum .
|
double | pt2 () const |
| Calculate the squared transverse momentum .
|
double | pT () const |
| Calculate the transverse momentum .
|
double | pt () const |
| Calculate the transverse momentum .
|
double | Et2 () const |
| Calculate the transverse energy .
|
double | Et () const |
| Calculate the transverse energy .
|
Vector3 | boostVector () const |
| Calculate the boost vector (in units of ).
|
FourMomentum & | operator*= (double a) |
| Multiply by a scalar.
|
FourMomentum & | operator/= (double a) |
| Divide by a scalar.
|
FourMomentum & | operator+= (const FourMomentum &v) |
| Add to this 4-vector. NB time as well as space components are added.
|
FourMomentum & | operator-= (const FourMomentum &v) |
| Subtract from this 4-vector. NB time as well as space components are subtracted.
|
FourMomentum | operator- () const |
| Multiply all components (time and space) by -1.
|
double | t () const |
double | x () const |
double | y () const |
double | z () const |
FourVector & | setT (const double t) |
FourVector & | setX (const double x) |
FourVector & | setY (const double y) |
FourVector & | setZ (const double z) |
double | invariant () const |
double | angle (const FourVector &v) const |
| Angle between this vector and another.
|
double | angle (const Vector3 &v3) const |
| Angle between this vector and another (3-vector)
|
double | polarRadius2 () const |
| Square of the projection of the 3-vector on to the plane This is a more efficient function than polarRadius , as it avoids the square root. Use it if you only need the squared value, or e.g. an ordering by magnitude.
|
double | perp2 () const |
| Synonym for polarRadius2.
|
double | rho2 () const |
| Synonym for polarRadius2.
|
double | polarRadius () const |
| Projection of 3-vector on to the plane.
|
double | perp () const |
| Synonym for polarRadius.
|
double | rho () const |
| Synonym for polarRadius.
|
double | azimuthalAngle (const PhiMapping mapping=ZERO_2PI) const |
| Angle subtended by the 3-vector's projection in x-y and the x-axis.
|
double | phi (const PhiMapping mapping=ZERO_2PI) const |
| Synonym for azimuthalAngle.
|
double | polarAngle () const |
| Angle subtended by the 3-vector and the z-axis.
|
double | theta () const |
| Synonym for polarAngle.
|
double | pseudorapidity () const |
| Pseudorapidity (defined purely by the 3-vector components)
|
double | eta () const |
| Synonym for pseudorapidity.
|
double | abspseudorapidity () const |
| Get the directly.
|
double | abseta () const |
| Get the directly (alias).
|
Vector3 | vector3 () const |
| Get the spatial part of the 4-vector as a 3-vector.
|
double | contract (const FourVector &v) const |
| Contract two 4-vectors, with metric signature (+ - - -).
|
double | dot (const FourVector &v) const |
| Contract two 4-vectors, with metric signature (+ - - -).
|
double | operator* (const FourVector &v) const |
| Contract two 4-vectors, with metric signature (+ - - -).
|
FourVector & | operator+= (const FourVector &v) |
| Add to this 4-vector.
|
FourVector & | operator-= (const FourVector &v) |
| Subtract from this 4-vector. NB time as well as space components are subtracted.
|
const double & | get (const size_t index) const |
const double & | operator[] (const size_t index) const |
| Direct access to vector elements by index.
|
double & | operator[] (const size_t index) |
| Direct access to vector elements by index.
|
Vector< N > & | set (const size_t index, const double value) |
| Set indexed value.
|
size_t | size () const |
| Vector dimensionality.
|
bool | isZero (double tolerance=1E-5) const |
| Check for nullness, allowing for numerical precision.
|
double | mod2 () const |
| Calculate the modulus-squared of a vector. .
|
double | mod () const |
| Calculate the modulus of a vector. .
|
bool | operator== (const Vector< N > &a) const |
bool | operator!= (const Vector< N > &a) const |
bool | operator< (const Vector< N > &a) const |
bool | operator<= (const Vector< N > &a) const |
bool | operator> (const Vector< N > &a) const |
bool | operator>= (const Vector< N > &a) const |
Protected Member Functions |
double & | get (const size_t index) |
Protected Attributes |
Eigen::Vector< double, N > | _vec |
| Vector.
|
Friends |
FourMomentum | multiply (const double a, const FourMomentum &v) |
FourMomentum | multiply (const FourMomentum &v, const double a) |
FourMomentum | add (const FourMomentum &a, const FourMomentum &b) |
FourMomentum | transform (const LorentzTransform <, const FourMomentum &v4) |
Detailed Description
Specialized version of the FourVector with momentum/energy functionality.
Definition at line 274 of file Vector4.hh.
Constructor & Destructor Documentation
FourMomentum |
( |
const double |
E, |
|
|
const double |
px, |
|
|
const double |
py, |
|
|
const double |
pz |
|
) |
| [inline] |
Member Function Documentation
double abseta |
( |
| ) |
const [inline, inherited] |
double absrap |
( |
| ) |
const [inline] |
double angle |
( |
const Vector3 & |
v3 | ) |
const [inline, inherited] |
Calculate the boost vector (in units of ).
- Todo:
- Be careful about c=1 convention...
Definition at line 402 of file Vector4.hh.
References FourMomentum::E(), FourMomentum::px(), FourMomentum::py(), and FourMomentum::pz().
Referenced by CDF_1997_S3541940::_avg_beam_in_lab(), CDF_1996_S3349578::_avg_beam_in_lab(), CDF_1996_S3349578::_fiveJetAnalysis(), D0_1996_S3214044::_fourJetAnalysis(), CDF_1996_S3349578::_fourJetAnalysis(), CDF_1996_S3349578::_threeJetAnalysis(), D0_1996_S3214044::_threeJetAnalysis(), CLEO_2004_S5809304::analyze(), BELLE_2001_S4598261::analyze(), BABAR_2005_S6181155::analyze(), BABAR_2007_S6895344::analyze(), BABAR_2003_I593379::analyze(), BABAR_2013_I1238276::analyze(), ARGUS_1993_S2653028::analyze(), BELLE_2013_I1216515::analyze(), BELLE_2008_I786560::analyze(), ARGUS_1993_S2669951::analyze(), BABAR_2007_S7266081::analyze(), CDF_1996_S3108457::analyze(), CDF_1997_S3541940::analyze(), ARGUS_1993_S2789213::analyze(), PDG_TAUS::analyzeRadiativeDecay(), MC_VH2BB::boostAngles(), and DISKinematics::project().
{
return Vector3(px()/E(), py()/E(), pz()/E());
}
double E |
( |
| ) |
const [inline] |
Get energy (time component of momentum).
Definition at line 305 of file Vector4.hh.
References FourVector::t().
Referenced by CDF_1997_S3541940::_avg_beam_in_lab(), CDF_1996_S3349578::_avg_beam_in_lab(), BeamThrust::_calcBeamThrust(), CDF_1996_S3349578::_fiveJetAnalysis(), D0_1996_S3214044::_fourJetAnalysis(), CDF_1996_S3349578::_fourJetAnalysis(), CDF_1996_S3349578::_threeJetAnalysis(), D0_1996_S3214044::_threeJetAnalysis(), OPAL_1993_S2692198::analyze(), H1_2000_S4129130::analyze(), ARGUS_1993_S2669951::analyze(), ALICE_2012_I1181770::analyze(), H1_1994_S2919893::analyze(), D0_2006_S6438750::analyze(), MC_PHOTONINC::analyze(), MC_PHOTONKTSPLITTINGS::analyze(), CDF_1997_S3541940::analyze(), MC_HFJETS::analyze(), MC_PHOTONJETS::analyze(), LHCB_2010_S8758301::analyze(), LHCB_2011_I917009::analyze(), ARGUS_1993_S2789213::analyze(), D0_2008_S7719523::analyze(), ATLAS_2011_S9041966::analyze(), ALEPH_1996_S3486095::analyze(), FourMomentum::boostVector(), Hemispheres::calc(), FastJets::calc(), Rivet::cmpMomByAscE(), Rivet::cmpMomByE(), ATLAS_2014_I1306615::cosTS_CS(), ParticleBase::E(), ParticleBase::energy(), FourMomentum::Et(), FourMomentum::byEAscending::operator()(), FourMomentum::rapidity(), Jet::setState(), Rivet::sqrtS(), and Jet::totalEnergy().
double Et |
( |
| ) |
const [inline] |
Calculate the transverse energy .
Definition at line 397 of file Vector4.hh.
References FourMomentum::E(), and FourVector::polarAngle().
Referenced by H1_2000_S4129130::analyze(), H1_1994_S2919893::analyze(), CDF_2005_S6080774::analyze(), D0_1996_S3324664::analyze(), MC_DIPHOTON::analyze(), CDF_2009_S8436959::analyze(), CDF_2001_S4517016::analyze(), D0_2008_S7837160::analyze(), MC_WINC::analyze(), ATLAS_2012_I946427::analyze(), ATLAS_2010_S8919674::analyze(), ATLAS_2014_I1307756::analyze(), CDF_2008_S7541902::analyze(), ATLAS_2012_I1199269::analyze(), ATLAS_2011_I921594::analyze(), ATLAS_2013_I1263495::analyze(), ATLAS_2011_S9120807::analyze(), ATLAS_2010_S8914702::analyze(), ATLAS_2012_I1083318::analyze(), ATLAS_2014_I1306615::analyze(), ATLAS_2012_I1093738::analyze(), Rivet::cmpMomByAscEt(), Rivet::cmpMomByEt(), ParticleBase::Et(), FourMomentum::Et2(), ATLAS_2011_I928289_W::FillPlots1d(), InvMassFinalState::massT(), and MissingMomentum::project().
double Et2 |
( |
| ) |
const [inline] |
double eta |
( |
| ) |
const [inline, inherited] |
Synonym for pseudorapidity.
Definition at line 134 of file Vector4.hh.
References Vector3::eta(), and FourVector::vector3().
Referenced by CDF_2004_S5839831::_calcTransCones(), FourVector::abseta(), FourVector::abspseudorapidity(), H1_2000_S4129130::analyze(), CMS_2013_I1265659::analyze(), CMS_2011_S8941262::analyze(), H1_1994_S2919893::analyze(), ATLAS_2011_S9002537::analyze(), CDF_2000_S4266730::analyze(), D0_1996_S3324664::analyze(), MC_ZJETS::analyze(), D0_2008_S6879055::analyze(), CDF_1993_S2742446::analyze(), CDF_2009_S8436959::analyze(), CDF_2008_S7540469::analyze(), D0_2010_S8821313::analyze(), D0_2006_S6438750::analyze(), MC_WINC::analyze(), CDF_1996_S3418421::analyze(), D0_2008_S7837160::analyze(), CDF_1994_S2952106::analyze(), ATLAS_2014_I1298811::analyze(), MC_PHOTONJETS::analyze(), MC_ZZJETS::analyze(), MC_WWJETS::analyze(), ATLAS_2013_I1243871::analyze(), LHCB_2014_I1281685::analyze(), CDF_2008_S7541902::analyze(), ATLAS_2012_I1199269::analyze(), MC_PHOTONJETUE::analyze(), MC_ZZINC::analyze(), MC_WWINC::analyze(), CDF_2010_S8591881_DY::analyze(), LHCB_2012_I1119400::analyze(), MC_TTBAR::analyze(), ATLAS_2010_S8914702::analyze(), D0_2008_S7719523::analyze(), MC_SUSY::analyze(), ATLAS_2014_I1306615::analyze(), ATLAS_2012_I1093738::analyze(), MC_VH2BB::analyze(), CDF_2004_S5839831::analyze(), JetShape::calc(), Rivet::cmpMomByAbsEta(), Rivet::cmpMomByDescAbsEta(), Rivet::cmpMomByEta(), ParticleBase::eta(), ATLAS_2012_I1204784::fillPlots(), and ParticleBase::pseudorapidity().
const double& get |
( |
const size_t |
index | ) |
const [inline, inherited] |
Definition at line 33 of file VectorN.hh.
References Vector< N >::_vec.
{
if (index >= N) {
throw std::runtime_error("Tried to access an invalid vector index.");
} else {
return _vec(index);
}
}
double& get |
( |
const size_t |
index | ) |
[inline, protected, inherited] |
Definition at line 126 of file VectorN.hh.
References Vector< N >::_vec.
{
if (index >= N) {
throw std::runtime_error("Tried to access an invalid vector index.");
} else {
return _vec(index);
}
}
double invariant |
( |
| ) |
const [inline, inherited] |
bool isZero |
( |
double |
tolerance = 1E-5 | ) |
const [inline, inherited] |
double mass |
( |
| ) |
const [inline] |
Get the mass (the Lorentz self-invariant).
For spacelike momenta, the mass will be -sqrt(|mass2|).
Definition at line 336 of file Vector4.hh.
References FourMomentum::mass2(), and Rivet::sign().
Referenced by OPAL_1993_S2692198::analyze(), CMS_2013_I1265659::analyze(), CDF_2008_S8093652::analyze(), CMS_2011_S8968497::analyze(), CMS_2012_I1090423::analyze(), CDF_2000_S4155203::analyze(), ATLAS_2014_I1282441::analyze(), CDF_2000_S4266730::analyze(), CDF_2005_S6080774::analyze(), EXAMPLE_CUTS::analyze(), MC_DIPHOTON::analyze(), ATLAS_2011_I930220::analyze(), CDF_2008_S7540469::analyze(), D0_2010_S8570965::analyze(), CDF_1996_S3108457::analyze(), D0_2010_S8566488::analyze(), CDF_1996_S3418421::analyze(), D0_2009_S8320160::analyze(), ATLAS_2012_I1126136::analyze(), ATLAS_2014_I1307756::analyze(), ATLAS_2012_I1199269::analyze(), MC_ZZINC::analyze(), CDF_2010_S8591881_DY::analyze(), ATLAS_2011_S9120807::analyze(), MC_TTBAR::analyze(), ATLAS_2011_S9019561::analyze(), ATLAS_2012_CONF_2012_153::analyze(), MC_SUSY::analyze(), MC_VH2BB::analyze(), ATLAS_2012_I1203852::analyze(), ATLAS_2014_I1279489::analyze(), InvMassFinalState::calc(), Rivet::identifyZstates(), ParticleBase::mass(), and ATLAS_2014_I1306615::tau_jet().
double mass2 |
( |
| ) |
const [inline] |
Get the squared mass (the Lorentz self-invariant).
Definition at line 347 of file Vector4.hh.
References FourVector::invariant().
Referenced by CDF_1997_S3541940::_reduce(), CDF_1996_S3349578::_reduce(), D0_1996_S3214044::_safeMass(), CDF_1997_S3541940::_safeMass(), CDF_1996_S3349578::_safeMass(), ATLAS_2011_I894867::analyze(), CMS_2012_I1193338::analyze(), CDF_2000_S4155203::analyze(), CMS_2013_I1218372::analyze(), D0_2001_S4674421::analyze(), MC_ZZINC::analyze(), MC_WWINC::analyze(), ATLAS_2013_I1217863_W::analyze(), ATLAS_2012_I1083318::analyze(), InvMassFinalState::calc(), FourMomentum::mass(), ParticleBase::mass2(), and DISKinematics::project().
double mod |
( |
| ) |
const [inline, inherited] |
Calculate the modulus of a vector. .
Definition at line 87 of file VectorN.hh.
References Vector< N >::mod2().
{
const double norm = mod2();
assert(norm >= 0);
return sqrt(norm);
}
double mod2 |
( |
| ) |
const [inline, inherited] |
double operator* |
( |
const FourVector & |
v | ) |
const [inline, inherited] |
bool operator< |
( |
const Vector< N > & |
a | ) |
const [inline, inherited] |
bool operator<= |
( |
const Vector< N > & |
a | ) |
const [inline, inherited] |
bool operator== |
( |
const Vector< N > & |
a | ) |
const [inline, inherited] |
bool operator> |
( |
const Vector< N > & |
a | ) |
const [inline, inherited] |
bool operator>= |
( |
const Vector< N > & |
a | ) |
const [inline, inherited] |
const double& operator[] |
( |
const size_t |
index | ) |
const [inline, inherited] |
Direct access to vector elements by index.
Definition at line 42 of file VectorN.hh.
double& operator[] |
( |
const size_t |
index | ) |
[inline, inherited] |
Direct access to vector elements by index.
Definition at line 47 of file VectorN.hh.
Get 3-momentum part, .
Definition at line 308 of file Vector4.hh.
References FourVector::vector3().
Referenced by CDF_1996_S3349578::_fiveJetAnalysis(), D0_1996_S3214044::_fourJetAnalysis(), CDF_1996_S3349578::_fourJetAnalysis(), CDF_1997_S3541940::_psi(), CDF_1996_S3349578::_psi(), CDF_1996_S3349578::_threeJetAnalysis(), D0_1996_S3214044::_threeJetAnalysis(), CLEO_2004_S5809304::analyze(), OPAL_1993_S2692198::analyze(), ARGUS_1993_S2669951::analyze(), ALICE_2012_I1181770::analyze(), CDF_1997_S3541940::analyze(), ARGUS_1993_S2789213::analyze(), LHCB_2014_I1281685::analyze(), MC_ZZINC::analyze(), MC_WWINC::analyze(), LHCB_2012_I1119400::analyze(), and ALEPH_1996_S3486095::analyze().
double perp |
( |
| ) |
const [inline, inherited] |
double perp2 |
( |
| ) |
const [inline, inherited] |
Synonym for azimuthalAngle.
Definition at line 114 of file Vector4.hh.
References Vector3::phi(), and FourVector::vector3().
Referenced by CDF_2004_S5839831::_calcTransCones(), CMS_2013_I1265659::analyze(), ATLAS_2011_S9002537::analyze(), D0_1996_S3324664::analyze(), D0_2008_S6879055::analyze(), CDF_1993_S2742446::analyze(), CDF_2009_S8436959::analyze(), CDF_2008_S7540469::analyze(), ATLAS_2011_I930220::analyze(), D0_2010_S8821313::analyze(), D0_2006_S6438750::analyze(), CDF_1994_S2952106::analyze(), ATLAS_2014_I1298811::analyze(), MC_PHOTONJETS::analyze(), CMS_2011_S9120041::analyze(), ATLAS_2012_I1199269::analyze(), MC_PHOTONJETUE::analyze(), ATLAS_2011_S9212183::analyze(), MC_WWINC::analyze(), MC_ZZINC::analyze(), ATLAS_2011_CONF_2011_098::analyze(), ATLAS_2014_I1315949::analyze(), ATLAS_2011_S8983313::analyze(), ATLAS_2012_I1095236::analyze(), ATLAS_2012_I1125961::analyze(), ATLAS_2013_I1217867::analyze(), ATLAS_2011_CONF_2011_090::analyze(), ATLAS_2012_CONF_2012_109::analyze(), ATLAS_2010_S8914702::analyze(), D0_2008_S7719523::analyze(), ATLAS_2012_I1083318::analyze(), ATLAS_2014_I1304688::analyze(), ATLAS_2011_S9212353::analyze(), ATLAS_2011_S9041966::analyze(), MC_SUSY::analyze(), ATLAS_2012_I1093738::analyze(), MC_VH2BB::analyze(), CDF_2004_S5839831::analyze(), and ParticleBase::phi().
Square of the projection of the 3-vector on to the plane This is a more efficient function than polarRadius , as it avoids the square root. Use it if you only need the squared value, or e.g. an ordering by magnitude.
Definition at line 79 of file Vector4.hh.
References Vector3::polarRadius2(), and FourVector::vector3().
double pT |
( |
| ) |
const [inline] |
Calculate the transverse momentum .
Definition at line 382 of file Vector4.hh.
References FourMomentum::pT2().
Referenced by CDF_2004_S5839831::_calcTransCones(), CMS_2013_I1265659::analyze(), CMS_2011_S8941262::analyze(), CMS_2012_PAS_QCD_11_010::analyze(), CDF_2000_S4155203::analyze(), STAR_2006_S6870392::analyze(), H1_1994_S2919893::analyze(), ATLAS_2011_S9002537::analyze(), EXAMPLE_CUTS::analyze(), CDF_2005_S6080774::analyze(), CMS_2013_I1273574::analyze(), MC_DIPHOTON::analyze(), ATLAS_2011_I925932::analyze(), D0_2010_S8570965::analyze(), CDF_2008_S7782535::analyze(), D0_2006_S6438750::analyze(), MC_PHOTONINC::analyze(), MC_HFJETS::analyze(), ATLAS_2014_I1298811::analyze(), D0_2008_S7863608::analyze(), ATLAS_2011_I954993::analyze(), ATLAS_2011_S9131140::analyze(), MC_ZZJETS::analyze(), CDF_2008_S8095620::analyze(), CMS_2011_S9120041::analyze(), MC_WWJETS::analyze(), CMS_2013_I1256943::analyze(), ATLAS_2012_I946427::analyze(), D0_2009_S8349509::analyze(), ATLAS_2012_CONF_2012_104::analyze(), ATLAS_2012_I1126136::analyze(), CMS_2012_I941555::analyze(), ATLAS_2013_I1243871::analyze(), LHCB_2014_I1281685::analyze(), ATLAS_2012_I1190891::analyze(), D0_2001_S4674421::analyze(), CDF_2008_S7541902::analyze(), ATLAS_2012_CONF_2012_105::analyze(), ATLAS_2012_I1199269::analyze(), MC_PHOTONJETUE::analyze(), MC_WWINC::analyze(), ATLAS_2011_S9212183::analyze(), MC_ZZINC::analyze(), ATLAS_2011_CONF_2011_098::analyze(), ATLAS_2014_I1315949::analyze(), CDF_2010_S8591881_DY::analyze(), ATLAS_2012_CONF_2012_103::analyze(), ATLAS_2012_I1112263::analyze(), ATLAS_2011_S8983313::analyze(), ATLAS_2013_I1190187::analyze(), LHCB_2012_I1119400::analyze(), ATLAS_2012_I1095236::analyze(), ATLAS_2011_S9120807::analyze(), ATLAS_2012_I1125961::analyze(), ATLAS_2013_I1217867::analyze(), ATLAS_2012_I1180197::analyze(), ATLAS_2011_CONF_2011_090::analyze(), ATLAS_2012_CONF_2012_001::analyze(), ATLAS_2014_I1307243::analyze(), ATLAS_2012_CONF_2012_109::analyze(), ATLAS_2012_I1117704::analyze(), D0_2008_S7719523::analyze(), CMS_2014_I1303894::analyze(), ATLAS_2011_S9019561::analyze(), ATLAS_2012_I1204447::analyze(), ATLAS_2012_CONF_2012_153::analyze(), ATLAS_2012_I1083318::analyze(), ATLAS_2013_I1230812::analyze(), ATLAS_2014_I1304688::analyze(), ATLAS_2011_S9212353::analyze(), ATLAS_2011_S9041966::analyze(), MC_SUSY::analyze(), ATLAS_2012_I943401::analyze(), ATLAS_2014_I1306615::analyze(), ATLAS_2011_S9225137::analyze(), ATLAS_2012_I1093738::analyze(), MC_VH2BB::analyze(), ATLAS_2012_I1094568::analyze(), CDF_2004_S5839831::analyze(), ATLAS_2012_I1203852::analyze(), JetShape::calc(), Zstate::cmppT(), ATLAS_2014_I1288706::FillPlots(), ATLAS_2014_I1300647::FillPlots1d(), ATLAS_2011_I928289_W::FillPlots1d(), ATLAS_2014_I1300647::FillPlots3d(), WFinder::mT(), ATLAS_2014_I1306615::tau_jet(), and Variables::Variables().
double pt |
( |
| ) |
const [inline] |
double pT2 |
( |
| ) |
const [inline] |
double pt2 |
( |
| ) |
const [inline] |
double px |
( |
| ) |
const [inline] |
Get 3-momentum part, (alias).
Get x-component of momentum .
Definition at line 313 of file Vector4.hh.
References FourVector::x().
Referenced by OPAL_1993_S2692198::analyze(), CMS_2013_I1273574::analyze(), LHCB_2010_S8758301::analyze(), LHCB_2011_I917009::analyze(), ATLAS_2012_CONF_2012_104::analyze(), ATLAS_2012_I1126136::analyze(), CDF_2008_S7541902::analyze(), ATLAS_2012_I1095236::analyze(), ATLAS_2012_I1180197::analyze(), ATLAS_2012_I1203852::analyze(), FourMomentum::boostVector(), FastJets::calc(), DISKinematics::project(), ATLAS_2014_I1306615::pTt(), and Jet::setState().
double py |
( |
| ) |
const [inline] |
Get y-component of momentum .
Definition at line 316 of file Vector4.hh.
References FourVector::y().
Referenced by OPAL_1993_S2692198::analyze(), CMS_2013_I1273574::analyze(), LHCB_2010_S8758301::analyze(), LHCB_2011_I917009::analyze(), ATLAS_2012_CONF_2012_104::analyze(), ATLAS_2012_I1126136::analyze(), CDF_2008_S7541902::analyze(), ATLAS_2012_I1095236::analyze(), ATLAS_2012_I1180197::analyze(), ATLAS_2012_I1203852::analyze(), FourMomentum::boostVector(), FastJets::calc(), ATLAS_2014_I1306615::pTt(), and Jet::setState().
double pz |
( |
| ) |
const [inline] |
double rap |
( |
| ) |
const [inline] |
Calculate the rapidity.
Definition at line 352 of file Vector4.hh.
References FourMomentum::E(), and FourMomentum::pz().
Referenced by CDF_1996_S3349578::_fiveJetAnalysis(), CDF_1996_S3349578::_fourJetAnalysis(), CDF_1996_S3349578::_threeJetAnalysis(), FourMomentum::absrapidity(), LHCB_2012_I1208102::analyze(), CMS_2011_S8968497::analyze(), ATLAS_2011_I930220::analyze(), D0_2010_S8821313::analyze(), MC_PHOTONINC::analyze(), CDF_1997_S3541940::analyze(), D0_2009_S8320160::analyze(), CMS_2012_I941555::analyze(), D0_2009_S8349509::analyze(), CDF_2008_S7541902::analyze(), ATLAS_2014_I1307243::analyze(), D0_2008_S7719523::analyze(), ATLAS_2012_I1083318::analyze(), ATLAS_2014_I1306615::analyze(), ATLAS_2012_I1093738::analyze(), JetShape::calc(), Rivet::cmpMomByAbsRap(), Rivet::cmpMomByDescAbsRap(), Rivet::cmpMomByDescRap(), Rivet::cmpMomByRap(), Rivet::deltaR(), Rivet::deltaRap(), ATLAS_2011_I928289_Z::FillPlots1d(), ATLAS_2014_I1300647::FillPlots3d(), ParticleBase::rap(), FourMomentum::rap(), ParticleBase::rapidity(), ATLAS_2014_I1306615::tau_jet(), and Variables::Variables().
{
return 0.5 * std::log( (E() + pz()) / (E() - pz()) );
}
double rho |
( |
| ) |
const [inline, inherited] |
double rho2 |
( |
| ) |
const [inline, inherited] |
Vector<N>& set |
( |
const size_t |
index, |
|
|
const double |
value |
|
) |
| [inline, inherited] |
Set indexed value.
Definition at line 52 of file VectorN.hh.
References Vector< N >::_vec.
{
if (index >= N) {
throw std::runtime_error("Tried to access an invalid vector index.");
} else {
_vec[index] = value;
}
return *this;
}
size_t size |
( |
| ) |
const [inline, inherited] |
Vector dimensionality.
Definition at line 62 of file VectorN.hh.
double t |
( |
| ) |
const [inline, inherited] |
double theta |
( |
| ) |
const [inline, inherited] |
Get the spatial part of the 4-vector as a 3-vector.
Definition at line 145 of file Vector4.hh.
Referenced by BABAR_2003_I593379::analyze(), BELLE_2001_S4598261::analyze(), ARGUS_1993_S2653028::analyze(), FourVector::angle(), Rivet::angle(), FourVector::azimuthalAngle(), FParameter::calc(), Hemispheres::calc(), Spherocity::calc(), Thrust::calc(), Sphericity::calc(), Rivet::cmpMomByAscP(), Rivet::cmpMomByP(), Rivet::deltaEta(), Rivet::deltaPhi(), Rivet::deltaR(), FourVector::eta(), ParticleBase::p3(), FourMomentum::p3(), FourVector::perp(), FourVector::perp2(), FourVector::phi(), FourVector::polarAngle(), FourVector::polarRadius(), FourVector::polarRadius2(), DISKinematics::project(), FoxWolframMoments::project(), MissingMomentum::project(), FourVector::pseudorapidity(), FourMomentum::pT2(), FourMomentum::pt2(), FourVector::rho(), FourVector::rho2(), and FourVector::theta().
{
return Vector3(get(1), get(2), get(3));
}
double x |
( |
| ) |
const [inline, inherited] |
double y |
( |
| ) |
const [inline, inherited] |
double z |
( |
| ) |
const [inline, inherited] |
Friends And Related Function Documentation
Member Data Documentation
Eigen::Vector<double,N> _vec [protected, inherited] |
The documentation for this class was generated from the following file:
|