BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtDiracParticle.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/EvtDiracParticle.hh
12//
13// Description:EvtDiracParticle particles i.e. spin 1/2 particles.
14//
15// Modification history:
16//
17// DJL/RYD September 25, 1996 Module created
18//
19//------------------------------------------------------------------------
20
21#ifndef EVTDIRACPARTICLE_HH
22#define EVTDIRACPARTICLE_HH
23
24#include "EvtDiracSpinor.hh"
25#include "EvtParticle.hh"
26// #include "EvtId.hh"
27
28class EvtId;
29class EvtVector4R;
30
32
33public:
35 virtual ~EvtDiracParticle();
36 void init( EvtId part_n, const EvtVector4R& p4 );
37 EvtDiracSpinor spParent( int i ) const { return _spinorParent[i]; }
38 EvtDiracSpinor sp( int i ) const { return _spinorRest[i]; }
40 EvtSpinDensity rotateToHelicityBasis( double alpha, double beta, double gamma ) const;
41
42private:
43 EvtDiracSpinor _spinorRest[2];
44 EvtDiracSpinor _spinorParent[2];
46 EvtDiracParticle& operator=( const EvtDiracParticle& d );
47};
48#endif
double alpha
void init(EvtId part_n, const EvtVector4R &p4)
EvtSpinDensity rotateToHelicityBasis() const
EvtDiracSpinor sp(int i) const
EvtDiracSpinor spParent(int i) const
virtual ~EvtDiracParticle()
Definition EvtId.hh:27