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 ()
 
 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)
 
static vector< PhotosBranch * > createBranches (vector< PhotosParticle * > particles)
 

Private Member Functions

int checkSuppressionLevel ()
 
int checkForcingLevel ()
 
int checkList (bool forceOrSuppress)
 
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 include/Photos/PhotosBranch.h.

Constructor & Destructor Documentation

◆ PhotosBranch() [1/2]

◆ PhotosBranch() [2/2]

Create branch out of decaying particle

Member Function Documentation

◆ checkForcingLevel() [1/2]

int checkForcingLevel ( )
inlineprivate

Checks if branching is forced by PHOTOS.

Definition at line 61 of file include/Photos/PhotosBranch.h.

References PhotosBranch::checkList().

◆ checkForcingLevel() [2/2]

int checkForcingLevel ( )
inlineprivate

Checks if branching is forced by PHOTOS.

Definition at line 61 of file src/photosCInterfaces/PhotosBranch.h.

References PhotosBranch::checkList().

◆ checkList() [1/2]

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.

◆ checkList() [2/2]

int checkList ( bool forceOrSuppress)
private

Algorithm used for suppression/forcing check

◆ checkMomentumConservation() [1/2]

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.

◆ checkMomentumConservation() [2/2]

bool checkMomentumConservation ( )

Checks momentum conservation of decaying particle. If it does not exist, checks momentum of first mother passed to photos

◆ checkSuppressionLevel() [1/2]

int checkSuppressionLevel ( )
inlineprivate

Checks if branching is suppressed by PHOTOS.

Definition at line 58 of file include/Photos/PhotosBranch.h.

References PhotosBranch::checkList().

◆ checkSuppressionLevel() [2/2]

int checkSuppressionLevel ( )
inlineprivate

Checks if branching is suppressed by PHOTOS.

Definition at line 58 of file src/photosCInterfaces/PhotosBranch.h.

References PhotosBranch::checkList().

◆ createBranches() [1/2]

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

◆ createBranches() [2/2]

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

Create branches from particles list

◆ getDaughters() [1/2]

vector< PhotosParticle * > getDaughters ( )
inline

Get list of daughters

Definition at line 36 of file include/Photos/PhotosBranch.h.

References PhotosBranch::daughters.

◆ getDaughters() [2/2]

vector< PhotosParticle * > getDaughters ( )
inline

Get list of daughters

Definition at line 36 of file src/photosCInterfaces/PhotosBranch.h.

References PhotosBranch::daughters.

◆ getDecayingParticle() [1/2]

PhotosParticle * getDecayingParticle ( )
inline

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

Definition at line 30 of file include/Photos/PhotosBranch.h.

References PhotosBranch::particle.

◆ getDecayingParticle() [2/2]

PhotosParticle * getDecayingParticle ( )
inline

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

Definition at line 30 of file src/photosCInterfaces/PhotosBranch.h.

References PhotosBranch::particle.

◆ getForcingStatus() [1/2]

int getForcingStatus ( )
inline

Check if branch is forced

Definition at line 45 of file include/Photos/PhotosBranch.h.

References PhotosBranch::forcing.

◆ getForcingStatus() [2/2]

int getForcingStatus ( )
inline

Check if branch is forced

Definition at line 45 of file src/photosCInterfaces/PhotosBranch.h.

References PhotosBranch::forcing.

◆ getMothers() [1/2]

vector< PhotosParticle * > getMothers ( )
inline

Get list of mothers

Definition at line 33 of file include/Photos/PhotosBranch.h.

References PhotosBranch::mothers.

◆ getMothers() [2/2]

vector< PhotosParticle * > getMothers ( )
inline

Get list of mothers

Definition at line 33 of file src/photosCInterfaces/PhotosBranch.h.

References PhotosBranch::mothers.

◆ getParticles() [1/2]

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.

◆ getParticles() [2/2]

vector< PhotosParticle * > getParticles ( )

Get list of all particles used by branch

◆ getSuppressionStatus() [1/2]

int getSuppressionStatus ( )
inline

Check if branch is suppressed

Definition at line 42 of file include/Photos/PhotosBranch.h.

References PhotosBranch::suppression.

◆ getSuppressionStatus() [2/2]

int getSuppressionStatus ( )
inline

Check if branch is suppressed

Definition at line 42 of file src/photosCInterfaces/PhotosBranch.h.

References PhotosBranch::suppression.

◆ process() [1/2]

void process ( )

◆ process() [2/2]

void process ( )

Process single branch

Field Documentation

◆ daughters

vector< PhotosParticle * > daughters
private

List of daughters

Definition at line 75 of file include/Photos/PhotosBranch.h.

◆ forcing

int forcing
private

State of branching forcing

Definition at line 69 of file include/Photos/PhotosBranch.h.

◆ mothers

vector< PhotosParticle * > mothers
private

List of mothers

Definition at line 73 of file include/Photos/PhotosBranch.h.

◆ particle

PhotosParticle * particle
private

Decaying particle

Definition at line 71 of file include/Photos/PhotosBranch.h.

◆ suppression

int suppression
private

State of branching suppression

Definition at line 67 of file include/Photos/PhotosBranch.h.


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