source: trunk/MagicSoft/Mars/manalysis/MMultiDimDistCalc.h@ 1488

Last change on this file since 1488 was 1488, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#ifndef MARS_MMultiDimDistCalc
2#define MARS_MMultiDimDistCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MHMatrix;
9class MParList;
10class MHadroness;
11
12class MMultiDimDistCalc : public MTask
13{
14private:
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
27public:
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.