MINT2
MakePreIntegratedAmplitudes.h
Go to the documentation of this file.
1 #ifndef MAKE_PREINTEGRATED_AMPLITUDES_HH
2 #define MAKE_PREINTEGRATED_AMPLITUDES_HH
3 
5 #include <string>
6 #include "TRandom.h"
7 
10  std::string _opt;
11  double _prec;
12  std::string _fname;
13  std::string _eventsFname;
15  TRandom* _rnd;
16  const std::string& makeFname(const std::string& prefix);
17  const std::string& makeEventsFname();
18  bool includeCPCon() const;
19  public:
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 //
const std::string & fname() const
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)
const std::string & eventsFname() const
const std::string & makeFname(const std::string &prefix)