BOSS
7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtFlatLineShape.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/EvtAbsLineShape.hh
12
//
13
// Description: Class to keep the particle properties for
14
// one particle
15
//
16
// Modification history:
17
//
18
// Lange March 10, 2001 Module created
19
//
20
//------------------------------------------------------------------------
21
22
#ifndef EVTFLATLINESHAPE_HH
23
#define EVTFLATLINESHAPE_HH
24
25
#include "
EvtGenBase/EvtAbsLineShape.hh
"
26
27
class
EvtFlatLineShape
:
public
EvtAbsLineShape
{
28
29
public
:
30
31
EvtFlatLineShape
();
32
EvtFlatLineShape
(
double
mass
,
double
width,
double
maxRange,
EvtSpinType::spintype
sp);
33
//figure the m1 and l on the fly
34
// double mDaug1, double mDaug2, int l);
35
~EvtFlatLineShape
();
36
EvtFlatLineShape
&
operator=
(
const
EvtFlatLineShape
&
x
);
37
EvtFlatLineShape
(
const
EvtFlatLineShape
&
x
);
38
39
EvtAbsLineShape
*
clone
();
40
41
double
getMassProb
(
double
mass
,
double
massPar,
int
nDaug,
double
*massDau);
42
// othDaugId is the other daughter of the parent in the case of a two body decay (only!)
43
// ie B->rho K rho->pipi, othDaugId = K
44
double
getRandMass
(
EvtId
*parId,
int
nDaug,
EvtId
*dauId,
EvtId
*othDaugId,
double
maxMass,
double
*dauMasses);
45
46
47
protected
:
48
};
49
50
#endif
51
mass
double mass
Definition:
CosmicGenerator.cxx:138
x
Double_t x[10]
Definition:
DataBase/tau_mode.c:57
EvtAbsLineShape.hh
EvtAbsLineShape
Definition:
EvtAbsLineShape.hh:31
EvtFlatLineShape
Definition:
EvtFlatLineShape.hh:27
EvtFlatLineShape::getRandMass
double getRandMass(EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId, double maxMass, double *dauMasses)
Definition:
EvtFlatLineShape.cc:101
EvtFlatLineShape::operator=
EvtFlatLineShape & operator=(const EvtFlatLineShape &x)
Definition:
EvtFlatLineShape.cc:66
EvtFlatLineShape::EvtFlatLineShape
EvtFlatLineShape()
Definition:
EvtFlatLineShape.cc:33
EvtFlatLineShape::clone
EvtAbsLineShape * clone()
Definition:
EvtFlatLineShape.cc:77
EvtFlatLineShape::~EvtFlatLineShape
~EvtFlatLineShape()
Definition:
EvtFlatLineShape.cc:37
EvtFlatLineShape::getMassProb
double getMassProb(double mass, double massPar, int nDaug, double *massDau)
Definition:
EvtFlatLineShape.cc:83
EvtId
Definition:
EvtId.hh:27
EvtSpinType::spintype
spintype
Definition:
EvtSpinType.hh:31
source
Generator
BesEvtGen
BesEvtGen-00-04-26
src
EvtGen
EvtGenBase
EvtFlatLineShape.hh
Generated by
1.9.6