Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef _AbsLh_H
#define _AbsLh_H
#include <iostream>
#include <vector>
#include <complex>
#include <cassert>
#include <boost/shared_ptr.hpp>
#include "PwaUtils/EvtDataBaseList.hh"
#include "PwaUtils/FitParamsBase.hh"
class AbsLh {
public:
// create/copy/destroy:
///Constructor
AbsLh(boost::shared_ptr<const EvtDataBaseList>);
AbsLh(boost::shared_ptr<AbsLh>);
/** Destructor */
virtual ~AbsLh();
virtual AbsLh* clone_() const =0;
// Getters:
virtual double calcLogLh(fitParams& theParamVal);
virtual double calcEvtIntensity(EvtData* theData, fitParams& theParamVal)=0;
virtual boost::shared_ptr<const EvtDataBaseList> getEventList() const {return _evtListPtr;}
virtual void getDefaultParams(fitParams& fitVal, fitParams& fitErr)=0;
virtual void print(std::ostream& os) const=0;