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
29
class
EvtStringParticle
:
public
EvtParticle
{
30
31
public
:
32
EvtStringParticle
();
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 );
39
EvtSpinDensity
rotateToHelicityBasis
()
const
;
40
EvtSpinDensity
rotateToHelicityBasis
(
double
alpha
,
double
beta,
double
gamma )
const
;
41
42
private
:
43
int
_npartons;
44
45
EvtVector4R
* _p4partons;
46
EvtId
* _idpartons;
47
48
EvtStringParticle
& operator=(
const
EvtStringParticle
& d );
49
};
50
#endif
EvtId.hh
EvtParticle.hh
alpha
double alpha
Definition
EvtPhokharaDef.hh:17
EvtId
Definition
EvtId.hh:27
EvtParticle::EvtParticle
EvtParticle()
Definition
EvtParticle.cc:61
EvtSpinDensity
Definition
EvtSpinDensity.hh:26
EvtStringParticle::getP4Parton
EvtVector4R getP4Parton(int i)
Definition
EvtStringParticle.cc:75
EvtStringParticle::getIdParton
EvtId getIdParton(int i)
Definition
EvtStringParticle.cc:73
EvtStringParticle::rotateToHelicityBasis
EvtSpinDensity rotateToHelicityBasis() const
Definition
EvtStringParticle.cc:77
EvtStringParticle::init
void init(EvtId id, const EvtVector4R &p4)
Definition
EvtStringParticle.cc:47
EvtStringParticle::getNPartons
int getNPartons()
Definition
EvtStringParticle.cc:71
EvtStringParticle::~EvtStringParticle
virtual ~EvtStringParticle()
Definition
EvtStringParticle.cc:28
EvtStringParticle::EvtStringParticle
EvtStringParticle()
Definition
EvtStringParticle.cc:38
EvtStringParticle::initPartons
void initPartons(int npartons, EvtVector4R *p4partons, EvtId *idpartons)
Definition
EvtStringParticle.cc:54
EvtVector4R
Definition
EvtVector4R.hh:29
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtStringParticle.hh
Generated by
1.16.1