FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pgenerators
EvtGen
Photos
Photos.3.52
src
photosCInterfaces
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
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
p
Double_t p
Definition:
anasim.C:58
Photospp::PhotosBranch::checkSuppressionLevel
int checkSuppressionLevel()
Definition:
3.52/src/photosCInterfaces/PhotosBranch.h:58
Photospp::PhotosBranch::createBranches
static vector< PhotosBranch * > createBranches(vector< PhotosParticle * > particles)
Definition:
PhotosBranch.cxx:92
Photospp::PhotosBranch::getDaughters
vector< PhotosParticle * > getDaughters()
Definition:
3.52/src/photosCInterfaces/PhotosBranch.h:36
Photospp::PhotosBranch::process
void process()
Definition:
PhotosBranch.cxx:61
Photospp::PhotosBranch::checkMomentumConservation
bool checkMomentumConservation()
Definition:
PhotosBranch.cxx:85
Photospp::PhotosBranch::getSuppressionStatus
int getSuppressionStatus()
Definition:
3.52/src/photosCInterfaces/PhotosBranch.h:42
Photospp::PhotosBranch::checkForcingLevel
int checkForcingLevel()
Definition:
3.52/src/photosCInterfaces/PhotosBranch.h:61
Photospp::PhotosBranch::getMothers
vector< PhotosParticle * > getMothers()
Definition:
3.52/src/photosCInterfaces/PhotosBranch.h:33
Photospp::PhotosBranch::getDecayingParticle
PhotosParticle * getDecayingParticle()
Definition:
3.52/src/photosCInterfaces/PhotosBranch.h:30
Photospp::PhotosBranch::daughters
vector< PhotosParticle * > daughters
Definition:
PhotosBranch.h:75
Photospp::PhotosBranch::particle
PhotosParticle * particle
Definition:
PhotosBranch.h:71
Photospp::PhotosBranch::mothers
vector< PhotosParticle * > mothers
Definition:
PhotosBranch.h:73
Photospp::PhotosBranch::getForcingStatus
int getForcingStatus()
Definition:
3.52/src/photosCInterfaces/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:77
Photospp::PhotosBranch::PhotosBranch
PhotosBranch(PhotosParticle *p)
Definition:
PhotosBranch.cxx:15
Photospp::PhotosBranch::suppression
int suppression
Definition:
PhotosBranch.h:67
Photospp::PhotosBranch::checkList
int checkList(bool forceOrSuppress)
Definition:
PhotosBranch.cxx:206
PhotosParticle.h
Photospp::PhotosParticle
Definition:
PhotosParticle.h:25
PhotosBranch
Single branching point.
Photospp::PhotosBranch::forcing
int forcing
Definition:
PhotosBranch.h:69
Generated on Wed Apr 3 2019 08:43:52 for FairRoot/PandaRoot by
1.8.5