ThePEG
1.8.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
PDF
PolarizedBeamParticleData.h
1
// -*- C++ -*-
2
//
3
// PolarizedBeamParticleData.h is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2011 Leif Lonnblad
5
//
6
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
7
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8
//
9
#ifndef ThePEG_PolarizedPolarizedBeamParticleData_H
10
#define ThePEG_PolarizedPolarizedBeamParticleData_H
11
// This is the declaration of the PolarizedBeamParticleData class.
12
13
#include "BeamParticleData.h"
14
#include "ThePEG/EventRecord/RhoDMatrix.h"
15
#include "PolarizedBeamParticleData.fh"
16
17
namespace
ThePEG {
18
28
class
PolarizedBeamParticleData
:
public
virtual
BeamParticleData
{
29
30
public
:
31
37
PolarizedBeamParticleData
() :
theLongPolarization
(0.0) {}
39
46
static
PDPtr
Create
(
long
newId,
string
newPDGName);
47
53
static
PDPair
Create
(
long
newId,
string
newPDGName,
string
newAntiPDGName);
55
59
RhoDMatrix
rhoMatrix
()
const
;
60
64
double
longitudinalPolarization
()
const
{
return
theLongPolarization
;}
65
66
public
:
67
74
void
persistentOutput
(
PersistentOStream
& os)
const
;
75
81
void
persistentInput
(
PersistentIStream
& is,
int
version);
83
87
static
void
Init
();
88
89
protected
:
90
95
PolarizedBeamParticleData
(
long
newId,
string
newPDGName);
96
100
virtual
PDPtr
pdclone
()
const
;
101
102
private
:
103
107
double
theLongPolarization
;
108
109
private
:
110
114
static
ClassDescription<PolarizedBeamParticleData>
initPolarizedBeamParticleData
;
115
119
PolarizedBeamParticleData
&
operator=
(
const
PolarizedBeamParticleData
&);
120
121
};
122
127
template
<>
128
struct
BaseClassTrait
<
PolarizedBeamParticleData
,1>:
public
ClassTraitsType
{
130
typedef
BeamParticleData
NthBase
;
131
};
132
135
template
<>
136
struct
ClassTraits<PolarizedBeamParticleData>:
137
public
ClassTraitsBase<PolarizedBeamParticleData> {
139
static
string
className
() {
return
"ThePEG::PolarizedBeamParticleData"
; }
140
};
141
144
}
145
146
#endif
/* ThePEG_PolarizedBeamParticleData_H */
Generated on Mon Jul 2 2012 16:06:47 for ThePEG by
1.8.1.1