PandaRoot
3.52/src/photosCInterfaces/PhotosBranch.h
Go to the documentation of this file.
1
#ifndef _PhotosBranch_h_included_
2
#define _PhotosBranch_h_included_
3
16
#include <vector>
17
#include "
PhotosParticle.h
"
18
using
std::vector;
19
20
namespace
Photospp
{
21
22
class
PhotosBranch
{
23
public
:
25
PhotosBranch
(
PhotosParticle
*p);
26
28
PhotosParticle
*
getDecayingParticle
() {
return
particle; }
29
31
vector<PhotosParticle *>
getMothers
() {
return
mothers; }
32
34
vector<PhotosParticle *>
getDaughters
() {
return
daughters; }
35
37
vector<PhotosParticle *>
getParticles
();
38
40
int
getSuppressionStatus
() {
return
suppression; }
41
43
int
getForcingStatus
() {
return
forcing; }
44
47
bool
checkMomentumConservation
();
48
50
void
process
();
51
53
static
vector<PhotosBranch *>
createBranches
(vector<PhotosParticle *> particles);
54
55
private
:
57
int
checkSuppressionLevel() {
return
checkList(
false
); }
58
60
int
checkForcingLevel() {
return
checkList(
true
); }
61
63
int
checkList(
bool
forceOrSuppress);
64
65
private
:
67
int
suppression;
69
int
forcing;
71
PhotosParticle
*particle;
73
vector<PhotosParticle *> mothers;
75
vector<PhotosParticle *> daughters;
76
};
77
78
}
// namespace Photospp
79
#endif
Photospp::PhotosBranch::process
void process()
Photospp::PhotosBranch::getDaughters
vector< PhotosParticle * > getDaughters()
Definition:
3.52/src/photosCInterfaces/PhotosBranch.h:34
Photospp::PhotosBranch::getSuppressionStatus
int getSuppressionStatus()
Definition:
3.52/src/photosCInterfaces/PhotosBranch.h:40
Photospp::PhotosBranch::getMothers
vector< PhotosParticle * > getMothers()
Definition:
3.52/src/photosCInterfaces/PhotosBranch.h:31
Photospp::PhotosBranch::getDecayingParticle
PhotosParticle * getDecayingParticle()
Definition:
3.52/src/photosCInterfaces/PhotosBranch.h:28
Photospp::PhotosBranch::createBranches
static vector< PhotosBranch * > createBranches(vector< PhotosParticle *> particles)
Photospp
Definition:
Log.h:30
Photospp::PhotosBranch::PhotosBranch
PhotosBranch(PhotosParticle *p)
Photospp::PhotosBranch::getForcingStatus
int getForcingStatus()
Definition:
3.52/src/photosCInterfaces/PhotosBranch.h:43
PhotosParticle
Abstract base class for particle in the event. This class also handles boosting.
PhotosParticle.h
Photospp::PhotosBranch::getParticles
vector< PhotosParticle * > getParticles()
Photospp::PhotosBranch::checkMomentumConservation
bool checkMomentumConservation()
Photospp::PhotosParticle
Definition:
PhotosParticle.h:24
PhotosBranch
Single branching point.
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
pgenerators
EvtGen
Photos
Photos.3.52
src
photosCInterfaces
PhotosBranch.h
Generated on Fri Oct 21 2022 07:03:57 for PandaRoot by
1.8.13