MINT2
Mint
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
6
#include "
Mint/IReturnRealForEvent.h
"
7
#include "
Mint/IReturnComplexForEvent.h
"
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
:
16
ISpinFactor
() :
MINT
::
IReturnRealForEvent
<
IDalitzEvent
>(),
MINT
::
IReturnComplexForEvent
<
IDalitzEvent
>() {}
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
MINT::IReturnComplexForEvent< IDalitzEvent >::IReturnComplexForEvent
IReturnComplexForEvent()
Definition:
IReturnComplexForEvent.h:12
IDalitzEvent
Definition:
IDalitzEvent.h:16
IDalitzEvent.h
ISpinFactor::name
virtual std::string name() const =0
MINT::IReturnRealForEvent
Definition:
IReturnRealForEvent.h:12
MINT::IReturnRealForEvent< IDalitzEvent >::IReturnRealForEvent
IReturnRealForEvent()
Definition:
IReturnRealForEvent.h:14
ISpinFactor::ComplexVal
virtual std::complex< double > ComplexVal(IDalitzEvent &evt)=0
ISpinFactor::ISpinFactor
ISpinFactor()
Definition:
ISpinFactor.h:16
IReturnRealForEvent.h
ISpinFactor::~ISpinFactor
virtual ~ISpinFactor()
Definition:
ISpinFactor.h:24
MINT
Definition:
BasicComplex.h:7
ISpinFactor::getVal
virtual double getVal(IDalitzEvent &evt)=0
ISpinFactor::RealVal
virtual double RealVal(IDalitzEvent &evt)=0
ISpinFactor
Definition:
ISpinFactor.h:14
MINT::IReturnComplexForEvent
Definition:
IReturnComplexForEvent.h:10
IReturnComplexForEvent.h
Generated by
1.8.15