MINT2
CoherenceFactorCalculator.h
Go to the documentation of this file.
1 #ifndef COHERENCE_FACTOR_CALCULATOR_HH
2 #define COHERENCE_FACTOR_CALCULATOR_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:17:59 GMT
5 //
6 // Using Equations 5 (and around that) in
7 // Phys. Rev. D 68, 033003 (2003),
8 // http://prola.aps.org/abstract/PRD/v68/i3/e033003
9 //
10 
13 
14 #include "Mint/IDalitzEvent.h"
15 
16 #include "Mint/IEventGenerator.h"
17 
18 #include "Mint/FitAmpSum.h"
19 
20 #include "Mint/counted_ptr.h"
21 
23 
24 #include <complex>
25 #include <iostream>
26 
28 
29  // MINT::counted_ptr<IDalitzEvent> _dummyEvent;
30 
33  double _precision;
34  std::string _name;
35 
37 
39 
40  std::vector< MINT::counted_ptr< CoherenceFactorStoreAndEvaluate> > _cfList;
41 
42  public:
44  , double CSAbs = 1
45  , double CSPhase = 0.0
47  , double prec=1.e-3
48  , const std::string& name = "coherenceFactorC"
49  );
50 
51  void printResult(std::ostream& os = std::cout) const;
52 
53  std::complex<double> evaluate();
54 
55  void setPrecision(double prec);
56  double estimatedPrecision() const;
57 
58  double effA() const;
59 
60  double effAbar() const;
61  double effAVar() const;
62  double effAbarVar() const;
63  double effASigma() const;
64  double effAbarSigma() const;
65 };
66 #endif
67 //
MINT::counted_ptr< MINT::IEventGenerator< IDalitzEvent > > _myOwnGenAplusAbar
MINT::counted_ptr< IDalitzEvent > newEvent()
std::vector< MINT::counted_ptr< CoherenceFactorStoreAndEvaluate > > _cfList
void printResult(std::ostream &os=std::cout) const
CoherenceFactorCalculator(FitAmpSum &A, FitAmpSum &Abar, double CSAbs=1, double CSPhase=0.0, MINT::IReturnRealForEvent< IDalitzEvent > *eff=0, double prec=1.e-3, const std::string &name="coherenceFactorC")
MINT::counted_ptr< MINT::IEventGenerator< IDalitzEvent > > getGenerator()