#include <Mint/HadronicParameters.h>
#include <Mint/NamedParameter.h>
#include <Mint/NamedParameterBase.h>
#include <Mint/DalitzEvent.h>
#include <Mint/DalitzEventPattern.h>
#include <TRandom3.h>
#include <Mint/FitAmpSum.h>
#include <iostream>
#include <fstream>
#include <ctime>
Go to the source code of this file.
◆ calculateHadronicParameters()
int calculateHadronicParameters |
( |
const string & |
config = string() | ) |
|
Definition at line 15 of file calculateHadronicParameters.cpp.
16 if(config.size() > 0){
17 cout <<
"Using config file " << config << endl ;
31 ranLux.SetSeed((
int)RandomSeed);
38 if(
string(binningType) ==
string(
"model3body"))
46 cout <<
"Calculating parameters with random seed " << int(RandomSeed) <<
" for " 47 << int(Nevents) <<
" events." << endl ;
48 int startTime(time(0)) ;
49 pars.add(pat, ranLux,
int(Nevents)) ;
50 int endTime(time(0)) ;
51 cout <<
"Finished calculating. Took " << (endTime - startTime) <<
" s, " 52 <<
float(endTime - startTime)/Nevents <<
" s/event." << endl ;
57 cout <<
"Calculated parameters:" << endl ;
58 pars.Print(
string(parsName)) ;
61 pars.write(parsName, outputFile) ;
Class for determining if an event lives in a +ve or -ve bin.
static bool setDefaultInputFile(const std::string &fname)
Phase binning class for 3-body decays using the line s13=s23 to determine favoured/suppressed.
MINT::counted_ptr< PhaseBinningBase > BinningPtr
Pointer to the binning scheme.
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |