BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtStringParticle.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/EvtStringParticle.hh
12//
13// Description: EvtStringParticle particle is a class to keep the
14// collection of partons that are generated by jetset.
15// This is supposedly the _only_ use of this particle.
16//
17// Modification history:
18//
19// RYD Febuary 27, 1998 Module created
20//
21//------------------------------------------------------------------------
22
23#ifndef EVTSTRINGPARTICLE_HH
24#define EVTSTRINGPARTICLE_HH
25
27#include "EvtGenBase/EvtId.hh"
28
30
31public:
32
34 virtual ~EvtStringParticle();
35 void init(EvtId id, const EvtVector4R& p4);
36 void initPartons(int npartons,EvtVector4R* p4partons,EvtId* idpartons);
37 int getNPartons();
38 EvtId getIdParton(int i);
42 double beta,
43 double gamma) const;
44
45private:
46
47 int _npartons;
48
49 EvtVector4R* _p4partons;
50 EvtId* _idpartons;
51
52 EvtStringParticle& operator=(const EvtStringParticle& d);
53
54};
55#endif
56
const double alpha
Definition: EvtId.hh:27
EvtVector4R getP4Parton(int i)
EvtId getIdParton(int i)
EvtSpinDensity rotateToHelicityBasis() const
void init(EvtId id, const EvtVector4R &p4)
virtual ~EvtStringParticle()
void initPartons(int npartons, EvtVector4R *p4partons, EvtId *idpartons)