|
ROOTPWA
|
#include <leptoProductionVertex.h>
Public Member Functions | |
| leptoProductionVertex (const particlePtr &beamLepton, const particlePtr &target, const particlePtr &XParticle, const particlePtr &recoil=particlePtr()) | |
| force vertex to have two incoming (beam lepton + target) and three outgoing particles (X + recoil + scattered lepton); recoil is optional | |
| leptoProductionVertex (const leptoProductionVertex &vert) | |
| virtual | ~leptoProductionVertex () |
| leptoProductionVertex & | operator= (const leptoProductionVertex &vert) |
| leptoProductionVertexPtr | clone (const bool cloneInParticles=false, const bool cloneOutParticles=false) const |
| < creates deep copy of leptoproduction vertex; must not be virtual | |
| virtual bool | addInParticle (const particlePtr &) |
| disabled; all incoming particles have to be specified at construction | |
| virtual bool | addOutParticle (const particlePtr &) |
| disabled; all outgoing particles have to be specified at construction | |
| virtual const TLorentzVector & | referenceLzVec () const |
| returns Lorentz-vector that defines z-axis for angular distributions | |
| virtual const particlePtr & | XParticle () const |
| returns X particle | |
| virtual std::complex< double > | productionAmp () const |
| returns production amplitude | |
| virtual void | setXFlavorQN () |
| sets flavor quantum numbers of X (baryon nmb., S, C, B) to that of incoming beam particle (assumes Pomeron exchange) | |
| const particlePtr & | beamLepton () const |
| returns incoming beam particle | |
| const particlePtr & | target () const |
| returns target particle | |
| const particlePtr & | virtPhoton () const |
| returns virtual photon | |
| const particlePtr & | scatteredLepton () const |
| returns outgoing beam particle | |
| const particlePtr & | recoil () const |
| returns recoil particle | |
| double | beamPol () const |
| returns (longitudinal) beam polarization | |
| void | setBeamPol (const double longPol=0) |
| sets (longitudinal) beam polarization | |
| double | Q2 () const |
| returns Q^2 of virtual photon | |
| double | nu () const |
| returns energy of virtual photon | |
| double | y () const |
| returns relative energy loss of virtual photon | |
| double | epsilon () const |
| returns photon's polarization parameter | |
| double | delta () const |
| returns photon's mass correction parameter | |
| double | xBj () const |
| returns Bjorken x | |
| double | s () const |
| returns total energy squared in (virtual photon, target) CM system | |
| double | W () const |
| returns total energy in (virtual photon, target) CM system | |
| double | delta (const double epsilon) const |
| returns photon's mass correction parameter for known epsilon | |
| virtual bool | initKinematicsData (const TClonesArray &prodKinPartNames) |
| initializes input data | |
| virtual bool | readKinematicsData (const TClonesArray &prodKinMomenta) |
| reads input data | |
| virtual bool | revertMomenta () |
| resets momenta to the values of last event read | |
| virtual std::ostream & | print (std::ostream &out) const |
| prints vertex parameters in human-readable form | |
| virtual std::ostream & | dump (std::ostream &out) const |
| prints all vertex data in human-readable form | |
| virtual std::ostream & | printPointers (std::ostream &out) const |
| prints particle pointers strored in vertex | |
| virtual std::string | name () const |
| returns label used in graph visualization, reporting, and key file | |
| virtual void | clear () |
| bool | operator== (const interactionVertex &rhsVert) |
| bool | operator!= (const interactionVertex &rhsVert) |
| void | transformOutParticles (const TLorentzRotation &L) |
| applies Lorentz-transformation to outgoing particles | |
| unsigned int | nmbInParticles () const |
| returns number of incoming particles | |
| unsigned int | nmbOutParticles () const |
| returns number of outgoing particles | |
| std::vector< particlePtr > & | inParticles () |
| returns array of incoming particles | |
| const std::vector< particlePtr > & | inParticles () const |
| returns array of incoming particles | |
| std::vector< particlePtr > & | outParticles () |
| returns array of outgoing particles | |
| const std::vector< particlePtr > & | outParticles () const |
| returns array of outgoing particles | |
Static Public Member Functions | |
| static bool | debug () |
| returns debug flag | |
| static void | setDebug (const bool debug=true) |
| sets debug flag | |
Protected Member Functions | |
| virtual leptoProductionVertex * | doClone (const bool cloneInParticles, const bool cloneOutParticles) const |
| helper function to use covariant return types with smart pointers; needed for public clone() | |
| virtual bool | isEqualTo (const interactionVertex &vert) const |
| returns whether vert is equal to this by checking equality of all member variables | |
| void | cloneInParticles () |
| clones all incoming particles | |
| void | cloneOutParticles () |
| clones all outgoing particles | |
Protected Attributes | |
| std::vector< particlePtr > | _inParticles |
| array of pointers to incoming particles | |
| std::vector< particlePtr > | _outParticles |
| array of pointers to outgoing particles | |
Private Attributes | |
| double | _longPol |
| longitudinal beam polarization | |
| int | _nmbProdKinPart |
| number of production kinematics particles in input data arrays | |
| TVector3 | _beamLeptonMomCache |
| caches beam momentum of last event read from input data; allows to "reset" kinematics for multiple passes over the same data | |
| TVector3 | _scatteredLeptonMomCache |
| caches beam momentum of last event read from input data; allows to "reset" kinematics for multiple passes over the same data | |
| TVector3 | _recoilMomCache |
| caches recoil momentum of last event read from input data; allows to "reset" kinematics for multiple passes over the same data | |
| TVector3 | _targetMomCache |
| caches target momentum of last event read from input data; allows to "reset" kinematics for multiple passes over the same data | |
Static Private Attributes | |
| static bool | _debug = false |
| if set to true, debug messages are printed | |
Definition at line 62 of file leptoProductionVertex.h.
| leptoProductionVertex::leptoProductionVertex | ( | const particlePtr & | beamLepton, |
| const particlePtr & | target, | ||
| const particlePtr & | XParticle, | ||
| const particlePtr & | recoil = particlePtr() |
||
| ) |
force vertex to have two incoming (beam lepton + target) and three outgoing particles (X + recoil + scattered lepton); recoil is optional
Definition at line 67 of file leptoProductionVertex.cc.
References _debug, addInParticle(), addOutParticle(), and rpwa::createParticle().
Referenced by doClone().
| leptoProductionVertex::leptoProductionVertex | ( | const leptoProductionVertex & | vert | ) |
Definition at line 105 of file leptoProductionVertex.cc.
|
virtual |
Definition at line 111 of file leptoProductionVertex.cc.
|
virtual |
disabled; all incoming particles have to be specified at construction
Reimplemented from rpwa::interactionVertex.
Definition at line 147 of file leptoProductionVertex.cc.
References _debug.
Referenced by leptoProductionVertex().
|
virtual |
disabled; all outgoing particles have to be specified at construction
Reimplemented from rpwa::interactionVertex.
Definition at line 156 of file leptoProductionVertex.cc.
References _debug.
Referenced by leptoProductionVertex().
|
inline |
returns incoming beam particle
Definition at line 90 of file leptoProductionVertex.h.
References rpwa::interactionVertex::inParticles().
Referenced by delta(), dump(), epsilon(), initKinematicsData(), print(), printPointers(), productionAmp(), readKinematicsData(), revertMomenta(), and y().
|
inline |
returns (longitudinal) beam polarization
Definition at line 96 of file leptoProductionVertex.h.
References _longPol.
|
virtualinherited |
Definition at line 96 of file interactionVertex.cc.
References rpwa::interactionVertex::_inParticles, and rpwa::interactionVertex::_outParticles.
|
inline |
< creates deep copy of leptoproduction vertex; must not be virtual
Reimplemented from rpwa::interactionVertex.
Definition at line 74 of file leptoProductionVertex.h.
References rpwa::interactionVertex::cloneInParticles(), rpwa::interactionVertex::cloneOutParticles(), and doClone().
|
protectedinherited |
clones all incoming particles
Definition at line 207 of file interactionVertex.cc.
References rpwa::interactionVertex::clone(), i, rpwa::interactionVertex::inParticles(), and rpwa::interactionVertex::nmbInParticles().
Referenced by rpwa::fsVertex::clone(), rpwa::isobarDecayVertex::clone(), rpwa::interactionVertex::clone(), clone(), rpwa::diffractiveDissVertex::clone(), rpwa::fsVertex::doClone(), rpwa::interactionVertex::doClone(), rpwa::diffractiveDissVertex::doClone(), rpwa::isobarDecayVertex::doClone(), and doClone().
|
protectedinherited |
clones all outgoing particles
Definition at line 217 of file interactionVertex.cc.
References rpwa::interactionVertex::clone(), i, rpwa::interactionVertex::nmbOutParticles(), and rpwa::interactionVertex::outParticles().
Referenced by rpwa::isobarDecayVertex::clone(), rpwa::interactionVertex::clone(), clone(), rpwa::diffractiveDissVertex::clone(), rpwa::interactionVertex::doClone(), rpwa::diffractiveDissVertex::doClone(), rpwa::isobarDecayVertex::doClone(), and doClone().
|
inlinestatic |
returns debug flag
Reimplemented from rpwa::productionVertex.
Definition at line 121 of file leptoProductionVertex.h.
References _debug.
Referenced by setDebug().
|
inline |
returns photon's mass correction parameter
Definition at line 104 of file leptoProductionVertex.h.
References beamLepton(), epsilon(), and Q2().
Referenced by productionAmp().
|
inline |
returns photon's mass correction parameter for known epsilon
Definition at line 108 of file leptoProductionVertex.h.
References beamLepton(), epsilon(), and Q2().
|
protectedvirtual |
helper function to use covariant return types with smart pointers; needed for public clone()
Reimplemented from rpwa::interactionVertex.
Definition at line 130 of file leptoProductionVertex.cc.
References _debug, rpwa::interactionVertex::cloneInParticles(), rpwa::interactionVertex::cloneOutParticles(), and leptoProductionVertex().
Referenced by clone().
|
virtual |
prints all vertex data in human-readable form
Reimplemented from rpwa::interactionVertex.
Definition at line 532 of file leptoProductionVertex.cc.
References beamLepton(), name(), recoil(), scatteredLepton(), target(), virtPhoton(), and XParticle().
| double leptoProductionVertex::epsilon | ( | ) | const |
returns photon's polarization parameter
Definition at line 297 of file leptoProductionVertex.cc.
References beamLepton(), gamma2(), Q2(), target(), xBj(), and y().
Referenced by delta(), and productionAmp().
|
virtual |
initializes input data
Implements rpwa::productionVertex.
Definition at line 349 of file leptoProductionVertex.cc.
References _nmbProdKinPart, beamLepton(), name(), recoil(), scatteredLepton(), and target().
|
inlineinherited |
returns array of incoming particles
Definition at line 87 of file interactionVertex.h.
References rpwa::interactionVertex::_inParticles.
Referenced by rpwa::diffractiveDissVertex::beam(), beamLepton(), rpwa::interactionVertex::cloneInParticles(), rpwa::decayTopology::constructDecay(), rpwa::fsVertex::fsParticle(), rpwa::interactionVertex::isEqualTo(), rpwa::isobarDecayVertex::parent(), target(), rpwa::diffractiveDissVertex::target(), and virtPhoton().
|
inlineinherited |
returns array of incoming particles
Definition at line 89 of file interactionVertex.h.
References rpwa::interactionVertex::_inParticles.
|
protectedvirtualinherited |
returns whether vert is equal to this by checking equality of all member variables
Reimplemented in rpwa::isobarDecayVertex.
Definition at line 104 of file interactionVertex.cc.
References i, rpwa::interactionVertex::inParticles(), rpwa::interactionVertex::nmbInParticles(), rpwa::interactionVertex::nmbOutParticles(), and rpwa::interactionVertex::outParticles().
Referenced by rpwa::isobarDecayVertex::isEqualTo(), and rpwa::interactionVertex::operator==().
|
inlinevirtual |
returns label used in graph visualization, reporting, and key file
Reimplemented from rpwa::productionVertex.
Definition at line 119 of file leptoProductionVertex.h.
Referenced by dump(), initKinematicsData(), print(), and printPointers().
|
inlineinherited |
returns number of incoming particles
Definition at line 84 of file interactionVertex.h.
References rpwa::interactionVertex::_inParticles.
Referenced by rpwa::interactionVertex::cloneInParticles(), and rpwa::interactionVertex::isEqualTo().
|
inlineinherited |
returns number of outgoing particles
Definition at line 85 of file interactionVertex.h.
References rpwa::interactionVertex::_outParticles.
Referenced by rpwa::interactionVertex::cloneOutParticles(), rpwa::interactionVertex::isEqualTo(), rpwa::waveDescription::setXDecayKeys(), and rpwa::interactionVertex::transformOutParticles().
|
inline |
returns energy of virtual photon
Definition at line 101 of file leptoProductionVertex.h.
References target(), and virtPhoton().
|
inlineinherited |
Definition at line 77 of file interactionVertex.h.
| leptoProductionVertex & leptoProductionVertex::operator= | ( | const leptoProductionVertex & | vert | ) |
Definition at line 116 of file leptoProductionVertex.cc.
References _beamLeptonMomCache, _recoilMomCache, _scatteredLeptonMomCache, and _targetMomCache.
|
inlineinherited |
Definition at line 76 of file interactionVertex.h.
References rpwa::interactionVertex::isEqualTo().
|
inlineinherited |
returns array of outgoing particles
Definition at line 88 of file interactionVertex.h.
References rpwa::interactionVertex::_outParticles.
Referenced by rpwa::interactionVertex::cloneOutParticles(), rpwa::isobarDecayVertex::daughter1(), rpwa::isobarDecayVertex::daughter2(), rpwa::interactionVertex::isEqualTo(), rpwa::diffractiveDissVertex::recoil(), recoil(), scatteredLepton(), rpwa::waveDescription::setXDecayKeys(), XParticle(), and rpwa::diffractiveDissVertex::XParticle().
|
inlineinherited |
returns array of outgoing particles
Definition at line 90 of file interactionVertex.h.
References rpwa::interactionVertex::_outParticles.
|
virtual |
prints vertex parameters in human-readable form
Reimplemented from rpwa::interactionVertex.
Definition at line 520 of file leptoProductionVertex.cc.
References _longPol, beamLepton(), name(), recoil(), scatteredLepton(), target(), virtPhoton(), and XParticle().
Referenced by rpwa::operator<<().
|
virtual |
prints particle pointers strored in vertex
Reimplemented from rpwa::interactionVertex.
Definition at line 546 of file leptoProductionVertex.cc.
References beamLepton(), name(), recoil(), scatteredLepton(), target(), virtPhoton(), and XParticle().
|
virtual |
returns production amplitude
Reimplemented from rpwa::productionVertex.
Definition at line 165 of file leptoProductionVertex.cc.
References _longPol, beamLepton(), conj(), delta(), epsilon(), i, q(), rho(), scatteredLepton(), target(), virtPhoton(), and XParticle().
|
inline |
returns Q^2 of virtual photon
Definition at line 100 of file leptoProductionVertex.h.
References virtPhoton().
|
virtual |
reads input data
Implements rpwa::productionVertex.
Definition at line 415 of file leptoProductionVertex.cc.
References _beamLeptonMomCache, _debug, _nmbProdKinPart, _recoilMomCache, _scatteredLeptonMomCache, _targetMomCache, beamLepton(), recoil(), scatteredLepton(), target(), and virtPhoton().
|
inline |
returns recoil particle
Definition at line 94 of file leptoProductionVertex.h.
References rpwa::interactionVertex::outParticles().
Referenced by dump(), initKinematicsData(), print(), printPointers(), readKinematicsData(), and revertMomenta().
|
inlinevirtual |
returns Lorentz-vector that defines z-axis for angular distributions
Implements rpwa::productionVertex.
Definition at line 82 of file leptoProductionVertex.h.
References virtPhoton().
|
virtual |
resets momenta to the values of last event read
Implements rpwa::productionVertex.
Definition at line 500 of file leptoProductionVertex.cc.
References _beamLeptonMomCache, _debug, _recoilMomCache, _scatteredLeptonMomCache, _targetMomCache, beamLepton(), recoil(), scatteredLepton(), target(), and virtPhoton().
|
inline |
returns total energy squared in (virtual photon, target) CM system
Definition at line 106 of file leptoProductionVertex.h.
References target(), and virtPhoton().
Referenced by W().
|
inline |
returns outgoing beam particle
Definition at line 93 of file leptoProductionVertex.h.
References rpwa::interactionVertex::outParticles().
Referenced by dump(), initKinematicsData(), print(), printPointers(), productionAmp(), readKinematicsData(), and revertMomenta().
|
inline |
sets (longitudinal) beam polarization
Definition at line 97 of file leptoProductionVertex.h.
References _longPol.
|
inlinestatic |
sets debug flag
Reimplemented from rpwa::productionVertex.
Definition at line 122 of file leptoProductionVertex.h.
|
virtual |
sets flavor quantum numbers of X (baryon nmb., S, C, B) to that of incoming beam particle (assumes Pomeron exchange)
!! check this
Implements rpwa::productionVertex.
Definition at line 336 of file leptoProductionVertex.cc.
References rpwa::particleProperties::baryonNmb(), rpwa::particleProperties::beauty(), rpwa::particleProperties::charm(), rpwa::particleProperties::setBaryonNmb(), rpwa::particleProperties::setBeauty(), rpwa::particleProperties::setCharm(), rpwa::particleProperties::setStrangeness(), rpwa::particleProperties::strangeness(), virtPhoton(), and XParticle().
|
inline |
returns target particle
Definition at line 91 of file leptoProductionVertex.h.
References rpwa::interactionVertex::inParticles().
Referenced by dump(), epsilon(), initKinematicsData(), nu(), print(), printPointers(), productionAmp(), readKinematicsData(), revertMomenta(), s(), xBj(), and y().
|
inherited |
applies Lorentz-transformation to outgoing particles
Definition at line 148 of file interactionVertex.cc.
References rpwa::interactionVertex::_outParticles, i, and rpwa::interactionVertex::nmbOutParticles().
|
inline |
returns virtual photon
Definition at line 92 of file leptoProductionVertex.h.
References rpwa::interactionVertex::inParticles().
Referenced by dump(), nu(), print(), printPointers(), productionAmp(), Q2(), readKinematicsData(), referenceLzVec(), revertMomenta(), s(), setXFlavorQN(), xBj(), and y().
|
inline |
returns total energy in (virtual photon, target) CM system
Definition at line 107 of file leptoProductionVertex.h.
References s().
|
inline |
returns Bjorken x
Definition at line 105 of file leptoProductionVertex.h.
References Q2(), target(), and virtPhoton().
Referenced by epsilon().
|
inlinevirtual |
returns X particle
Implements rpwa::productionVertex.
Definition at line 83 of file leptoProductionVertex.h.
References rpwa::interactionVertex::outParticles().
Referenced by dump(), print(), printPointers(), productionAmp(), and setXFlavorQN().
|
inline |
returns relative energy loss of virtual photon
Definition at line 148 of file leptoProductionVertex.h.
References beamLepton(), target(), and virtPhoton().
Referenced by epsilon().
|
private |
caches beam momentum of last event read from input data; allows to "reset" kinematics for multiple passes over the same data
Definition at line 136 of file leptoProductionVertex.h.
Referenced by operator=(), readKinematicsData(), and revertMomenta().
|
staticprivate |
if set to true, debug messages are printed
Definition at line 141 of file leptoProductionVertex.h.
Referenced by addInParticle(), addOutParticle(), debug(), doClone(), leptoProductionVertex(), readKinematicsData(), revertMomenta(), and setDebug().
|
protectedinherited |
array of pointers to incoming particles
Definition at line 112 of file interactionVertex.h.
Referenced by rpwa::interactionVertex::addInParticle(), rpwa::interactionVertex::clear(), rpwa::interactionVertex::dump(), rpwa::interactionVertex::inParticles(), rpwa::interactionVertex::nmbInParticles(), rpwa::interactionVertex::operator=(), rpwa::interactionVertex::print(), and rpwa::interactionVertex::printPointers().
|
private |
longitudinal beam polarization
Definition at line 133 of file leptoProductionVertex.h.
Referenced by beamPol(), print(), productionAmp(), and setBeamPol().
|
private |
number of production kinematics particles in input data arrays
Definition at line 135 of file leptoProductionVertex.h.
Referenced by initKinematicsData(), and readKinematicsData().
|
protectedinherited |
array of pointers to outgoing particles
Definition at line 113 of file interactionVertex.h.
Referenced by rpwa::interactionVertex::addOutParticle(), rpwa::interactionVertex::clear(), rpwa::interactionVertex::dump(), rpwa::interactionVertex::nmbOutParticles(), rpwa::interactionVertex::operator=(), rpwa::interactionVertex::outParticles(), rpwa::interactionVertex::print(), rpwa::interactionVertex::printPointers(), and rpwa::interactionVertex::transformOutParticles().
|
private |
caches recoil momentum of last event read from input data; allows to "reset" kinematics for multiple passes over the same data
Definition at line 138 of file leptoProductionVertex.h.
Referenced by operator=(), readKinematicsData(), and revertMomenta().
|
private |
caches beam momentum of last event read from input data; allows to "reset" kinematics for multiple passes over the same data
Definition at line 137 of file leptoProductionVertex.h.
Referenced by operator=(), readKinematicsData(), and revertMomenta().
|
private |
caches target momentum of last event read from input data; allows to "reset" kinematics for multiple passes over the same data
Definition at line 139 of file leptoProductionVertex.h.
Referenced by operator=(), readKinematicsData(), and revertMomenta().
1.8.1.2