BOSS
7.1.2
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
BOSS
Used Packages
Requirements
►
How to use the ERS package
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
7.1.2
►
Analysis
►
BesCxxPolicy
►
BesExamples
►
BesPolicy
►
Calibration
►
Control
►
Database
►
DetectorDescription
►
DistBoss
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
▼
Generator
►
Babayaga
►
BabayagaNLO
►
BesBdkRc
▼
BesEvtGen
▼
BesEvtGen-00-04-30
►
EvtGen_i
▼
src
▼
EvtGen
▼
EvtGenBase
►
Evt3Rank3C.cc
►
Evt3Rank3C.hh
►
EvtAbsBinning.hh
EvtAbsLineShape.cc
►
EvtAbsLineShape.hh
►
EvtAbsRadCorr.hh
EvtAmp.cc
►
EvtAmp.hh
►
EvtAmpAmpPdf.hh
►
EvtAmpFactory.hh
EvtAmpIndex.cc
►
EvtAmpIndex.hh
►
EvtAmplitude.hh
►
EvtAmplitudeSum.hh
►
EvtAmpPdf.hh
EvtAmpSubIndex.cc
►
EvtAmpSubIndex.hh
EvtBlattWeisskopf.cc
►
EvtBlattWeisskopf.hh
EvtBreitWignerPdf.cc
►
EvtBreitWignerPdf.hh
EvtCGCoefSingle.cc
►
EvtCGCoefSingle.hh
►
EvtComplex.cc
►
EvtComplex.hh
EvtConst.cc
►
EvtConst.hh
EvtCPUtil.cc
►
EvtCPUtil.hh
EvtCubicSpline.cc
►
EvtCubicSpline.hh
►
EvtCyclic3.cc
►
EvtCyclic3.hh
►
EvtDalitzCoord.cc
►
EvtDalitzCoord.hh
EvtDalitzFlatPdf.cc
►
EvtDalitzFlatPdf.hh
EvtDalitzPlot.cc
►
EvtDalitzPlot.hh
EvtDalitzPoint.cc
►
EvtDalitzPoint.hh
►
EvtDalitzReso.cc
►
EvtDalitzReso.hh
EvtDalitzResPdf.cc
►
EvtDalitzResPdf.hh
EvtDecayAmp.cc
►
EvtDecayAmp.hh
EvtDecayBase.cc
►
EvtDecayBase.hh
EvtDecayIncoherent.cc
►
EvtDecayIncoherent.hh
►
EvtDecayMode.cc
►
EvtDecayMode.hh
EvtDecayParm.cc
►
EvtDecayParm.hh
EvtDecayProb.cc
►
EvtDecayProb.hh
►
EvtDecayTable.cc
►
EvtDecayTable.hh
EvtDecayTag.cc
►
EvtDecayTag.hh
EvtdFunction.cc
►
EvtdFunction.hh
EvtdFunctionSingle.cc
►
EvtdFunctionSingle.hh
EvtDiracParticle.cc
►
EvtDiracParticle.hh
►
EvtDiracSpinor.cc
►
EvtDiracSpinor.hh
EvtEulerAngles.cc
►
EvtEulerAngles.hh
EvtEvalHelAmp.cc
►
EvtEvalHelAmp.hh
►
EvtFlatAmp.hh
EvtFlatLineShape.cc
►
EvtFlatLineShape.hh
EvtFlatte.cc
►
EvtFlatte.hh
EvtFSPick.cc
►
EvtFSPick.hh
►
EvtGammaMatrix.cc
►
EvtGammaMatrix.hh
►
EvtGenKine.cc
►
EvtGenKine.hh
►
EvtHelSys.cc
►
EvtHelSys.hh
EvtHighSpinParticle.cc
►
EvtHighSpinParticle.hh
EvtHis2F.cc
►
EvtHis2F.hh
►
EvtId.cc
►
EvtId.hh
EvtIdSet.cc
►
EvtIdSet.hh
EvtIntegPdf1D.cc
►
EvtIntegPdf1D.hh
EvtIntervalFlatPdf.cc
►
EvtIntervalFlatPdf.hh
►
EvtKine.cc
►
EvtKine.hh
►
EvtMacros.hh
EvtManyDeltaFuncLineShape.cc
►
EvtManyDeltaFuncLineShape.hh
EvtMassAmp.cc
►
EvtMassAmp.hh
►
EvtMatrix.hh
EvtMBreitWigner.cc
►
EvtMBreitWigner.hh
EvtMHelAmp.cc
►
EvtMHelAmp.hh
EvtMNode.cc
►
EvtMNode.hh
EvtModel.cc
►
EvtModel.hh
EvtModelAlias.cc
►
EvtModelAlias.hh
EvtMParticle.cc
►
EvtMParticle.hh
►
EvtMRes.hh
EvtMTree.cc
►
EvtMTree.hh
EvtMTrivialLS.cc
►
EvtMTrivialLS.hh
EvtMultiChannelParser.cc
►
EvtMultiChannelParser.hh
EvtmyEulerAngles.cc
►
EvtmyEulerAngles.hh
EvtNeutrinoParticle.cc
►
EvtNeutrinoParticle.hh
EvtNT3.cc
►
EvtNT3.hh
EvtOrthogVector.cc
►
EvtOrthogVector.hh
EvtParityC.cc
►
EvtParityC.hh
►
EvtParser.cc
►
EvtParser.hh
►
EvtParticle.cc
►
EvtParticle.hh
EvtParticleDecay.cc
►
EvtParticleDecay.hh
EvtParticleDecayList.cc
►
EvtParticleDecayList.hh
EvtParticleFactory.cc
►
EvtParticleFactory.hh
EvtPartProp.cc
►
EvtPartProp.hh
EvtPatches.hh
►
EvtPdf.hh
►
EvtPdfMax.hh
►
EvtPdfSum.hh
EvtPDL.cc
►
EvtPDL.hh
EvtPhotonParticle.cc
►
EvtPhotonParticle.hh
EvtPoint1D.cc
►
EvtPoint1D.hh
►
EvtPointPred.hh
EvtPolInt.cc
►
EvtPolInt.hh
►
EvtPredGen.hh
►
EvtPropagator.hh
EvtPropBreitWigner.cc
►
EvtPropBreitWigner.hh
EvtPropBreitWignerRel.cc
►
EvtPropBreitWignerRel.hh
EvtPto3PAmp.cc
►
EvtPto3PAmp.hh
EvtPto3PAmpFactory.cc
►
EvtPto3PAmpFactory.hh
EvtRadCorr.cc
►
EvtRadCorr.hh
EvtRandom.cc
►
EvtRandom.hh
EvtRandomEngine.cc
►
EvtRandomEngine.hh
►
EvtRanFor.cc
►
EvtRaritaSchwinger.cc
►
EvtRaritaSchwinger.hh
EvtRaritaSchwingerParticle.cc
►
EvtRaritaSchwingerParticle.hh
EvtRelBreitWignerBarrierFact.cc
►
EvtRelBreitWignerBarrierFact.hh
►
EvtReport.cc
►
EvtReport.hh
EvtResonance.cc
►
EvtResonance.hh
EvtResonance2.cc
►
EvtResonance2.hh
EvtScalarParticle.cc
►
EvtScalarParticle.hh
►
EvtSecondary.cc
►
EvtSecondary.hh
EvtSemiLeptonicAmp.cc
►
EvtSemiLeptonicAmp.hh
EvtSemiLeptonicBaryonAmp.cc
►
EvtSemiLeptonicBaryonAmp.hh
►
EvtSemiLeptonicFF.hh
EvtSemiLeptonicScalarAmp.cc
►
EvtSemiLeptonicScalarAmp.hh
EvtSemiLeptonicTensorAmp.cc
►
EvtSemiLeptonicTensorAmp.hh
EvtSemiLeptonicVectorAmp.cc
►
EvtSemiLeptonicVectorAmp.hh
►
EvtSpinAmp.cc
►
EvtSpinAmp.hh
►
EvtSpinDensity.cc
►
EvtSpinDensity.hh
►
EvtSpinType.hh
►
EvtStatus.hh
►
EvtStdHep.cc
►
EvtStdHep.hh
►
EvtStdlibRandomEngine.hh
►
EvtStreamAdapter.hh
►
EvtStreamInputIterator.hh
►
EvtStringHash.hh
EvtStringParticle.cc
►
EvtStringParticle.hh
EvtSymTable.cc
►
EvtSymTable.hh
►
EvtTensor3C.cc
►
EvtTensor3C.hh
►
EvtTensor4C.cc
►
EvtTensor4C.hh
EvtTensorParticle.cc
►
EvtTensorParticle.hh
►
EvtTwoBodyKine.cc
►
EvtTwoBodyKine.hh
►
EvtTwoBodyVertex.cc
►
EvtTwoBodyVertex.hh
►
EvtValError.cc
►
EvtValError.hh
►
EvtVector3C.cc
►
EvtVector3C.hh
►
EvtVector3R.cc
►
EvtVector3R.hh
►
EvtVector4C.cc
►
EvtVector4C.hh
►
EvtVector4R.cc
►
EvtVector4R.hh
EvtVectorParticle.cc
►
EvtVectorParticle.hh
►
EvtGenModels
►
EvtGen.cc
►
EvtGen.hh
►
phokhara
►
EvtDecay.cxx
ReadME.cxx
►
user
►
BesGenInterface
►
BesGenModule
►
BesTwogam
►
Bhlumi
►
Bhwide
►
CosmicGenerator
►
Eepipi
►
EeTo4e
►
EeToeeV
►
Ekhara
►
GenAnalysisTools
►
GeneratorModule
►
GeneratorObject
►
GeneratorUtil
►
KKMC
►
McEventSelector
►
Mcgpj
►
Phokhara
►
SingleParticleGun
►
InstallArea
►
LumTauAlg
►
MagneticField
►
Mdc
►
Muc
►
OfflineEvtFilter
►
Reconstruction
►
RootPolicy
►
Simulation
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
EvtDecayIncoherent.cc
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/EvtDecayIncoherent.cc
12
//
13
// Description:
14
//
15
// Modification history:
16
//
17
// DJL/RYD August 11, 1998 Module created
18
//
19
//------------------------------------------------------------------------
20
#include "
EvtGenBase/EvtPatches.hh
"
21
22
#include "
EvtGenBase/EvtDecayBase.hh
"
23
#include "
EvtGenBase/EvtDecayIncoherent.hh
"
24
#include "
EvtGenBase/EvtParticle.hh
"
25
#include "
EvtGenBase/EvtRadCorr.hh
"
26
#include "
EvtGenBase/EvtReport.hh
"
27
#include "
EvtGenBase/EvtPDL.hh
"
28
29
void
EvtDecayIncoherent::makeDecay
(
EvtParticle
* p){
30
31
int
i;
32
//initialize this the hard way..
33
//Lange June 26, 2000
34
for
(i=0; i<
MAX_DAUG
; i++ ) { spinDensitySet[i]=0;}
35
_daugsDecayedByParentModel
=
false
;
36
37
decay
(p);
38
p->
setDecayProb
(1.);
39
40
EvtSpinDensity
rho;
41
42
rho.
SetDiag
(p->
getSpinStates
());
43
44
p->
setSpinDensityBackward
(rho);
45
46
if
(
getPHOTOS
() ||
EvtRadCorr::alwaysRadCorr
()) {
47
EvtRadCorr::doRadCorr
(p);
48
}
49
50
//Now decay the daughters.
51
52
if
( !
daugsDecayedByParentModel
()) {
53
54
for
(i=0;i<p->
getNDaug
();i++){
55
//Need to set the spin density of the daughters to be
56
//diagonal.
57
rho.
SetDiag
(p->
getDaug
(i)->
getSpinStates
());
58
//if (p->getDaug(i)->getNDaug()==0){
59
//only do this if the user has not already set the
60
//spin density matrix herself.
61
//Lange June 26, 2000
62
if
(
isDaughterSpinDensitySet
(i)==0 ) {
63
p->
getDaug
(i)->
setSpinDensityForward
(rho);
64
}
65
else
{
66
//report(INFO,"EvtGen") << "spinDensitymatrix already set!!!\n";
67
EvtSpinDensity
temp=p->
getDaug
(i)->
getSpinDensityForward
();
68
// report(INFO,"EvtGen") <<temp<<endl;
69
}
70
//Now decay the daughter. Really!
71
p->
getDaug
(i)->
decay
();
72
}
73
74
}
75
}
29
void
EvtDecayIncoherent::makeDecay
(
EvtParticle
* p) {
…
}
76
77
78
79
80
81
82
EvtDecayBase.hh
EvtDecayIncoherent.hh
EvtPDL.hh
EvtParticle.hh
MAX_DAUG
const int MAX_DAUG
Definition
EvtParticle.hh:38
EvtPatches.hh
EvtRadCorr.hh
EvtReport.hh
EvtDecayBase::getPHOTOS
int getPHOTOS()
Definition
EvtDecayBase.hh:68
EvtDecayBase::decay
virtual void decay(EvtParticle *p)=0
EvtDecayBase::daugsDecayedByParentModel
bool daugsDecayedByParentModel()
Definition
EvtDecayBase.hh:110
EvtDecayBase::_daugsDecayedByParentModel
bool _daugsDecayedByParentModel
Definition
EvtDecayBase.hh:109
EvtDecayIncoherent::makeDecay
void makeDecay(EvtParticle *p)
Definition
EvtDecayIncoherent.cc:29
EvtDecayIncoherent::isDaughterSpinDensitySet
int isDaughterSpinDensitySet(int daughter)
Definition
EvtDecayIncoherent.hh:39
EvtParticle
Definition
EvtParticle.hh:42
EvtParticle::setSpinDensityBackward
void setSpinDensityBackward(const EvtSpinDensity &rho)
Definition
EvtParticle.hh:357
EvtParticle::setSpinDensityForward
void setSpinDensityForward(const EvtSpinDensity &rho)
Definition
EvtParticle.hh:326
EvtParticle::setDecayProb
void setDecayProb(double p)
Definition
EvtParticle.cc:1203
EvtParticle::decay
void decay()
Definition
EvtParticle.cc:403
EvtParticle::getSpinStates
int getSpinStates() const
Definition
EvtParticle.cc:117
EvtParticle::getNDaug
int getNDaug() const
Definition
EvtParticle.cc:124
EvtParticle::getDaug
EvtParticle * getDaug(int i)
Definition
EvtParticle.cc:84
EvtParticle::getSpinDensityForward
EvtSpinDensity getSpinDensityForward()
Definition
EvtParticle.hh:352
EvtRadCorr::alwaysRadCorr
static bool alwaysRadCorr()
Definition
EvtRadCorr.cc:65
EvtRadCorr::doRadCorr
static void doRadCorr(EvtParticle *p)
Definition
EvtRadCorr.cc:52
EvtSpinDensity
Definition
EvtSpinDensity.hh:27
EvtSpinDensity::SetDiag
void SetDiag(int n)
Definition
EvtSpinDensity.cc:109
7.1.2
Generator
BesEvtGen
BesEvtGen-00-04-30
src
EvtGen
EvtGenBase
EvtDecayIncoherent.cc
Generated by
1.12.0