MINT2
FoamDalitzMC.h
Go to the documentation of this file.
1 #ifndef MINTS_FOAM_DALTIZ_MC_GENERATOR_HH
2 #define MINTS_FOAM_DALTIZ_MC_GENERATOR_HH
3 
4 #include "Mint/BaseGenerator.h"
5 #include "Mint/IDalitzEvent.h"
6 #include "Mint/IEventGenerator.h"
8 
10 
11 #include "TFoam.h"
12 
14 , virtual public MINT::IEventGenerator<IDalitzEvent>{
15  protected:
16  TFoam _foam;
17 
18  public:
19  FoamDalitzMC(const DalitzEventPattern& pat, TRandom* rnd=gRandom);
20  FoamDalitzMC(IFastAmplitudeIntegrable* amps, TRandom* rnd=gRandom);
21 
24 
25 
26 
27  // the below is required by MINT::IEventGenerator<IDalitzEvent>
29 
30  virtual bool exhausted() const{return false;}
31  virtual bool ensureFreshEvents();
32 
33 };
34 
35 #endif
36 //
virtual bool exhausted() const
Definition: FoamDalitzMC.h:30
virtual MINT::counted_ptr< IDalitzEvent > newEvent()=0
virtual MINT::counted_ptr< IDalitzEvent > tryDalitzEvent()
FoamDalitzMC(const DalitzEventPattern &pat, TRandom *rnd=gRandom)
virtual bool ensureFreshEvents()
virtual MINT::counted_ptr< IDalitzEvent > newDalitzEvent()