MINT2
DalitzBoxSet_Method2.h
Go to the documentation of this file.
1 #ifndef DALITZ_BOX_SET_METHOD_TWO_HH
2 #define DALITZ_BOX_SET_METHOD_TWO_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:17:57 GMT
5 
6 #include "Mint/DalitzBoxSet.h"
8 #include "TRandom.h"
9 
10 #include "Mint/IEventGenerator.h"
11 
13 : public DalitzBoxSet
14 , virtual public MINT::IEventGenerator<IDalitzEvent>
15 {
16 
18 
19  double _maxHeight;
20  void setBoxesToFlat();
21  void getMaxHeight();
22  void setEmptyBoxesHeight();
23  virtual void getReady();
24 
25  double eventsPDF(DalitzEvent& evt);
26  public:
28  , TRandom* rnd=gRandom);
29 
31  , const DalitzEventPattern& pat
32  );
34 
35  double maxHeight() const;
36 
40 
41  // virtual MINT::counted_ptr<DalitzEvent> generateEventForOwner();
42  // virtual DalitzEvent generateEvent();
43 
44  virtual bool exhausted()const {return false;}
46 };
47 
48 #endif
49 //
DalitzEventPattern _pat
virtual MINT::counted_ptr< DalitzEvent > tryEvent()
DalitzBoxSet_Method2(const DalitzEventPattern &pat, TRandom *rnd=gRandom)
virtual MINT::counted_ptr< DalitzEvent > tryWeightedEvent()
virtual bool exhausted() const
double eventsPDF(DalitzEvent &evt)
virtual MINT::counted_ptr< IDalitzEvent > newEvent()