MINT2
Mint
MakePreIntegratedAmplitudes.h
Go to the documentation of this file.
1
#ifndef MAKE_PREINTEGRATED_AMPLITUDES_HH
2
#define MAKE_PREINTEGRATED_AMPLITUDES_HH
3
4
#include "
Mint/DalitzEventPattern.h
"
5
#include <string>
6
#include "TRandom.h"
7
8
class
MakePreIntegratedAmplitudes
{
9
DalitzEventPattern
_pat
;
10
std::string
_opt
;
11
double
_prec
;
12
std::string
_fname
;
13
std::string
_eventsFname
;
14
bool
_generateEventsIfNeeded
;
15
TRandom*
_rnd
;
16
const
std::string&
makeFname
(
const
std::string& prefix);
17
const
std::string&
makeEventsFname
();
18
bool
includeCPCon
()
const
;
19
public
:
20
MakePreIntegratedAmplitudes
(
const
DalitzEventPattern
& pat
21
,
const
std::string& opt
22
,
double
prec
23
,
const
std::string& integEventsFname=
""
24
,
const
std::string& fnamePrefix=
""
25
,
const
std::string& generateEventsIfNeeded=
26
"DoGenerate"
27
, TRandom* rnd=gRandom
28
);
29
30
const
std::string&
fname
()
const
{
return
_fname
;}
31
const
std::string&
eventsFname
()
const
{
return
_eventsFname
;}
32
std::string
defaultEventsFname
()
const
;
33
bool
doit
();
34
};
35
#endif
36
//
MakePreIntegratedAmplitudes::fname
const std::string & fname() const
Definition:
MakePreIntegratedAmplitudes.h:30
MakePreIntegratedAmplitudes::_fname
std::string _fname
Definition:
MakePreIntegratedAmplitudes.h:12
MakePreIntegratedAmplitudes::doit
bool doit()
Definition:
MakePreIntegratedAmplitudes.cpp:75
MakePreIntegratedAmplitudes::_eventsFname
std::string _eventsFname
Definition:
MakePreIntegratedAmplitudes.h:13
MakePreIntegratedAmplitudes::MakePreIntegratedAmplitudes
MakePreIntegratedAmplitudes(const DalitzEventPattern &pat, const std::string &opt, double prec, const std::string &integEventsFname="", const std::string &fnamePrefix="", const std::string &generateEventsIfNeeded="DoGenerate", TRandom *rnd=gRandom)
Definition:
MakePreIntegratedAmplitudes.cpp:15
MakePreIntegratedAmplitudes::_rnd
TRandom * _rnd
Definition:
MakePreIntegratedAmplitudes.h:15
MakePreIntegratedAmplitudes::eventsFname
const std::string & eventsFname() const
Definition:
MakePreIntegratedAmplitudes.h:31
MakePreIntegratedAmplitudes::_opt
std::string _opt
Definition:
MakePreIntegratedAmplitudes.h:10
DalitzEventPattern.h
MakePreIntegratedAmplitudes::_generateEventsIfNeeded
bool _generateEventsIfNeeded
Definition:
MakePreIntegratedAmplitudes.h:14
MakePreIntegratedAmplitudes
Definition:
MakePreIntegratedAmplitudes.h:8
MakePreIntegratedAmplitudes::includeCPCon
bool includeCPCon() const
Definition:
MakePreIntegratedAmplitudes.cpp:70
MakePreIntegratedAmplitudes::_prec
double _prec
Definition:
MakePreIntegratedAmplitudes.h:11
DalitzEventPattern
Definition:
DalitzEventPattern.h:17
MakePreIntegratedAmplitudes::makeFname
const std::string & makeFname(const std::string &prefix)
Definition:
MakePreIntegratedAmplitudes.cpp:37
MakePreIntegratedAmplitudes::defaultEventsFname
std::string defaultEventsFname() const
Definition:
MakePreIntegratedAmplitudes.cpp:67
MakePreIntegratedAmplitudes::_pat
DalitzEventPattern _pat
Definition:
MakePreIntegratedAmplitudes.h:9
MakePreIntegratedAmplitudes::makeEventsFname
const std::string & makeEventsFname()
Definition:
MakePreIntegratedAmplitudes.cpp:62
Generated by
1.8.15