#include <EvtSecondary.hh>
Definition at line 29 of file EvtSecondary.hh.
◆ EvtSecondary()
| EvtSecondary::EvtSecondary |
( |
| ) |
|
|
inline |
◆ ~EvtSecondary()
| EvtSecondary::~EvtSecondary |
( |
| ) |
|
|
inline |
◆ createSecondary()
| void EvtSecondary::createSecondary |
( |
int | stdhepindex, |
|
|
EvtParticle * | prnt ) |
Definition at line 34 of file EvtSecondary.cc.
34 {
35
36 _stdhepindex[_npart] = stdhepindex;
38 {
39 _id1[_npart] = 0;
40 _id2[_npart] = 0;
41 _id3[_npart] = 0;
42 _npart++;
43 return;
44 }
46 {
48 _id2[_npart] = 0;
49 _id3[_npart] = 0;
50 _npart++;
51 return;
52 }
54 {
57 _id3[_npart] = 0;
58 _npart++;
59 return;
60 }
62 {
66 _npart++;
67 return;
68 }
69
70 report(
ERROR,
"EvtGen" ) <<
"More than 3 decay products in a secondary particle!" << endl;
71}
ostream & report(Severity severity, const char *facility)
static int getStdHep(EvtId id)
EvtParticle * getDaug(int i)
Referenced by EvtParticle::makeStdHep().
◆ getD1()
| int EvtSecondary::getD1 |
( |
int | i | ) |
|
|
inline |
◆ getD2()
| int EvtSecondary::getD2 |
( |
int | i | ) |
|
|
inline |
◆ getD3()
| int EvtSecondary::getD3 |
( |
int | i | ) |
|
|
inline |
◆ getNPart()
| int EvtSecondary::getNPart |
( |
| ) |
|
◆ getStdHepIndex()
| int EvtSecondary::getStdHepIndex |
( |
int | i | ) |
|
|
inline |
◆ init()
| void EvtSecondary::init |
( |
| ) |
|
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | s, |
|
|
const EvtSecondary & | secondary ) |
|
friend |
The documentation for this class was generated from the following files: