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
#ifndef _EvtDataBaseList_H
#define _EvtDataBaseList_H
#include "qft++/topincludes/relativistic-quantum-mechanics.hh"
#include <boost/shared_ptr.hpp>
#include <map>
#include "Utils/PawianCollectionUtils.hh"
#include "PwaUtils/DataUtils.hh"
struct EvtData
{
std::map<int, Vector4<double> > FourVecs;
std::map<int, map<Spin,map<Spin,map<Spin,complex<double> > > > > WignerDs;
double evtWeight;
};
class EventList;
class EvtDataBaseList {
public:
// create/copy/destroy:
///Constructor
EvtDataBaseList();
/** Destructor */
virtual ~EvtDataBaseList();
// Getters:
const std::vector<EvtData*> getDataVecs() const {return _evtDataList;}
const std::vector<EvtData*> getMcVecs() const {return _mcDataList;}
protected:
std::vector<EvtData*> _evtDataList;
std::vector<EvtData*> _mcDataList;
virtual void read4Vecs(EventList& evtList, std::vector<EvtData*>& theEvtList)=0;
private:
};
#endif /* _EvtDataBaseList_H */