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

Last change on this file since 1575 was 1557, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.1 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 MDataArray;
11class MHadronness;
12
13class MMultiDimDistCalc : public MTask
14{
15private:
16 Int_t fNum; // number of distances used for an avarage
17 Bool_t fUseKernel; // Flag whether kernel method should be used
18
19 MHMatrix *fMGammas; //! Gammas describing matrix
20 MHMatrix *fMHadrons; //! Hadrons (non gammas) describing matrix
21
22 MHadronness *fHadronness; //! Output container for calculated hadroness
23
24 MDataArray *fData; //! Used to store the MDataChains to get the event values
25
26 void StreamPrimitive(ofstream &out) const;
27
28public:
29 MMultiDimDistCalc(const char *name=NULL, const char *title=NULL);
30 ~MMultiDimDistCalc();
31
32 void SetUseNumRows(UShort_t n=0) { fNum = n; }
33 void SetUseKernelMethod(Bool_t k=kTRUE) { fUseKernel = k; }
34
35 Bool_t PreProcess(MParList *plist);
36 Bool_t Process();
37
38 ClassDef(MMultiDimDistCalc, 0) // Task to calculate multidimensional distances
39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.