BOSS 8.0.0
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
26#include "EvtId.hh"
27#include "EvtParticle.hh"
28
30
31public:
33 virtual ~EvtStringParticle();
34 void init( EvtId id, const EvtVector4R& p4 );
35 void initPartons( int npartons, EvtVector4R* p4partons, EvtId* idpartons );
36 int getNPartons();
37 EvtId getIdParton( int i );
38 EvtVector4R getP4Parton( int i );
40 EvtSpinDensity rotateToHelicityBasis( double alpha, double beta, double gamma ) const;
41
42private:
43 int _npartons;
44
45 EvtVector4R* _p4partons;
46 EvtId* _idpartons;
47
48 EvtStringParticle& operator=( const EvtStringParticle& d );
49};
50#endif
double alpha
Definition EvtId.hh:27
EvtVector4R getP4Parton(int i)
EvtSpinDensity rotateToHelicityBasis() const
void init(EvtId id, const EvtVector4R &p4)
void initPartons(int npartons, EvtVector4R *p4partons, EvtId *idpartons)