BOSS
7.1.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 "
EvtGenBase/EvtVector4C.hh
"
25
#include "
EvtGenBase/EvtParticle.hh
"
26
//#include "EvtGenBase/EvtId.hh"
27
class
EvtId
;
28
29
//Class to handle massless spin 1 particles.
30
31
class
EvtPhotonParticle
:
public
EvtParticle
{
32
33
public
:
34
35
EvtPhotonParticle
(){}
36
virtual
~EvtPhotonParticle
();
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
42
EvtVector4C
epsParentPhoton
(
int
i);
43
EvtVector4C
epsPhoton
(
int
i);
44
45
46
EvtSpinDensity
rotateToHelicityBasis
()
const
;
47
EvtSpinDensity
rotateToHelicityBasis
(
double
alpha
,
48
double
beta,
49
double
gamma)
const
;
50
51
private
:
52
53
EvtVector4C
eps1,eps2;
54
int
_evalBasis;
55
56
EvtPhotonParticle
(
const
EvtPhotonParticle
& photon);
57
EvtPhotonParticle
& operator=(
const
EvtPhotonParticle
& photon);
58
59
};
60
61
#endif
62
EvtParticle.hh
EvtVector4C.hh
alpha
const double alpha
Definition:
FastVertexFit.cxx:4
EvtId
Definition:
EvtId.hh:27
EvtParticle
Definition:
EvtParticle.hh:42
EvtPhotonParticle
Definition:
EvtPhotonParticle.hh:31
EvtPhotonParticle::~EvtPhotonParticle
virtual ~EvtPhotonParticle()
Definition:
EvtPhotonParticle.cc:31
EvtPhotonParticle::rotateToHelicityBasis
EvtSpinDensity rotateToHelicityBasis() const
Definition:
EvtPhotonParticle.cc:112
EvtPhotonParticle::epsPhoton
EvtVector4C epsPhoton(int i)
Definition:
EvtPhotonParticle.cc:102
EvtPhotonParticle::epsParentPhoton
EvtVector4C epsParentPhoton(int i)
Definition:
EvtPhotonParticle.cc:53
EvtPhotonParticle::EvtPhotonParticle
EvtPhotonParticle()
Definition:
EvtPhotonParticle.hh:35
EvtSpinDensity
Definition:
EvtSpinDensity.hh:27
EvtVector4C
Definition:
EvtVector4C.hh:31
EvtVector4R
Definition:
EvtVector4R.hh:29
p4
double double double * p4
Definition:
qcdloop1.h:77
source
Generator
BesEvtGen
BesEvtGen-00-04-26
src
EvtGen
EvtGenBase
EvtPhotonParticle.hh
Generated by
1.9.6