BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtScalarParticle.cc
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: EvtScalarParticle.cc
12//
13// Description: Class to describe scalar particles
14//
15// Modification history:
16//
17// DJL/RYD September 25, 1996 Module created
18//
19//------------------------------------------------------------------------
20//
22#include <iostream>
23#include <math.h>
27
28
29void EvtScalarParticle::init(EvtId part_n,double e,double px,double py,double pz){
30
31 _validP4=true;
32 setp(e,px,py,pz);
33 setpart_num(part_n);
34
36
37}
38
40
41
43
44 _validP4=true;
45 setp(p4);
46 setpart_num(part_n);
47
49
50}
51
53
55 R.SetDim(1);
56
57 R.Set(0,0,1.0);
58
59 return R;
60
61}
62
63
65 double beta,
66 double gamma) const{
67
69 R.SetDim(1);
70
71 R.Set(0,0,1.0);
72
73 return R;
74
75}
76
const double alpha
Definition: EvtId.hh:27
void setLifetime()
Definition: EvtParticle.cc:92
void setp(double e, double px, double py, double pz)
Definition: EvtParticle.hh:403
void setpart_num(EvtId particle_number)
Definition: EvtParticle.hh:405
EvtSpinDensity rotateToHelicityBasis() const
virtual ~EvtScalarParticle()
void init(EvtId part_n, double e, double px, double py, double pz)
double double double * p4
Definition: qcdloop1.h:77