BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtVectorParticle.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/EvtVectorParticle.hh
12
//
13
// Description: Class to describe vector particles.
14
//
15
// Modification history:
16
//
17
// DJL/RYD September 25, 1996 Module created
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef EVTVECTORPARTICLE_HH
22
#define EVTVECTORPARTICLE_HH
23
24
#include "
EvtParticle.hh
"
25
#include "
EvtVector4C.hh
"
26
#include "
EvtVector4R.hh
"
27
28
class
EvtId
;
29
30
class
EvtVectorParticle
:
public
EvtParticle
{
31
32
public
:
33
EvtVectorParticle
() {}
34
virtual
~EvtVectorParticle
();
35
36
void
init
(
EvtId
part_n,
double
e,
double
px,
double
py,
double
pz );
37
void
init
(
EvtId
part_n,
const
EvtVector4R
& p );
38
EvtVector4C
epsParent
(
int
i )
const
{
return
boostTo
( _eps[i], this->
getP4
() ); }
39
EvtVector4C
eps
(
int
i )
const
{
return
_eps[i]; }
40
EvtSpinDensity
rotateToHelicityBasis
()
const
;
41
EvtSpinDensity
rotateToHelicityBasis
(
double
alpha
,
double
beta,
double
gamma )
const
;
42
43
private
:
44
EvtVector4C
_eps[3];
45
46
EvtVectorParticle
(
const
EvtVectorParticle
& vector );
47
EvtVectorParticle
& operator=(
const
EvtVectorParticle
& vector );
48
};
49
50
#endif
boostTo
EvtDiracSpinor boostTo(const EvtDiracSpinor &sp, const EvtVector4R p4)
Definition
EvtDiracSpinor.cc:67
EvtParticle.hh
alpha
double alpha
Definition
EvtPhokharaDef.hh:17
EvtVector4C.hh
EvtVector4R.hh
EvtId
Definition
EvtId.hh:27
EvtParticle::getP4
const EvtVector4R & getP4() const
Definition
EvtParticle.cc:108
EvtParticle::EvtParticle
EvtParticle()
Definition
EvtParticle.cc:61
EvtSpinDensity
Definition
EvtSpinDensity.hh:26
EvtVector4C
Definition
EvtVector4C.hh:31
EvtVector4R
Definition
EvtVector4R.hh:29
EvtVectorParticle
Definition
EvtVectorParticle.hh:30
EvtVectorParticle::~EvtVectorParticle
virtual ~EvtVectorParticle()
Definition
EvtVectorParticle.cc:31
EvtVectorParticle::rotateToHelicityBasis
EvtSpinDensity rotateToHelicityBasis() const
Definition
EvtVectorParticle.cc:59
EvtVectorParticle::EvtVectorParticle
EvtVectorParticle()
Definition
EvtVectorParticle.hh:33
EvtVectorParticle::epsParent
EvtVector4C epsParent(int i) const
Definition
EvtVectorParticle.hh:38
EvtVectorParticle::init
void init(EvtId part_n, double e, double px, double py, double pz)
Definition
EvtVectorParticle.cc:33
EvtVectorParticle::eps
EvtVector4C eps(int i) const
Definition
EvtVectorParticle.hh:39
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtVectorParticle.hh
Generated by
1.16.1