MINT2
ISpinFactor.h
Go to the documentation of this file.
1 #ifndef ISPINFACTOR_HH
2 #define ISPINFACTOR_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:18:12 GMT
5 
8 #include "Mint/IDalitzEvent.h"
9 
10 #include "TLorentzVector.h"
11 
12 #include <string>
13 
14 class ISpinFactor : virtual public MINT::IReturnRealForEvent<IDalitzEvent>,virtual public MINT::IReturnComplexForEvent<IDalitzEvent> {
15  protected:
17  public:
18  virtual double getVal(IDalitzEvent& evt)=0;
19  virtual double RealVal(IDalitzEvent& evt)=0;
20  virtual std::complex<double> ComplexVal(IDalitzEvent& evt)=0;
21  // virtual TLorentzVector p(int i, IDalitzEvent& evt)=0;
22 
23  virtual std::string name() const=0;
24  virtual ~ISpinFactor(){}
25 };
26 
27 #endif
virtual std::string name() const =0
virtual std::complex< double > ComplexVal(IDalitzEvent &evt)=0
virtual ~ISpinFactor()
Definition: ISpinFactor.h:24
virtual double getVal(IDalitzEvent &evt)=0
virtual double RealVal(IDalitzEvent &evt)=0