MINT2
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 
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 
16 : virtual public MINT::IReturnRealForEvent<IDalitzEvent>
17 , virtual public MINT::IReturnRealForEvent<DalitzEvent>{
18  public:
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 //
double RealVal(DalitzEvent &evt)
Definition: ReturnWeight.h:25
virtual double getWeight() const =0
virtual double getWeight() const
ReturnWeight(const ReturnWeight &)
Definition: ReturnWeight.h:20
double RealVal(IDalitzEvent &evt)
Definition: ReturnWeight.h:22