MINT2
SumOfFitAmpLists.h
Go to the documentation of this file.
1 #ifndef MINTDALITZ_SUM_OF_FIT_AMP_LISTS_HH
2 #define MINTDALITZ_SUM_OF_FIT_AMP_LISTS_HH
3 
8 #include "Mint/IDalitzEvent.h"
9 
10 #include "Mint/counted_ptr.h"
11 #include "Mint/DalitzBWBoxSet.h"
12 #include "TRandom.h"
13 #include <iostream>
14 
15 
17 : virtual public MINT::IReturnRealForEvent<IDalitzEvent>
18  , virtual public IFastAmplitudeIntegrable
19  , virtual public ILookLikeFitAmpSum
20 {
21  std::vector<MINT::counted_ptr<ILookLikeFitAmpSum> > _listOfLists;
22 
23  public:
25 
47 
49 
50 
53 
54  virtual double RealVal(IDalitzEvent& evt); // | sum A |^2
55 
56  virtual DalitzBWBoxSet makeBWBoxes(const DalitzEventPattern& pat, TRandom* rnd=gRandom);
57 
59  makeEventGenerator(const DalitzEventPattern& pat, TRandom* rnd=gRandom);
60 
61  virtual void print(std::ostream& os=std::cout) const;
62  virtual void printNonZero(std::ostream& os=std::cout) const;
63 
64 };
65 
66 std::ostream& operator<<(std::ostream& os, const SumOfFitAmpLists& sofal);
67 #endif
68 //
virtual MINT::counted_ptr< IntegCalculator > makeIntegCalculator()
virtual void print(std::ostream &os=std::cout) const
virtual double RealVal(IDalitzEvent &evt)
virtual void printNonZero(std::ostream &os=std::cout) const
virtual MINT::counted_ptr< IIntegrationCalculator > makeIntegrationCalculator()
virtual MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > makeEventGenerator(const DalitzEventPattern &pat, TRandom *rnd=gRandom)
void addList(const MINT::counted_ptr< ILookLikeFitAmpSum > &list)
std::vector< MINT::counted_ptr< ILookLikeFitAmpSum > > _listOfLists
std::ostream & operator<<(std::ostream &os, const SumOfFitAmpLists &sofal)
virtual DalitzBWBoxSet makeBWBoxes(const DalitzEventPattern &pat, TRandom *rnd=gRandom)