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
28const int EVTSTDHEPLENGTH =1000;
29
30class EvtStdHep {
31
32public:
33
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
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
58private:
59
60 int _npart;
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
XmlRpcServer s
Definition: HelloServer.cpp:11
friend std::ostream & operator<<(std::ostream &s, const EvtStdHep &stdhep)
void translate(EvtVector4R d)
void createParticle(EvtVector4R p4, EvtVector4R x, int prntfirst, int prntlast, int id)
void init()
int getNPart()