BOSS
7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.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/EvtStdHep.hh
12
//
13
// Description: Class produce the StdHep representation of the decay.
14
//
15
// Modification history:
16
//
17
// RYD March. 11, 1998 Module created
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef EVTSTDHEP_HH
22
#define EVTSTDHEP_HH
23
24
//#include <iostream.h>
25
#include "EvtGenBase/EvtVector4R.hh"
26
#include <iosfwd>
27
28
const
int
EVTSTDHEPLENGTH
=1000;
29
30
class
EvtStdHep
{
31
32
public
:
33
34
EvtStdHep
(){}
35
~EvtStdHep
(){}
36
37
void
init
();
38
39
int
getFirstMother
(
int
i) {
return
_prntfirst[i]; }
40
int
getLastMother
(
int
i) {
return
_prntlast[i]; }
41
int
getFirstDaughter
(
int
i) {
return
_daugfirst[i]; }
42
int
getLastDaughter
(
int
i) {
return
_dauglast[i]; }
43
44
int
getStdHepID
(
int
i) {
return
_id[i]; }
45
int
getIStat
(
int
i) {
return
_istat[i]; }
46
47
EvtVector4R
getP4
(
int
i) {
return
_p4[i]; }
48
EvtVector4R
getX4
(
int
i) {
return
_x[i]; }
49
50
void
translate
(
EvtVector4R
d);
51
52
int
getNPart
();
53
void
createParticle
(
EvtVector4R
p4,
EvtVector4R
x,
int
prntfirst,
54
int
prntlast,
int
id
);
55
56
friend
std::ostream&
operator<<
(std::ostream&
s
,
const
EvtStdHep
& stdhep);
57
58
private
:
59
60
int
_npart;
61
EvtVector4R
_p4[
EVTSTDHEPLENGTH
];
62
EvtVector4R
_x[
EVTSTDHEPLENGTH
];
63
int
_prntfirst[
EVTSTDHEPLENGTH
];
64
int
_prntlast[
EVTSTDHEPLENGTH
];
65
int
_daugfirst[
EVTSTDHEPLENGTH
];
66
int
_dauglast[
EVTSTDHEPLENGTH
];
67
int
_id[
EVTSTDHEPLENGTH
];
68
int
_istat[
EVTSTDHEPLENGTH
];
69
70
};
71
72
#endif
73
EVTSTDHEPLENGTH
const int EVTSTDHEPLENGTH
Definition:
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:28
s
XmlRpcServer s
Definition:
HelloServer.cpp:11
EvtStdHep
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:30
EvtStdHep::operator<<
friend std::ostream & operator<<(std::ostream &s, const EvtStdHep &stdhep)
EvtStdHep::EvtStdHep
EvtStdHep()
Definition:
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:34
EvtStdHep::getIStat
int getIStat(int i)
Definition:
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:45
EvtStdHep::translate
void translate(EvtVector4R d)
EvtStdHep::getFirstMother
int getFirstMother(int i)
Definition:
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:39
EvtStdHep::getLastMother
int getLastMother(int i)
Definition:
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:40
EvtStdHep::createParticle
void createParticle(EvtVector4R p4, EvtVector4R x, int prntfirst, int prntlast, int id)
EvtStdHep::init
void init()
EvtStdHep::getLastDaughter
int getLastDaughter(int i)
Definition:
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:42
EvtStdHep::~EvtStdHep
~EvtStdHep()
Definition:
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:35
EvtStdHep::getStdHepID
int getStdHepID(int i)
Definition:
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:44
EvtStdHep::getFirstDaughter
int getFirstDaughter(int i)
Definition:
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:41
EvtStdHep::getNPart
int getNPart()
EvtStdHep::getP4
EvtVector4R getP4(int i)
Definition:
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:47
EvtStdHep::getX4
EvtVector4R getX4(int i)
Definition:
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStdHep.hh:48
EvtVector4R
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtVector4R.hh:29
source
Generator
BesEvtGen
BesEvtGen-00-04-08
src
EvtGen
EvtGenBase
EvtStdHep.hh
Generated by
1.9.6