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

Member Function Documentation

int checkForcingLevel ( )
inlineprivate

Checks if branching is forced by PHOTOS.

Definition at line 61 of file PhotosBranch.h.

References PhotosBranch::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.

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.

int checkSuppressionLevel ( )
inlineprivate

Checks if branching is suppressed by PHOTOS.

Definition at line 58 of file PhotosBranch.h.

References PhotosBranch::checkList().

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

Get list of daughters

Definition at line 36 of file PhotosBranch.h.

References PhotosBranch::daughters.

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.

int getForcingStatus ( )
inline

Check if branch is forced

Definition at line 45 of file PhotosBranch.h.

References PhotosBranch::forcing.

vector<PhotosParticle *> getMothers ( )
inline

Get list of mothers

Definition at line 33 of file PhotosBranch.h.

References PhotosBranch::mothers.

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.

int getSuppressionStatus ( )
inline

Check if branch is suppressed

Definition at line 42 of file PhotosBranch.h.

References PhotosBranch::suppression.

void process ( )

Field Documentation

vector<PhotosParticle *> daughters
private

List of daughters

Definition at line 75 of file PhotosBranch.h.

int forcing
private

State of branching forcing

Definition at line 69 of file PhotosBranch.h.

vector<PhotosParticle *> mothers
private

List of mothers

Definition at line 73 of file PhotosBranch.h.

PhotosParticle* particle
private

Decaying particle

Definition at line 71 of file PhotosBranch.h.

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: