|
ROOTPWA
|
#include <diffractiveDissVertex.h>
Public Member Functions | |
| diffractiveDissVertex (const particlePtr &beam, const particlePtr &target, const particlePtr &XParticle, const particlePtr &recoil=particlePtr()) | |
| force vertex to have two incoming (beam + target) and two outgoing particles (X + recoil); recoil is optional | |
| diffractiveDissVertex (const diffractiveDissVertex &vert) | |
| virtual | ~diffractiveDissVertex () |
| diffractiveDissVertex & | operator= (const diffractiveDissVertex &vert) |
| diffractiveDissVertexPtr | clone (const bool cloneInParticles=false, const bool cloneOutParticles=false) const |
| < creates deep copy of diffractive dissociation 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 & | beam () const |
| returns beam particle | |
| const particlePtr & | target () const |
| returns target particle | |
| const particlePtr & | recoil () const |
| returns recoil particle | |
| 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 diffractiveDissVertex * | 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 | |
| int | _nmbProdKinPart |
| number of production kinematics particles in input data arrays | |
| TVector3 | _beamMomCache |
| 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 63 of file diffractiveDissVertex.h.
| diffractiveDissVertex::diffractiveDissVertex | ( | const particlePtr & | beam, |
| const particlePtr & | target, | ||
| const particlePtr & | XParticle, | ||
| const particlePtr & | recoil = particlePtr() |
||
| ) |
force vertex to have two incoming (beam + target) and two outgoing particles (X + recoil); recoil is optional
Definition at line 61 of file diffractiveDissVertex.cc.
References _debug, addInParticle(), addOutParticle(), and rpwa::createParticle().
Referenced by doClone().
| diffractiveDissVertex::diffractiveDissVertex | ( | const diffractiveDissVertex & | vert | ) |
Definition at line 97 of file diffractiveDissVertex.cc.
|
virtual |
Definition at line 103 of file diffractiveDissVertex.cc.
|
virtual |
disabled; all incoming particles have to be specified at construction
Reimplemented from rpwa::interactionVertex.
Definition at line 138 of file diffractiveDissVertex.cc.
References _debug.
Referenced by diffractiveDissVertex().
|
virtual |
disabled; all outgoing particles have to be specified at construction
Reimplemented from rpwa::interactionVertex.
Definition at line 147 of file diffractiveDissVertex.cc.
References _debug.
Referenced by diffractiveDissVertex().
|
inline |
returns beam particle
Definition at line 91 of file diffractiveDissVertex.h.
References rpwa::interactionVertex::inParticles().
Referenced by dump(), initKinematicsData(), print(), printPointers(), readKinematicsData(), referenceLzVec(), revertMomenta(), and setXFlavorQN().
|
virtualinherited |
Definition at line 96 of file interactionVertex.cc.
References rpwa::interactionVertex::_inParticles, and rpwa::interactionVertex::_outParticles.
|
inline |
< creates deep copy of diffractive dissociation vertex; must not be virtual
Reimplemented from rpwa::interactionVertex.
Definition at line 75 of file diffractiveDissVertex.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(), rpwa::leptoProductionVertex::clone(), clone(), rpwa::fsVertex::doClone(), rpwa::interactionVertex::doClone(), doClone(), rpwa::isobarDecayVertex::doClone(), and rpwa::leptoProductionVertex::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(), rpwa::leptoProductionVertex::clone(), clone(), rpwa::interactionVertex::doClone(), doClone(), rpwa::isobarDecayVertex::doClone(), and rpwa::leptoProductionVertex::doClone().
|
inlinestatic |
returns debug flag
Reimplemented from rpwa::productionVertex.
Definition at line 106 of file diffractiveDissVertex.h.
References _debug.
Referenced by setDebug().
|
protectedvirtual |
helper function to use covariant return types with smart pointers; needed for public clone()
Reimplemented from rpwa::interactionVertex.
Definition at line 121 of file diffractiveDissVertex.cc.
References _debug, rpwa::interactionVertex::cloneInParticles(), rpwa::interactionVertex::cloneOutParticles(), and diffractiveDissVertex().
Referenced by clone().
|
virtual |
prints all vertex data in human-readable form
Reimplemented from rpwa::interactionVertex.
Definition at line 322 of file diffractiveDissVertex.cc.
References beam(), name(), recoil(), target(), and XParticle().
|
virtual |
initializes input data
Implements rpwa::productionVertex.
Definition at line 175 of file diffractiveDissVertex.cc.
References _nmbProdKinPart, beam(), name(), recoil(), and target().
|
inlineinherited |
returns array of incoming particles
Definition at line 87 of file interactionVertex.h.
References rpwa::interactionVertex::_inParticles.
Referenced by beam(), rpwa::leptoProductionVertex::beamLepton(), rpwa::interactionVertex::cloneInParticles(), rpwa::decayTopology::constructDecay(), rpwa::fsVertex::fsParticle(), rpwa::interactionVertex::isEqualTo(), rpwa::isobarDecayVertex::parent(), rpwa::leptoProductionVertex::target(), target(), and rpwa::leptoProductionVertex::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 104 of file diffractiveDissVertex.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().
|
inlineinherited |
Definition at line 77 of file interactionVertex.h.
| diffractiveDissVertex & diffractiveDissVertex::operator= | ( | const diffractiveDissVertex & | vert | ) |
Definition at line 108 of file diffractiveDissVertex.cc.
References _beamMomCache, _recoilMomCache, 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(), recoil(), rpwa::leptoProductionVertex::recoil(), rpwa::leptoProductionVertex::scatteredLepton(), rpwa::waveDescription::setXDecayKeys(), rpwa::leptoProductionVertex::XParticle(), and 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 313 of file diffractiveDissVertex.cc.
References beam(), name(), recoil(), target(), and XParticle().
Referenced by rpwa::operator<<().
|
virtual |
prints particle pointers strored in vertex
Reimplemented from rpwa::interactionVertex.
Definition at line 334 of file diffractiveDissVertex.cc.
References beam(), name(), recoil(), target(), and XParticle().
|
virtual |
returns production amplitude
Reimplemented from rpwa::productionVertex.
Definition at line 156 of file diffractiveDissVertex.cc.
|
virtual |
reads input data
Implements rpwa::productionVertex.
Definition at line 231 of file diffractiveDissVertex.cc.
References _beamMomCache, _debug, _nmbProdKinPart, _recoilMomCache, _targetMomCache, beam(), recoil(), and target().
|
inline |
returns recoil particle
Definition at line 93 of file diffractiveDissVertex.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 83 of file diffractiveDissVertex.h.
References beam().
|
virtual |
resets momenta to the values of last event read
Implements rpwa::productionVertex.
Definition at line 298 of file diffractiveDissVertex.cc.
References _beamMomCache, _debug, _recoilMomCache, _targetMomCache, beam(), recoil(), and target().
|
inlinestatic |
sets debug flag
Reimplemented from rpwa::productionVertex.
Definition at line 107 of file diffractiveDissVertex.h.
|
virtual |
sets flavor quantum numbers of X (baryon nmb., S, C, B) to that of incoming beam particle (assumes Pomeron exchange)
Implements rpwa::productionVertex.
Definition at line 163 of file diffractiveDissVertex.cc.
References rpwa::particleProperties::baryonNmb(), beam(), rpwa::particleProperties::beauty(), rpwa::particleProperties::charm(), rpwa::particleProperties::setBaryonNmb(), rpwa::particleProperties::setBeauty(), rpwa::particleProperties::setCharm(), rpwa::particleProperties::setStrangeness(), rpwa::particleProperties::strangeness(), and XParticle().
|
inline |
returns target particle
Definition at line 92 of file diffractiveDissVertex.h.
References rpwa::interactionVertex::inParticles().
Referenced by dump(), initKinematicsData(), print(), printPointers(), readKinematicsData(), and revertMomenta().
|
inherited |
applies Lorentz-transformation to outgoing particles
Definition at line 148 of file interactionVertex.cc.
References rpwa::interactionVertex::_outParticles, i, and rpwa::interactionVertex::nmbOutParticles().
|
inlinevirtual |
returns X particle
Implements rpwa::productionVertex.
Definition at line 84 of file diffractiveDissVertex.h.
References rpwa::interactionVertex::outParticles().
Referenced by dump(), print(), printPointers(), and setXFlavorQN().
|
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 119 of file diffractiveDissVertex.h.
Referenced by operator=(), readKinematicsData(), and revertMomenta().
|
staticprivate |
if set to true, debug messages are printed
Definition at line 123 of file diffractiveDissVertex.h.
Referenced by addInParticle(), addOutParticle(), debug(), diffractiveDissVertex(), doClone(), 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 |
number of production kinematics particles in input data arrays
Definition at line 118 of file diffractiveDissVertex.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 120 of file diffractiveDissVertex.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 121 of file diffractiveDissVertex.h.
Referenced by operator=(), readKinematicsData(), and revertMomenta().
1.8.1.2