FairRoot/PandaRoot
|
#include <PhotosBranch.h>
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) |
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 |
PhotosParticle * | particle |
vector< PhotosParticle * > | mothers |
vector< PhotosParticle * > | daughters |
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 checkForcingLevel(), checkMomentumConservation(), checkSuppressionLevel(), daughters, Photospp::Log::Debug(), Photospp::PhotosParticle::findProductionMothers(), forcing, Photospp::PhotosParticle::getDaughters(), mothers, p, particle, suppression, and Photospp::Log::Warning().
Referenced by createBranches().
Photospp::PhotosBranch::PhotosBranch | ( | PhotosParticle * | p | ) |
Create branch out of decaying particle
|
inlineprivate |
Checks if branching is forced by PHOTOS.
Definition at line 61 of file PhotosBranch.h.
References checkList().
Referenced by PhotosBranch().
|
inlineprivate |
Checks if branching is forced by PHOTOS.
Definition at line 61 of file 3.52/src/photosCInterfaces/PhotosBranch.h.
References checkList().
|
private |
Algorithm used for suppression/forcing check
Definition at line 206 of file PhotosBranch.cxx.
References daughters, Photospp::Photos::forceBremList, Photospp::PhotosParticle::getPdgID(), mothers, particle, and Photospp::Photos::supBremList.
Referenced by checkForcingLevel(), and checkSuppressionLevel().
|
private |
Algorithm used for suppression/forcing check
bool Photospp::PhotosBranch::checkMomentumConservation | ( | ) |
Checks momentum conservation of decaying particle. If it does not exist, checks momentum of first mother passed to photos
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 85 of file PhotosBranch.cxx.
References Photospp::PhotosParticle::checkMomentumConservation(), mothers, and particle.
Referenced by PhotosBranch(), and process().
|
inlineprivate |
Checks if branching is suppressed by PHOTOS.
Definition at line 58 of file PhotosBranch.h.
References checkList().
Referenced by PhotosBranch().
|
inlineprivate |
Checks if branching is suppressed by PHOTOS.
Definition at line 58 of file 3.52/src/photosCInterfaces/PhotosBranch.h.
References checkList().
|
static |
Create branches from particles list
|
static |
Create branches from particles list
Definition at line 92 of file PhotosBranch.cxx.
References b, Photospp::Log::Debug(), Photospp::Photos::forceBremList, forcing, Photospp::PhotosParticle::getBarcode(), getDecayingParticle(), Photospp::PhotosParticle::getDecayTree(), getForcingStatus(), getMothers(), Photospp::PhotosParticle::getPdgID(), getSuppressionStatus(), i, Photospp::Photos::isSuppressed, m, mothers, p, particle, PhotosBranch(), suppression, and tree.
Referenced by Photospp::PhotosEvent::process(), and Photospp::Photos::processBranch().
|
inline |
Get list of daughters
Definition at line 36 of file PhotosBranch.h.
References daughters.
Referenced by Photospp::PH_HEPEVT_Interface::set().
|
inline |
Get list of daughters
Definition at line 36 of file 3.52/src/photosCInterfaces/PhotosBranch.h.
References daughters.
|
inline |
Return decaying particle. NULL if branching does not have mid-particle
Definition at line 30 of file 3.52/src/photosCInterfaces/PhotosBranch.h.
References particle.
|
inline |
Return decaying particle. NULL if branching does not have mid-particle
Definition at line 30 of file PhotosBranch.h.
References particle.
Referenced by createBranches(), and Photospp::PH_HEPEVT_Interface::set().
|
inline |
Check if branch is forced
Definition at line 45 of file PhotosBranch.h.
References forcing.
Referenced by createBranches().
|
inline |
Check if branch is forced
Definition at line 45 of file 3.52/src/photosCInterfaces/PhotosBranch.h.
References forcing.
|
inline |
Get list of mothers
Definition at line 33 of file PhotosBranch.h.
References mothers.
Referenced by createBranches(), and Photospp::PH_HEPEVT_Interface::set().
|
inline |
Get list of mothers
Definition at line 33 of file 3.52/src/photosCInterfaces/PhotosBranch.h.
References mothers.
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 77 of file PhotosBranch.cxx.
References daughters, mothers, and particle.
|
inline |
Check if branch is suppressed
Definition at line 42 of file 3.52/src/photosCInterfaces/PhotosBranch.h.
References suppression.
|
inline |
Check if branch is suppressed
Definition at line 42 of file PhotosBranch.h.
References suppression.
Referenced by createBranches(), and Photospp::Photos::processParticle().
void PhotosBranch::process | ( | ) |
Process single branch
Definition at line 61 of file PhotosBranch.cxx.
References checkMomentumConservation(), Photospp::PH_HEPEVT_Interface::complete(), Photospp::Log::Debug(), Photospp::PH_HEPEVT_Interface::get(), Photospp::PhotosParticle::getBarcode(), mothers, particle, photos_make_c_(), Photospp::PH_HEPEVT_Interface::prepare(), and Photospp::PH_HEPEVT_Interface::set().
Referenced by Photospp::Photos::processParticle().
void Photospp::PhotosBranch::process | ( | ) |
Process single branch
|
private |
List of daughters
Definition at line 75 of file PhotosBranch.h.
Referenced by checkList(), getDaughters(), getParticles(), and PhotosBranch().
|
private |
State of branching forcing
Definition at line 69 of file PhotosBranch.h.
Referenced by createBranches(), getForcingStatus(), and PhotosBranch().
|
private |
List of mothers
Definition at line 73 of file PhotosBranch.h.
Referenced by checkList(), checkMomentumConservation(), createBranches(), getMothers(), getParticles(), PhotosBranch(), and process().
|
private |
Decaying particle
Definition at line 71 of file PhotosBranch.h.
Referenced by checkList(), checkMomentumConservation(), createBranches(), getDecayingParticle(), getParticles(), PhotosBranch(), and process().
|
private |
State of branching suppression
Definition at line 67 of file PhotosBranch.h.
Referenced by createBranches(), getSuppressionStatus(), and PhotosBranch().