StRoot
1
|
Public Member Functions | |
PhotosBranch (PhotosParticle *p) | |
PhotosParticle * | getDecayingParticle () |
vector< PhotosParticle * > | getMothers () |
vector< PhotosParticle * > | getDaughters () |
vector< PhotosParticle * > | getParticles () |
int | getSuppressionStatus () |
int | getForcingStatus () |
bool | checkMomentumConservation () |
void | process () |
PhotosBranch (PhotosParticle *p) | |
PhotosParticle * | getDecayingParticle () |
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) |
Definition at line 23 of file PhotosBranch.h.
PhotosBranch::PhotosBranch | ( | PhotosParticle * | p | ) |
Create branch out of decaying particle
Definition at line 15 of file PhotosBranch.cxx.
References checkMomentumConservation(), Photospp::Log::Debug(), Photospp::PhotosParticle::findProductionMothers(), and Photospp::PhotosParticle::getDaughters().
Referenced by createBranches().
Photospp::PhotosBranch::PhotosBranch | ( | PhotosParticle * | p | ) |
Create branch out of decaying particle
bool PhotosBranch::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 Photospp::PhotosParticle::checkMomentumConservation().
Referenced by PhotosBranch(), and process().
bool Photospp::PhotosBranch::checkMomentumConservation | ( | ) |
Checks momentum conservation of decaying particle. If it does not exist, checks momentum of first mother passed to photos
|
static |
Create branches from particles list
Definition at line 99 of file PhotosBranch.cxx.
References Photospp::Log::Debug(), Photospp::Photos::forceBremList, Photospp::PhotosParticle::getBarcode(), getDecayingParticle(), Photospp::PhotosParticle::getDecayTree(), getForcingStatus(), getMothers(), Photospp::PhotosParticle::getPdgID(), getSuppressionStatus(), Photospp::Photos::isSuppressed, and PhotosBranch().
Referenced by Photospp::PhotosEvent::process(), and Photospp::Photos::processBranch().
|
static |
Create branches from particles list
|
inline |
Get list of daughters
Definition at line 36 of file PhotosBranch.h.
Referenced by Photospp::HEPEVT_struct::set().
|
inline |
Get list of daughters
Definition at line 36 of file PhotosBranch.h.
|
inline |
Return decaying particle. NULL if branching does not have mid-particle
Definition at line 30 of file PhotosBranch.h.
|
inline |
Return decaying particle. NULL if branching does not have mid-particle
Definition at line 30 of file PhotosBranch.h.
Referenced by createBranches(), and Photospp::HEPEVT_struct::set().
|
inline |
Check if branch is forced
Definition at line 45 of file PhotosBranch.h.
Referenced by createBranches().
|
inline |
Check if branch is forced
Definition at line 45 of file PhotosBranch.h.
|
inline |
Get list of mothers
Definition at line 33 of file PhotosBranch.h.
Referenced by createBranches(), and Photospp::HEPEVT_struct::set().
|
inline |
Get list of mothers
Definition at line 33 of file PhotosBranch.h.
vector<PhotosParticle *> Photospp::PhotosBranch::getParticles | ( | ) |
Get list of all particles used by branch
vector< PhotosParticle * > PhotosBranch::getParticles | ( | ) |
Get list of all particles used by branch
Definition at line 84 of file PhotosBranch.cxx.
|
inline |
Check if branch is suppressed
Definition at line 42 of file PhotosBranch.h.
|
inline |
Check if branch is suppressed
Definition at line 42 of file PhotosBranch.h.
Referenced by createBranches(), and Photospp::Photos::processParticle().
void Photospp::PhotosBranch::process | ( | ) |
Process single branch
void PhotosBranch::process | ( | ) |
Process single branch
Definition at line 68 of file PhotosBranch.cxx.
References checkMomentumConservation(), Photospp::HEPEVT_struct::complete(), Photospp::Log::Debug(), Photospp::HEPEVT_struct::get(), Photospp::PhotosParticle::getBarcode(), Photospp::HEPEVT_struct::prepare(), and Photospp::HEPEVT_struct::set().
Referenced by Photospp::Photos::processParticle().