BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtHelSys.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of models developed at BES collaboration
5// based on the EvtGen framework. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/BesCopyright
9// Copyright (A) 2006 Ping Rong-Gang @IHEP
10//
11// Module: EvtDIY.cc
12//
13// Description: Class to boost a daughter momentum into the mother helicity system
14//
15// Modification history:
16//
17// Ping R.-G. December, 2006 Module created
18//
19//------------------------------------------------------------------------
20//
21
22#ifndef EVTHELSYS_HH
23#define EVTHELSYS_HH
24
25// #include "EvtPatches.hh"
26#include <iostream>
27// #include <math.h>
28#include "EvtComplex.hh"
29#include "EvtVector3R.hh"
30#include "EvtVector4R.hh"
31
32#include <fstream>
33// #include <stdio.h>
34// #include <stdlib.h>
35// #include <sys/stat.h>
36// #include "EvtParticle.hh"
37// #include "EvtReport.hh"
38// #include "EvtCPUtil.hh"
39// #include "EvtParticleFactory.hh"
40
41using std::endl;
42using std::fstream;
43EvtComplex Djmn( int j, int m, int n, double phi, double theta, double gamma );
44class EvtHelSys {
45
46 friend double djmn( int j, int m, int n, double theta );
47 friend double djmn( double j, double m, double n, double theta );
48 friend EvtComplex Djmn( int j, int m, int n, double phi, double theta, double gamma );
49 friend EvtComplex Djmn( double j, double m, double n, double phi, double theta,
50 double gamma );
51
52public:
53 // destructor
54 virtual ~EvtHelSys();
55
56 // constructor
57 EvtHelSys();
58 EvtHelSys( const EvtVector4R& p4p, const EvtVector4R& p4d );
59
60 double getHelAng( int i ), Angles( EvtVector4R, int );
61
63
64 EvtVector4R Helrotate( EvtVector4R p1, double phi, double theta );
65
66private:
67 EvtVector4R _p4parent, _p4daug, _bp4p, _rotatep4p, _rotatep4d, _bst;
68};
69
70#endif
double p1[4]
const Int_t n
EvtComplex Djmn(int j, int m, int n, double phi, double theta, double gamma)
Definition EvtHelSys.cc:165
EvtVector4R checkst(int i)
Definition EvtHelSys.cc:86
friend EvtComplex Djmn(int j, int m, int n, double phi, double theta, double gamma)
Definition EvtHelSys.cc:165
EvtVector4R Helrotate(EvtVector4R p1, double phi, double theta)
Definition EvtHelSys.cc:97
double getHelAng(int i)
Definition EvtHelSys.cc:52
friend double djmn(int j, int m, int n, double theta)
Definition EvtHelSys.cc:153
EvtVector4R checkdaug()
Definition EvtHelSys.cc:85
EvtVector4R checkparent()
Definition EvtHelSys.cc:84
virtual ~EvtHelSys()
Definition EvtHelSys.cc:43
double Angles(EvtVector4R, int)
Definition EvtHelSys.cc:110