StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StarGenerator
Photos3_61
include
Photos
PhotosBranch.h
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
23
class
PhotosBranch
24
{
25
public
:
27
PhotosBranch
(
PhotosParticle
* p);
28
30
PhotosParticle
*
getDecayingParticle
() {
return
particle; }
31
33
vector<PhotosParticle *>
getMothers
() {
return
mothers; }
34
36
vector<PhotosParticle *>
getDaughters
() {
return
daughters; }
37
39
vector<PhotosParticle *>
getParticles
();
40
42
int
getSuppressionStatus
() {
return
suppression; }
43
45
int
getForcingStatus
() {
return
forcing; }
46
49
bool
checkMomentumConservation
();
50
52
void
process
();
53
55
static
vector<PhotosBranch *>
createBranches
(vector<PhotosParticle *> particles);
56
private
:
58
int
checkSuppressionLevel() {
return
checkList(
false
); }
59
61
int
checkForcingLevel() {
return
checkList(
true
); }
62
64
int
checkList(
bool
forceOrSuppress);
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::createBranches
static vector< PhotosBranch * > createBranches(vector< PhotosParticle * > particles)
Definition:
PhotosBranch.cxx:99
Photospp::PhotosBranch::getDaughters
vector< PhotosParticle * > getDaughters()
Definition:
PhotosBranch.h:36
Photospp::PhotosBranch::process
void process()
Definition:
PhotosBranch.cxx:68
Photospp::PhotosBranch::checkMomentumConservation
bool checkMomentumConservation()
Definition:
PhotosBranch.cxx:92
Photospp::PhotosBranch::getSuppressionStatus
int getSuppressionStatus()
Definition:
PhotosBranch.h:42
Photospp::PhotosBranch::getMothers
vector< PhotosParticle * > getMothers()
Definition:
PhotosBranch.h:33
Photospp::PhotosBranch::getDecayingParticle
PhotosParticle * getDecayingParticle()
Definition:
PhotosBranch.h:30
Photospp::PhotosBranch::getForcingStatus
int getForcingStatus()
Definition:
PhotosBranch.h:45
PhotosParticle
Abstract base class for particle in the event. This class also handles boosting.
Photospp::PhotosBranch::getParticles
vector< PhotosParticle * > getParticles()
Definition:
PhotosBranch.cxx:84
Photospp::PhotosBranch::PhotosBranch
PhotosBranch(PhotosParticle *p)
Definition:
PhotosBranch.cxx:15
Photospp::PhotosParticle
Definition:
PhotosParticle.h:25
Photospp::PhotosBranch
Definition:
PhotosBranch.h:23
Generated by
1.8.5