BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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 "
EvtParticle.hh
"
25
#include "
EvtVector4C.hh
"
26
// #include "EvtId.hh"
27
class
EvtId
;
28
29
// Class to handle massless spin 1 particles.
30
31
class
EvtPhotonParticle
:
public
EvtParticle
{
32
33
public
:
34
EvtPhotonParticle
() {}
35
virtual
~EvtPhotonParticle
();
36
37
void
init
(
EvtId
part_n,
double
e,
double
px,
double
py,
double
pz );
38
void
init
(
EvtId
part_n,
const
EvtVector4R
& p4 );
39
40
// Return polarization vectors
41
EvtVector4C
epsParentPhoton
(
int
i );
42
EvtVector4C
epsPhoton
(
int
i );
43
44
EvtSpinDensity
rotateToHelicityBasis
()
const
;
45
EvtSpinDensity
rotateToHelicityBasis
(
double
alpha
,
double
beta,
double
gamma )
const
;
46
47
private
:
48
EvtVector4C
eps1, eps2;
49
int
_evalBasis;
50
51
EvtPhotonParticle
(
const
EvtPhotonParticle
& photon );
52
EvtPhotonParticle
& operator=(
const
EvtPhotonParticle
& photon );
53
};
54
55
#endif
EvtParticle.hh
alpha
double alpha
Definition
EvtPhokharaDef.hh:17
EvtVector4C.hh
EvtId
Definition
EvtId.hh:27
EvtParticle::EvtParticle
EvtParticle()
Definition
EvtParticle.cc:61
EvtPhotonParticle
Definition
EvtPhotonParticle.hh:31
EvtPhotonParticle::~EvtPhotonParticle
virtual ~EvtPhotonParticle()
Definition
EvtPhotonParticle.cc:31
EvtPhotonParticle::rotateToHelicityBasis
EvtSpinDensity rotateToHelicityBasis() const
Definition
EvtPhotonParticle.cc:104
EvtPhotonParticle::init
void init(EvtId part_n, double e, double px, double py, double pz)
Definition
EvtPhotonParticle.cc:38
EvtPhotonParticle::epsPhoton
EvtVector4C epsPhoton(int i)
Definition
EvtPhotonParticle.cc:95
EvtPhotonParticle::epsParentPhoton
EvtVector4C epsParentPhoton(int i)
Definition
EvtPhotonParticle.cc:50
EvtPhotonParticle::EvtPhotonParticle
EvtPhotonParticle()
Definition
EvtPhotonParticle.hh:34
EvtSpinDensity
Definition
EvtSpinDensity.hh:26
EvtVector4C
Definition
EvtVector4C.hh:31
EvtVector4R
Definition
EvtVector4R.hh:29
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtPhotonParticle.hh
Generated by
1.16.1