BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPhotonParticle.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/EvtPhotonParticle.hh
12//
13// Description:Class to describe photons
14//
15// Modification history:
16//
17// DJL/RYD Sept. 25, 1996 Module created
18//
19//------------------------------------------------------------------------
20
21#ifndef EVTPHOTONPARTICLE_HH
22#define EVTPHOTONPARTICLE_HH
23
24#include "EvtGenBase/EvtVector4C.hh"
25#include "EvtGenBase/EvtParticle.hh"
26//#include "EvtGenBase/EvtId.hh"
27class EvtId;
28
29//Class to handle massless spin 1 particles.
30
31class EvtPhotonParticle: public EvtParticle {
32
33public:
34
37
38 void init(EvtId part_n,double e,double px,double py,double pz);
39 void init(EvtId part_n,const EvtVector4R& p4);
40
41 //Return polarization vectors
44
45
48 double beta,
49 double gamma) const;
50
51private:
52
53 EvtVector4C eps1,eps2;
54 int _evalBasis;
55
57 EvtPhotonParticle& operator=(const EvtPhotonParticle& photon);
58
59};
60
61#endif
62
const double alpha
EvtSpinDensity rotateToHelicityBasis(double alpha, double beta, double gamma) const
virtual ~EvtPhotonParticle()
void init(EvtId part_n, const EvtVector4R &p4)
EvtSpinDensity rotateToHelicityBasis() const
void init(EvtId part_n, double e, double px, double py, double pz)
EvtVector4C epsPhoton(int i)
EvtVector4C epsParentPhoton(int i)