PandaRoot
Photospp::PhotosBranch Class Reference

#include <PhotosBranch.h>

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)
 

Detailed Description

Definition at line 22 of file PhotosBranch.h.

Constructor & Destructor Documentation

◆ PhotosBranch() [1/2]

Photospp::PhotosBranch::PhotosBranch ( PhotosParticle p)

Create branch out of decaying particle

◆ PhotosBranch() [2/2]

Photospp::PhotosBranch::PhotosBranch ( PhotosParticle p)

Create branch out of decaying particle

Member Function Documentation

◆ checkMomentumConservation() [1/2]

bool Photospp::PhotosBranch::checkMomentumConservation ( )

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

Referenced by getForcingStatus().

◆ checkMomentumConservation() [2/2]

bool Photospp::PhotosBranch::checkMomentumConservation ( )

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

◆ createBranches() [1/2]

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

Create branches from particles list

Referenced by getForcingStatus().

◆ createBranches() [2/2]

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

Create branches from particles list

◆ getDaughters() [1/2]

vector<PhotosParticle *> Photospp::PhotosBranch::getDaughters ( )
inline

Get list of daughters

Definition at line 34 of file PhotosBranch.h.

References getParticles().

34 { return daughters; }

◆ getDaughters() [2/2]

vector<PhotosParticle *> Photospp::PhotosBranch::getDaughters ( )
inline

Get list of daughters

Definition at line 34 of file 3.52/src/photosCInterfaces/PhotosBranch.h.

References getParticles().

34 { return daughters; }

◆ getDecayingParticle() [1/2]

PhotosParticle* Photospp::PhotosBranch::getDecayingParticle ( )
inline

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

Definition at line 28 of file 3.52/src/photosCInterfaces/PhotosBranch.h.

28 { return particle; }

◆ getDecayingParticle() [2/2]

PhotosParticle* Photospp::PhotosBranch::getDecayingParticle ( )
inline

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

Definition at line 28 of file PhotosBranch.h.

28 { return particle; }

◆ getForcingStatus() [1/2]

int Photospp::PhotosBranch::getForcingStatus ( )
inline

Check if branch is forced

Definition at line 43 of file PhotosBranch.h.

References checkMomentumConservation(), createBranches(), and process().

43 { return forcing; }

◆ getForcingStatus() [2/2]

int Photospp::PhotosBranch::getForcingStatus ( )
inline

Check if branch is forced

Definition at line 43 of file 3.52/src/photosCInterfaces/PhotosBranch.h.

References checkMomentumConservation(), createBranches(), and process().

43 { return forcing; }

◆ getMothers() [1/2]

vector<PhotosParticle *> Photospp::PhotosBranch::getMothers ( )
inline

Get list of mothers

Definition at line 31 of file PhotosBranch.h.

31 { return mothers; }

◆ getMothers() [2/2]

vector<PhotosParticle *> Photospp::PhotosBranch::getMothers ( )
inline

Get list of mothers

Definition at line 31 of file 3.52/src/photosCInterfaces/PhotosBranch.h.

31 { return mothers; }

◆ getParticles() [1/2]

vector<PhotosParticle *> Photospp::PhotosBranch::getParticles ( )

Get list of all particles used by branch

◆ getParticles() [2/2]

vector<PhotosParticle *> Photospp::PhotosBranch::getParticles ( )

Get list of all particles used by branch

Referenced by getDaughters().

◆ getSuppressionStatus() [1/2]

int Photospp::PhotosBranch::getSuppressionStatus ( )
inline

Check if branch is suppressed

Definition at line 40 of file 3.52/src/photosCInterfaces/PhotosBranch.h.

40 { return suppression; }

◆ getSuppressionStatus() [2/2]

int Photospp::PhotosBranch::getSuppressionStatus ( )
inline

Check if branch is suppressed

Definition at line 40 of file PhotosBranch.h.

40 { return suppression; }

◆ process() [1/2]

void Photospp::PhotosBranch::process ( )

Process single branch

◆ process() [2/2]

void Photospp::PhotosBranch::process ( )

Process single branch

Referenced by getForcingStatus().


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