#include <QvecBase.h>
Inheritance diagram for QvecBase:
Public Methods | |
QvecBase () | |
constructor. More... | |
QvecBase (const QvecBase &origin) | |
copy constructor. More... | |
~QvecBase () | |
destructor. More... | |
bool | operator< (const QvecBase &other) const |
Compare two objects... More... | |
virtual void | setA4V (float x, float y, float z, float e) |
set the Lorentz Vector. More... | |
virtual void | setA4V (HepLorentzVector vec) |
set the Lorentz Vector. More... | |
virtual HepLorentzVector | A4V () const |
return the Lorentzvector. More... | |
virtual void | setQCH (float qch) |
set the charge. More... | |
virtual ALEPHTYPE | TYPE () const |
get the type. More... | |
virtual QvrtBase* | getOriginVertex () const |
get the origin vertex. More... | |
virtual QvrtBase* | getEndVertex () const |
get the end vertex. More... | |
virtual void | setOriginVertex (QvrtBase *vrt) |
set the origin vertex. More... | |
virtual void | setEndVertex (QvrtBase *vrt) |
set the end vertex. More... | |
virtual float | sign (float k) const |
sign. More... | |
virtual float | QP () const |
|momentum|. More... | |
virtual float | QX () const |
px. More... | |
virtual float | QY () const |
py. More... | |
virtual float | QZ () const |
pz. More... | |
virtual float | QE () const |
Energy. More... | |
virtual float | QM () const |
mass. More... | |
virtual float | QCH () const |
charge. More... | |
virtual float | QCT () const |
. More... | |
virtual float | QPH () const |
. More... | |
virtual float | QPT () const |
Pt. More... | |
virtual float | QBETA () const |
. More... | |
virtual float | QGAMMA () const |
. More... | |
virtual float | QMSQ2 (const QvecBase j) const |
virtual float | QM2 (const QvecBase j) const |
virtual float | QDMSQ (const QvecBase j) const |
virtual float | QPPAR (const QvecBase j) const |
virtual float | QPPER (const QvecBase j) const |
virtual float | QDOT3 (const QvecBase j) const |
3 dim cross product. More... | |
virtual float | QDOT4 (const QvecBase j) const |
4 dim cross product. More... | |
virtual float | QCOSA (const QvecBase j) const |
virtual float | QDECA2 (const QvecBase j) const |
virtual float | QDECAN (const QvecBase j) const |
virtual QvecBase | operator+ (const QvecBase j) const |
add two objects. More... | |
virtual HepDouble | DECAY_ANG (const QvecBase j) const |
get decay angle. More... | |
virtual void | Lock (bool recurse=false) |
lock the track. More... | |
virtual void | unLock (bool recurse=false) |
unlock the track. More... | |
virtual int | isLocked () const |
=0 if not locked, else locked. More... | |
Static Public Attributes | |
int | SortCriterium = 3 |
sort criterium [0,1,2,3] = [px,py,pz,e] default is 3 = e. More... | |
Protected Attributes | |
HepLorentzVector | _A4V |
this is a data member containing the instance of the four vector. More... | |
QvrtBase* | oVertex |
the origin vertex. More... | |
QvrtBase* | eVertex |
the end vertex. More... | |
int | _locked |
lock status, returned by isLocked(). More... | |
float | _qch |
charge, returned by QCH(). More... | |
Static Private Attributes | |
int | NERR = 0 |
Definition at line 25 of file QvecBase.h.
|
constructor.
Definition at line 23 of file QvecBase.cpp. |
|
copy constructor.
Definition at line 33 of file QvecBase.cpp. |
|
destructor.
Definition at line 37 of file QvecBase.h. |
|
return the Lorentzvector.
Reimplemented from AlObject. Definition at line 56 of file QvecBase.cpp. Referenced by DECAY_ANG(), DurhamProtoJet::DurhamProtoJet(), JadeProtoJet::JadeProtoJet(), QBETA(), QCOSA(), QDECAN(), QDMSQ(), QDOT3(), QDOT4(), QE(), QM(), QM2(), QMSQ2(), QP(), QPPAR(), QPPER(), QX(), QY(), QZ(), AlThrust::getThrustDirection(), AlThrust::getThrustValue(), AlMuon::setTrack(), and AlElec::setTrack().
|
|
get decay angle.
Definition at line 142 of file QvecBase.cpp. |
|
lock the track.
Reimplemented from AlObject. Reimplemented in AlEflw, AlElec, AlJet, and AlMuon. Definition at line 178 of file QvecBase.cpp. Referenced by AlMuon::Lock(), AlElec::Lock(), and AlEflw::Lock().
|
|
.
Definition at line 89 of file QvecBase.cpp. |
|
charge.
Reimplemented from AlObject. Definition at line 79 of file QvecBase.cpp. Referenced by Helix::Helix(), AlMuon::setTrack(), AlElec::setTrack(), and Helix::setTrackParameters().
|
|
Definition at line 116 of file QvecBase.cpp. |
|
.
Definition at line 86 of file QvecBase.cpp. Referenced by AlephExManager::UserEvent().
|
|
Definition at line 121 of file QvecBase.cpp. |
|
Definition at line 158 of file QvecBase.cpp. |
|
Definition at line 105 of file QvecBase.cpp. |
|
3 dim cross product.
Definition at line 113 of file QvecBase.cpp. Referenced by QPPAR().
|
|
4 dim cross product.
Definition at line 114 of file QvecBase.cpp. |
|
Energy.
Reimplemented from AlObject. Definition at line 84 of file QvecBase.cpp. Referenced by AlephCollection::FilterTau(), AlUserTrack::SIGMM(), AlTrack::SIGMM(), and AlephExManager::UserEvent().
|
|
.
Definition at line 90 of file QvecBase.cpp. |
|
mass.
Reimplemented from AlObject. Definition at line 85 of file QvecBase.cpp. Referenced by Helix::Helix(), GeneralEventInfo::Run(), AlUserTrack::SIGMM(), AlTrack::SIGMM(), AlephExManager::UserEvent(), and Helix::setTrackParameters().
|
|
Definition at line 99 of file QvecBase.cpp. |
|
Definition at line 93 of file QvecBase.cpp. |
|
|momentum|.
Reimplemented from AlObject. Definition at line 83 of file QvecBase.cpp. Referenced by GeneralEventInfo::Run(), AlUserTrack::SIGPP(), AlTrack::SIGPP(), and AlephExManager::UserEvent().
|
|
.
Definition at line 87 of file QvecBase.cpp. Referenced by AlephExManager::UserEvent().
|
|
Definition at line 111 of file QvecBase.cpp. |
|
Definition at line 112 of file QvecBase.cpp. |
|
Pt.
Definition at line 88 of file QvecBase.cpp. Referenced by AlephExManager::UserEvent(), and operator<().
|
|
px.
Reimplemented from AlObject. Definition at line 80 of file QvecBase.cpp. Referenced by Helix::Helix(), AlUserTrack::SIGMM(), AlTrack::SIGMM(), AlUserTrack::SIGPP(), AlTrack::SIGPP(), and Helix::setTrackParameters().
|
|
py.
Reimplemented from AlObject. Definition at line 81 of file QvecBase.cpp. Referenced by Helix::Helix(), AlUserTrack::SIGMM(), AlTrack::SIGMM(), AlUserTrack::SIGPP(), AlTrack::SIGPP(), and Helix::setTrackParameters().
|
|
pz.
Reimplemented from AlObject. Definition at line 82 of file QvecBase.cpp. Referenced by Helix::Helix(), AlUserTrack::SIGMM(), AlTrack::SIGMM(), AlUserTrack::SIGPP(), AlTrack::SIGPP(), and Helix::setTrackParameters().
|
|
get the type.
Reimplemented from AlObject. Reimplemented in AlEflw, AlElec, AlGamp, AlJet, AlMCtruth, AlMuon, AlTau, AlThrust, AlTrack, and AlUserTrack. Definition at line 54 of file QvecBase.h. Referenced by Helix::Helix(), and Helix::setTrackParameters().
|
|
get the end vertex.
Definition at line 58 of file QvecBase.h. |
|
get the origin vertex.
Definition at line 56 of file QvecBase.h. |
|
=0 if not locked, else locked.
Reimplemented from AlObject. Definition at line 180 of file QvecBase.cpp. |
|
add two objects.
Definition at line 69 of file QvecBase.cpp. |
|
Compare two objects...
Definition at line 45 of file QvecBase.cpp. |
|
set the Lorentz Vector.
Reimplemented from AlObject. Definition at line 45 of file QvecBase.h. |
|
set the Lorentz Vector.
Reimplemented from AlObject. Definition at line 59 of file QvecBase.cpp. Referenced by AlephCollection::AThrust(), AlJet::AlJet(), AlephCollection::FilterTau(), AlephCollection::GetMiss(), AlephCollection::GetSum(), QvecBase(), QvecLink::SetPointer(), AlToolBox::TagBjets(), AlGamp::UseCorrectedA4V(), AlGamp::UseRawA4V(), AlGamp::UseStandardA4V(), AlVertexFitter::doFit(), and operator+().
|
|
set the end vertex.
Definition at line 62 of file QvecBase.h. Referenced by AlVertexFitter::doFit().
|
|
set the origin vertex.
Definition at line 60 of file QvecBase.h. |
|
set the charge.
Definition at line 51 of file QvecBase.h. Referenced by AlJet::AlJet(), AlephCollection::GetMiss(), AlephCollection::GetSum(), and operator+().
|
|
sign.
Definition at line 53 of file QvecBase.cpp. |
|
unlock the track.
Reimplemented from AlObject. Reimplemented in AlEflw, AlElec, AlJet, and AlMuon. Definition at line 179 of file QvecBase.cpp. Referenced by AlMuon::unLock(), AlElec::unLock(), and AlEflw::unLock().
|
|
Definition at line 20 of file QvecBase.cpp. |
|
sort criterium [0,1,2,3] = [px,py,pz,e] default is 3 = e. this is used to define the sort criterium between 2 objects. Using this, AlephCollections can be sorted as a STL vector, just using sort. Be Carefull: sort will NOT work with collections of pointers. for that, you have to define some functor calling QvecBase::operator< Definition at line 184 of file QvecBase.cpp. |
|
this is a data member containing the instance of the four vector.
Definition at line 111 of file QvecBase.h. |
|
lock status, returned by isLocked().
Definition at line 114 of file QvecBase.h. |
|
charge, returned by QCH().
Definition at line 115 of file QvecBase.h. |
|
the end vertex.
Definition at line 113 of file QvecBase.h. |
|
the origin vertex.
Definition at line 112 of file QvecBase.h. |