Line | |
---|
1 | #ifndef MARS_MMultiDimDistCalc
|
---|
2 | #define MARS_MMultiDimDistCalc
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MHMatrix;
|
---|
9 | class MParList;
|
---|
10 | class MHadroness;
|
---|
11 |
|
---|
12 | class MMultiDimDistCalc : public MTask
|
---|
13 | {
|
---|
14 | private:
|
---|
15 | Int_t fNum; // number of distances used for an avarage
|
---|
16 | Bool_t fUseKernel; // Flag whether kernel method should be used
|
---|
17 |
|
---|
18 | MHMatrix *fMGammas; //! Gammas describing matrix
|
---|
19 | MHMatrix *fMHadrons; //! Hadrons (non gammas) describing matrix
|
---|
20 |
|
---|
21 | MHadroness *fHadroness; //! Output container for calculated hadroness
|
---|
22 |
|
---|
23 | TList *fData; //! Used to store the MDataChains to get the event values
|
---|
24 |
|
---|
25 | void StreamPrimitive(ofstream &out) const;
|
---|
26 |
|
---|
27 | public:
|
---|
28 | MMultiDimDistCalc(const char *name=NULL, const char *title=NULL);
|
---|
29 | ~MMultiDimDistCalc();
|
---|
30 |
|
---|
31 | void SetUseNumRows(UShort_t n=0) { fNum = n; }
|
---|
32 | void SetUseKernelMethod(Bool_t k=kTRUE) { fUseKernel = k; }
|
---|
33 |
|
---|
34 | Bool_t PreProcess(MParList *plist);
|
---|
35 | Bool_t Process();
|
---|
36 |
|
---|
37 | ClassDef(MMultiDimDistCalc, 0) // Task to calculate multidimensional distances
|
---|
38 | };
|
---|
39 |
|
---|
40 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.