MINT2
DalitzPdfSaveInteg.h
Go to the documentation of this file.
1 #ifndef DALITZ_PDF_SAVE_INTEG_HH
2 #define DALITZ_PDF_SAVE_INTEG_HH
3 
6 
7 #include "Mint/IDalitzEvent.h"
9 #include "Mint/IEventGenerator.h"
10 
11 #include <string>
12 
13 class TRandom;
14 class SignalGenerator;
15 class FromFileGenerator;
16 namespace MINT
17 {
18  class MinuitParameterSet;
19 }
21 
22 class DalitzPdfSaveInteg // saves and retrieves the integration result
23  : public DalitzPdfBaseFastInteg
24  {
25 protected:
26  TRandom* _localRnd;
29  std::string _integratorEventFile;
30  std::string _integratorOutputFile; // be default same as input
31 public:
33  double ampSq = getAmps()->RealVal(evt);
34  return ampSq;
35  }
36 
38  , double precision=1.e-4
39  , const std::string& integInputFiles="Integrator"//could be "intg1,intg2,intg2"
40  , const std::string& integEvtFile="integEvtFile.root"
41  , const std::string& topUpIntegOption="topUp"
43  , const std::string& integOutputFile=""
44  // default: integratorOutputFile = integratorInputFile
45  // (set in constructor)
46  );
49  , double precision=1.e-4
50  , const std::string& integInputFiles="Integrator"//could be "intg1,intg2,intg2"
51  , const std::string& integEvtFile="integEvtFile.root"
52  , const std::string& topUpIntegOption="topUp"
53  , const std::string& integOutputFile=""
54  // default: integratorOutputFile = integratorInputFile
55  // (set in constructor)
56  );
57  // IFastAmplitudeIntegrable* getAmpSum();
58 
60 
61 };
62 #endif
63 //
IFastAmplitudeIntegrable * getAmps()
double un_normalised_noPs(IDalitzEvent &evt)
virtual double RealVal(EVENT_TYPE &evt)=0
std::string _integratorOutputFile
DalitzPdfSaveInteg(const DalitzEventPattern &pat, double precision=1.e-4, const std::string &integInputFiles="Integrator", const std::string &integEvtFile="integEvtFile.root", const std::string &topUpIntegOption="topUp", MINT::MinuitParameterSet *mps=0, const std::string &integOutputFile="")
SignalGenerator * _sgGen
FromFileGenerator * _fileGen
std::string _integratorEventFile