Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
PhotosBranch Class Reference
Collaboration diagram for PhotosBranch:
Collaboration graph

Public Member Functions

 PhotosBranch (PhotosParticle *p)
 
PhotosParticlegetDecayingParticle ()
 
vector< PhotosParticle * > getMothers ()
 
vector< PhotosParticle * > getDaughters ()
 
vector< PhotosParticle * > getParticles ()
 
int getSuppressionStatus ()
 
int getForcingStatus ()
 
bool checkMomentumConservation ()
 
void process ()
 

Static Public Member Functions

static vector< PhotosBranch * > createBranches (vector< PhotosParticle * > particles)
 

Private Member Functions

int checkSuppressionLevel ()
 
int checkForcingLevel ()
 
int checkList (bool forceOrSuppress)
 

Private Attributes

int suppression
 
int forcing
 
PhotosParticleparticle
 
vector< PhotosParticle * > mothers
 
vector< PhotosParticle * > daughters
 

Detailed Description

Definition at line 23 of file PhotosBranch.h.

Constructor & Destructor Documentation

◆ PhotosBranch()

Member Function Documentation

◆ checkForcingLevel()

int checkForcingLevel ( )
inlineprivate

Checks if branching is forced by PHOTOS.

Definition at line 61 of file PhotosBranch.h.

References PhotosBranch::checkList().

◆ checkList()

int checkList ( bool  forceOrSuppress)
private

Algorithm used for suppression/forcing check

Definition at line 217 of file PhotosBranch.cxx.

References PhotosBranch::daughters, Photos::forceBremList, PhotosParticle::getPdgID(), PhotosBranch::mothers, PhotosBranch::particle, and Photos::supBremList.

◆ 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 92 of file PhotosBranch.cxx.

References PhotosParticle::checkMomentumConservation(), PhotosBranch::mothers, and PhotosBranch::particle.

◆ checkSuppressionLevel()

int checkSuppressionLevel ( )
inlineprivate

Checks if branching is suppressed by PHOTOS.

Definition at line 58 of file PhotosBranch.h.

References PhotosBranch::checkList().

◆ createBranches()

vector< PhotosBranch * > createBranches ( vector< PhotosParticle * >  particles)
static

◆ getDaughters()

vector<PhotosParticle *> getDaughters ( )
inline

Get list of daughters

Definition at line 36 of file PhotosBranch.h.

References PhotosBranch::daughters.

◆ getDecayingParticle()

PhotosParticle* getDecayingParticle ( )
inline

Return decaying particle. NULL if branching does not have mid-particle

Definition at line 30 of file PhotosBranch.h.

References PhotosBranch::particle.

◆ getForcingStatus()

int getForcingStatus ( )
inline

Check if branch is forced

Definition at line 45 of file PhotosBranch.h.

References PhotosBranch::forcing.

◆ getMothers()

vector<PhotosParticle *> getMothers ( )
inline

Get list of mothers

Definition at line 33 of file PhotosBranch.h.

References PhotosBranch::mothers.

◆ getParticles()

vector< PhotosParticle * > getParticles ( )

Get list of all particles used by branch

Definition at line 84 of file PhotosBranch.cxx.

References PhotosBranch::daughters, PhotosBranch::mothers, and PhotosBranch::particle.

◆ getSuppressionStatus()

int getSuppressionStatus ( )
inline

Check if branch is suppressed

Definition at line 42 of file PhotosBranch.h.

References PhotosBranch::suppression.

◆ process()

void process ( )

Field Documentation

◆ daughters

vector<PhotosParticle *> daughters
private

List of daughters

Definition at line 75 of file PhotosBranch.h.

◆ forcing

int forcing
private

State of branching forcing

Definition at line 69 of file PhotosBranch.h.

◆ mothers

vector<PhotosParticle *> mothers
private

List of mothers

Definition at line 73 of file PhotosBranch.h.

◆ particle

PhotosParticle* particle
private

Decaying particle

Definition at line 71 of file PhotosBranch.h.

◆ suppression

int suppression
private

State of branching suppression

Definition at line 67 of file PhotosBranch.h.


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