BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtSecondary.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of the EvtGen package developed jointly
5
// for the BaBar and CLEO collaborations. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/COPYRIGHT
9
// Copyright (C) 1998 Caltech, UCSB
10
//
11
// Module: EvtGen/EvtSecondary.hh
12
//
13
// Description:Class store decays of secondary particles
14
//
15
// Modification history:
16
//
17
// RYD March. 12, 1998 Module created
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef EVTSECONDARY_HH
22
#define EVTSECONDARY_HH
23
24
const
int
EVTSECONDARYLENGTH
= 100;
25
26
class
EvtParticle
;
27
#include <iosfwd>
28
29
class
EvtSecondary
{
30
31
public
:
32
EvtSecondary
() {}
33
~EvtSecondary
() {}
34
35
void
init
();
36
37
int
getStdHepIndex
(
int
i ) {
return
_stdhepindex[i]; }
38
int
getD1
(
int
i ) {
return
_id1[i]; }
39
int
getD2
(
int
i ) {
return
_id2[i]; }
40
int
getD3
(
int
i ) {
return
_id3[i]; }
41
42
int
getNPart
();
43
void
createSecondary
(
int
stdhepindex,
EvtParticle
* prnt );
44
45
friend
std::ostream&
operator<<
( std::ostream&
s
,
const
EvtSecondary
& secondary );
46
47
private
:
48
int
_npart;
49
int
_stdhepindex[
EVTSECONDARYLENGTH
];
50
int
_id1[
EVTSECONDARYLENGTH
];
51
int
_id2[
EVTSECONDARYLENGTH
];
52
int
_id3[
EVTSECONDARYLENGTH
];
53
};
54
55
#endif
EVTSECONDARYLENGTH
const int EVTSECONDARYLENGTH
Definition
EvtSecondary.hh:24
s
XmlRpcServer s
Definition
HelloServer.cpp:11
EvtParticle
Definition
EvtParticle.hh:42
EvtSecondary::~EvtSecondary
~EvtSecondary()
Definition
EvtSecondary.hh:33
EvtSecondary::createSecondary
void createSecondary(int stdhepindex, EvtParticle *prnt)
Definition
EvtSecondary.cc:34
EvtSecondary::getD1
int getD1(int i)
Definition
EvtSecondary.hh:38
EvtSecondary::getStdHepIndex
int getStdHepIndex(int i)
Definition
EvtSecondary.hh:37
EvtSecondary::getD3
int getD3(int i)
Definition
EvtSecondary.hh:40
EvtSecondary::operator<<
friend std::ostream & operator<<(std::ostream &s, const EvtSecondary &secondary)
EvtSecondary::EvtSecondary
EvtSecondary()
Definition
EvtSecondary.hh:32
EvtSecondary::getD2
int getD2(int i)
Definition
EvtSecondary.hh:39
EvtSecondary::getNPart
int getNPart()
Definition
EvtSecondary.cc:32
EvtSecondary::init
void init()
Definition
EvtSecondary.cc:30
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtSecondary.hh
Generated by
1.16.1