MINT2
Mint
ReturnWeight.h
Go to the documentation of this file.
1
#ifndef RETURN_WEIGHT_HH
2
#define RETURN_WEIGHT_HH
3
// author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4
// status: Mon 9 Feb 2009 19:18:01 GMT
5
6
#include "
Mint/IReturnRealForEvent.h
"
7
#include "
Mint/IDalitzEvent.h
"
8
#include "
Mint/DalitzEvent.h
"
9
10
// possible that this is not really
11
// needed anymore after moving to
12
// vectorised MINT - leave it for now,
13
// but likely to disappear in the future.
14
15
class
ReturnWeight
16
:
virtual
public
MINT::IReturnRealForEvent
<IDalitzEvent>
17
,
virtual
public
MINT::IReturnRealForEvent
<DalitzEvent>{
18
public
:
19
ReturnWeight
(){}
20
ReturnWeight
(
const
ReturnWeight
& ){}
21
22
double
RealVal
(
IDalitzEvent
& evt){
23
return
evt.
getWeight
();
24
}
25
double
RealVal
(
DalitzEvent
& evt){
26
return
evt.
getWeight
();
27
}
28
};
29
30
#endif
31
//
ReturnWeight::ReturnWeight
ReturnWeight()
Definition:
ReturnWeight.h:19
ReturnWeight::RealVal
double RealVal(DalitzEvent &evt)
Definition:
ReturnWeight.h:25
IDalitzEvent::getWeight
virtual double getWeight() const =0
DalitzEvent
Definition:
DalitzEvent.h:27
DalitzEvent.h
IDalitzEvent
Definition:
IDalitzEvent.h:16
IDalitzEvent.h
MINT::IReturnRealForEvent
Definition:
IReturnRealForEvent.h:12
ReturnWeight
Definition:
ReturnWeight.h:15
DalitzEvent::getWeight
virtual double getWeight() const
Definition:
DalitzEvent.cpp:390
IReturnRealForEvent.h
ReturnWeight::ReturnWeight
ReturnWeight(const ReturnWeight &)
Definition:
ReturnWeight.h:20
ReturnWeight::RealVal
double RealVal(IDalitzEvent &evt)
Definition:
ReturnWeight.h:22
Generated by
1.8.15