Belle II Software  release-06-01-15
PhotosBranch Class Reference
Collaboration diagram for PhotosBranch:

Public Member Functions

 PhotosBranch (PhotosParticle *p)
 Create branch out of decaying particle.
 
PhotosParticlegetDecayingParticle ()
 Return decaying particle. More...
 
vector< PhotosParticle * > getMothers ()
 Get list of mothers.
 
vector< PhotosParticle * > getDaughters ()
 Get list of daughters.
 
vector< PhotosParticle * > getParticles ()
 Get list of all particles used by branch.
 
int getSuppressionStatus ()
 Check if branch is suppressed.
 
int getForcingStatus ()
 Check if branch is forced.
 
bool checkMomentumConservation ()
 Checks momentum conservation of decaying particle. More...
 
void process ()
 Process single branch.
 

Static Public Member Functions

static vector< PhotosBranch * > createBranches (vector< PhotosParticle * > particles)
 Create branches from particles list.
 

Private Member Functions

int checkSuppressionLevel ()
 Checks if branching is suppressed by PHOTOS.
 
int checkForcingLevel ()
 Checks if branching is forced by PHOTOS.
 
int checkList (bool forceOrSuppress)
 Algorithm used for suppression/forcing check.
 

Private Attributes

int suppression
 State of branching suppression.
 
int forcing
 State of branching forcing.
 
PhotosParticleparticle
 Decaying particle.
 
vector< PhotosParticle * > mothers
 List of mothers

 
vector< PhotosParticle * > daughters
 List of daughters.
 

Detailed Description

Definition at line 22 of file PhotosBranch.h.

Member Function Documentation

◆ checkMomentumConservation()

bool checkMomentumConservation ( )

Checks momentum conservation of decaying particle.

If it does not exist, checks momentum of first mother passed to photos

Definition at line 86 of file PhotosBranch.cc.

87  {
89  if (mothers.size() > 0) return mothers.at(0)->checkMomentumConservation();
90  return true;
91  }
PhotosParticle * particle
Decaying particle.
Definition: PhotosBranch.h:69
vector< PhotosParticle * > mothers
List of mothers
Definition: PhotosBranch.h:71
virtual bool checkMomentumConservation()=0
check that the 4 momentum in conserved at the vertices producing and ending this particle

◆ getDecayingParticle()

PhotosParticle* getDecayingParticle ( )
inline

Return decaying particle.

NULL if branching does not have mid-particle

Definition at line 28 of file PhotosBranch.h.

28 { return particle; }

The documentation for this class was generated from the following files: