#include <DalitzBWBox.h>
Definition at line 22 of file DalitzBWBox.h.
◆ DalitzBWBox() [1/5]
DalitzBWBox::DalitzBWBox |
( |
TRandom * |
rnd = gRandom | ) |
|
Definition at line 17 of file DalitzBWBox.cpp.
MINT::IReturnRealForEvent< IDalitzEvent > * _amps
◆ DalitzBWBox() [2/5]
Definition at line 27 of file DalitzBWBox.cpp.
MINT::IReturnRealForEvent< IDalitzEvent > * _amps
bool setAmps(MINT::IReturnRealForEvent< IDalitzEvent > *amps)
◆ DalitzBWBox() [3/5]
Definition at line 40 of file DalitzBWBox.cpp.
45 ,
_area(pat, pdf, rnd)
MINT::IReturnRealForEvent< IDalitzEvent > * _amps
bool setAmps(MINT::IReturnRealForEvent< IDalitzEvent > *amps)
◆ DalitzBWBox() [4/5]
Definition at line 54 of file DalitzBWBox.cpp.
59 ,
_area(pat, limits, rnd)
MINT::IReturnRealForEvent< IDalitzEvent > * _amps
bool setAmps(MINT::IReturnRealForEvent< IDalitzEvent > *amps)
◆ DalitzBWBox() [5/5]
Definition at line 68 of file DalitzBWBox.cpp.
MINT::IReturnRealForEvent< IDalitzEvent > * _amps
◆ ~DalitzBWBox()
DalitzBWBox::~DalitzBWBox |
( |
| ) |
|
|
virtual |
◆ area() [1/2]
◆ area() [2/2]
◆ checkIntegration()
bool DalitzBWBox::checkIntegration |
( |
| ) |
const |
|
inline |
◆ genValue()
double DalitzBWBox::genValue |
( |
const DalitzEvent & |
evt | ) |
const |
Definition at line 115 of file DalitzBWBox.cpp.
118 cout <<
"DalitzBWBox::genValue called " << endl;
123 cout <<
"DalitzBWBox::genValue returning " 126 << returnVal << endl;
const MappedDalitzBWArea & area() const
double genValue(const DalitzEvent &evt) const
◆ height() [1/2]
double& DalitzBWBox::height |
( |
| ) |
|
|
inline |
◆ height() [2/2]
const double& DalitzBWBox::height |
( |
| ) |
const |
|
inline |
◆ insideArea()
bool DalitzBWBox::insideArea |
( |
const DalitzEvent & |
evt | ) |
const |
Definition at line 87 of file DalitzBWBox.cpp.
bool isInside(const DalitzEvent &evt) const
const MappedDalitzBWArea & area() const
◆ makeEventForOwner() [1/2]
Definition at line 137 of file DalitzBWBox.cpp.
MINT::counted_ptr< DalitzEvent > makeEventForOwner()
◆ makeEventForOwner() [2/2]
Definition at line 141 of file DalitzBWBox.cpp.
144 int maxTries = 10000000;
145 for(
int i=0; i< maxTries; i++){
147 if(dbThis && 0 != evt) cout <<
" DalitzBWBox::makeEventForOwner() got event " << evt << endl;
149 if(dbThis) cout <<
"DalitzBWBox::makeEventForOwner() - made event for value: " 155 cout <<
"WARINING DalitzBWBox::makeEventForOwner() - no success after " << maxTries
156 <<
" tries. Returning 0"
double genValue(const DalitzEvent &evt) const
MINT::counted_ptr< DalitzEvent > tryNewEvent()
◆ name()
const std::string& DalitzBWBox::name |
( |
| ) |
const |
|
inline |
◆ pattern() [1/2]
◆ pattern() [2/2]
◆ print()
void DalitzBWBox::print |
( |
std::ostream & |
os = std::cout | ) |
const |
Definition at line 178 of file DalitzBWBox.cpp.
179 os <<
"DalitzBWBox: " <<
name()
180 <<
"\n area " <<
area();
const std::string & name() const
const MappedDalitzBWArea & area() const
◆ setAmps()
Definition at line 78 of file DalitzBWBox.cpp.
80 if(0 ==
_amps)
return false;
MINT::IReturnRealForEvent< IDalitzEvent > * _amps
◆ setName()
void DalitzBWBox::setName |
( |
const std::string & |
name | ) |
|
|
inline |
Definition at line 62 of file DalitzBWBox.h.
const std::string & name() const
◆ setRnd()
bool DalitzBWBox::setRnd |
( |
TRandom * |
rnd = gRandom | ) |
|
Definition at line 173 of file DalitzBWBox.cpp.
bool setRnd(TRandom *rnd=gRandom)
const MappedDalitzBWArea & area() const
◆ setUnWeightPs()
void DalitzBWBox::setUnWeightPs |
( |
bool |
doSo = true | ) |
|
|
inline |
Definition at line 75 of file DalitzBWBox.h.
void setUnWeightPs(bool doSo=true)
◆ tryEventForOwner()
Definition at line 131 of file DalitzBWBox.cpp.
MINT::counted_ptr< DalitzEvent > tryNewEvent()
◆ tryNewEvent()
Definition at line 163 of file DalitzBWBox.cpp.
166 if(dbThis && 0 != evt) {
167 cout <<
" DalitzBWBox::tryNewEvent() got event with weight " 168 << evt->getWeight() << endl;
const MappedDalitzBWArea & area() const
MINT::counted_ptr< DalitzEvent > tryEventForOwner()
◆ unWeightPs()
bool DalitzBWBox::unWeightPs |
( |
| ) |
|
|
inline |
◆ volume()
double DalitzBWBox::volume |
( |
| ) |
const |
Definition at line 105 of file DalitzBWBox.cpp.
109 cout <<
" DalitzBWBox::volume() " <<
name() <<
": "
const std::string & name() const
const MappedDalitzBWArea & area() const
◆ _amps
◆ _area
◆ _height
double DalitzBWBox::_height |
|
private |
◆ _name
std::string DalitzBWBox::_name |
|
private |
◆ _pat
◆ _rnd
TRandom* DalitzBWBox::_rnd |
|
private |
The documentation for this class was generated from the following files: