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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#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 print(std::ostream& os) const=0;
protected:
boost::shared_ptr<const EvtDataBaseList> _evtListPtr;
std::vector<EvtData*> _evtDataVec;
std::vector<EvtData*> _evtMCVec;
private:
};
#endif