|
BOSS 8.0.0
BESIII Offline Software System
|
#include <EvtPhotonParticle.hh>
Public Member Functions | |
| EvtPhotonParticle () | |
| virtual | ~EvtPhotonParticle () |
| void | init (EvtId part_n, double e, double px, double py, double pz) |
| void | init (EvtId part_n, const EvtVector4R &p4) |
| EvtVector4C | epsParentPhoton (int i) |
| EvtVector4C | epsPhoton (int i) |
| EvtSpinDensity | rotateToHelicityBasis () const |
| EvtSpinDensity | rotateToHelicityBasis (double alpha, double beta, double gamma) const |
| Public Member Functions inherited from EvtParticle | |
| EvtParticle () | |
| virtual | ~EvtParticle () |
| virtual EvtVector4C | epsParent (int i) const |
| virtual EvtVector4C | eps (int i) const |
| virtual EvtDiracSpinor | spParent (int) const |
| virtual EvtDiracSpinor | sp (int) const |
| virtual EvtDiracSpinor | spParentNeutrino () const |
| virtual EvtDiracSpinor | spNeutrino () const |
| virtual EvtTensor4C | epsTensorParent (int i) const |
| virtual EvtTensor4C | epsTensor (int i) const |
| void | addDaug (EvtParticle *node) |
| void | decay () |
| void | deleteTree () |
| void | deleteDaughters (bool keepChannel=false) |
| void | setChannel (int i) |
| void | setGeneratorFlag (int flag) |
| int | getGeneratorFlag () |
| void | setIntFlag (std::vector< int > vi) |
| std::vector< int > | getIntFlag () |
| void | makeDaughters (int ndaug, EvtId *id) |
| double | initializePhaseSpace (int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1) |
| EvtParticle * | getDaug (int i) |
| EvtParticle * | nextIter (EvtParticle *rootOfTree=0) |
| void | makeStdHep (EvtStdHep &stdhep, EvtSecondary &secondary, EvtId *stable_parent_ihep) |
| void | makeStdHep (EvtStdHep &stdhep) |
| EvtVector4R | getP4Lab () |
| EvtVector4R | getP4Restframe () |
| EvtVector4R | get4Pos () |
| EvtParticle * | getParent () |
| void | insertDaugPtr (int idaug, EvtParticle *partptr) |
| double | mass () const |
| int | firstornot () const |
| void | setFirstOrNot () |
| void | resetFirstOrNot () |
| EvtId | getId () const |
| EvtSpinType::spintype | getSpinType () const |
| int | getSpinStates () const |
| const EvtVector4R & | getP4 () const |
| void | setP4 (const EvtVector4R &p4) |
| int | getChannel () const |
| int | getNDaug () const |
| void | resetNDaug () |
| void | printTree () const |
| void | printTreeRec (int level) const |
| std::string | writeTreeRec (std::string) const |
| void | dumpTree () const |
| void | dumpTreeRec (int level, int dj) const |
| std::string | treeStr () const |
| std::string | treeStrRec (int level) const |
| void | printParticle () const |
| void | setLifetime (double tau) |
| void | setLifetime () |
| double | getLifetime () |
| void | setDiagonalSpinDensity () |
| void | setVectorSpinDensity () |
| void | setPolarizedSpinDensity (double r00, double r11, double r22) |
| void | setSpinDensityForward (const EvtSpinDensity &rho) |
| void | setSpinDensityForwardHelicityBasis (const EvtSpinDensity &rho) |
| void | setSpinDensityForwardHelicityBasis (const EvtSpinDensity &rho, double alpha, double beta, double gamma) |
| EvtSpinDensity | getSpinDensityForward () |
| void | setSpinDensityBackward (const EvtSpinDensity &rho) |
| EvtSpinDensity | getSpinDensityBackward () |
| void | noLifeTime () |
| void | setId (EvtId id) |
| void | initDecay (bool useMinMass=false) |
| void | generateMassTree () |
| double | compMassProb () |
| void | setMass (double m) |
| bool | isInitialized () |
| bool | hasValidP4 () |
| bool | isDecayed () |
| double * | decayProb () |
| void | setDecayProb (double p) |
| void | setInclusiveMode (int im) |
| int | getInclusiveMode () |
Additional Inherited Members | |
| Static Public Attributes inherited from EvtParticle | |
| static int | _NextLevelDauNum = 0 |
| static EvtId | _NextLevelId [20] |
| static EvtVector4R | _NextLevelP4 [20] |
| Protected Member Functions inherited from EvtParticle | |
| void | setp (double e, double px, double py, double pz) |
| void | setp (const EvtVector4R &p4) |
| void | setpart_num (EvtId particle_number) |
| Protected Attributes inherited from EvtParticle | |
| bool | _validP4 |
Definition at line 31 of file EvtPhotonParticle.hh.
|
inline |
Definition at line 34 of file EvtPhotonParticle.hh.
|
virtual |
Definition at line 31 of file EvtPhotonParticle.cc.
|
virtual |
Returns polarization vector in the parents restframe for a photon.
Reimplemented from EvtParticle.
Definition at line 50 of file EvtPhotonParticle.cc.
Referenced by EvtLambdaP_BarGamma::decay().
|
virtual |
Returns polarization vector in the particles own restframe for a photon.
Reimplemented from EvtParticle.
Definition at line 95 of file EvtPhotonParticle.cc.
|
virtual |
Initialiaze particle with id and 4momentum.
Implements EvtParticle.
Definition at line 33 of file EvtPhotonParticle.cc.
| void EvtPhotonParticle::init | ( | EvtId | part_n, |
| double | e, | ||
| double | px, | ||
| double | py, | ||
| double | pz ) |
Definition at line 38 of file EvtPhotonParticle.cc.
Referenced by EvtKstarstargamma::decay(), EvtPHOTOS::doRadCorr(), init(), and EvtParticleFactory::particleFactory().
|
virtual |
Returns a rotation matrix need to rotate the basis state to the helicity basis. The EvtSpinDensity matrix is just use as a matrix here. This function is to be implemented in each derived class.
Implements EvtParticle.
Definition at line 104 of file EvtPhotonParticle.cc.
|
virtual |
Implements EvtParticle.
Definition at line 126 of file EvtPhotonParticle.cc.