source: branches/Mars_MC/manalysis/MMultiDimDistCalc.h@ 17992

Last change on this file since 17992 was 14447, checked in by tbretz, 12 years ago
Added some missing std::
File size: 1.3 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 MParameterD;
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 TString fHadronnessName; // Name of container storing hadronness
20
21 MHMatrix *fMGammas; //! Gammas describing matrix
22 MHMatrix *fMHadrons; //! Hadrons (non gammas) describing matrix
23
24 MParameterD *fHadronness; //! Output container for calculated hadroness
25
26 MDataArray *fData; //! Used to store the MDataChains to get the event values
27
28 void StreamPrimitive(std::ostream &out) const;
29
30 Int_t PreProcess(MParList *plist);
31 Int_t Process();
32
33public:
34 MMultiDimDistCalc(const char *name=NULL, const char *title=NULL);
35
36 void SetHadronnessName(const TString name) { fHadronnessName = name; }
37 TString GetHadronnessName() const { return fHadronnessName; }
38
39 void SetUseNumRows(UShort_t n=0) { fNum = n; }
40 void SetUseKernelMethod(Bool_t k=kTRUE) { fUseKernel = k; }
41
42 ClassDef(MMultiDimDistCalc, 1) // Task to calculate nearest neighbor-/kernel-hadronness
43};
44
45#endif
46
47
48
Note: See TracBrowser for help on using the repository browser.