BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/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 "EvtGenBase/EvtVector4R.hh"
25#include "EvtGenBase/EvtVector4C.hh"
26#include "EvtGenBase/EvtParticle.hh"
27
28class EvtId;
29
30class EvtVectorParticle: public EvtParticle {
31
32public:
33
36
37 void init(EvtId part_n,double e,double px,double py,double pz);
38 void init(EvtId part_n,const EvtVector4R& p);
39 EvtVector4C epsParent(int i) const {return boostTo(_eps[i],this->getP4());}
40 EvtVector4C eps(int i) const {return _eps[i];}
43 double beta,
44 double gamma) const;
45
46private:
47
48 EvtVector4C _eps[3];
49
51 EvtVectorParticle& operator=(const EvtVectorParticle& vector);
52
53};
54
55#endif
56
const double alpha
EvtDiracSpinor boostTo(const EvtDiracSpinor &sp, const EvtVector4R p4)
EvtSpinDensity rotateToHelicityBasis(double alpha, double beta, double gamma) const
EvtSpinDensity rotateToHelicityBasis() const
virtual ~EvtVectorParticle()
void init(EvtId part_n, const EvtVector4R &p)
void init(EvtId part_n, double e, double px, double py, double pz)