source: trunk/MagicSoft/Mars/manalysis/MSigmabarCalc.h@ 6877

Last change on this file since 6877 was 4824, checked in by mazin, 20 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MSigmabarCalc
2#define MARS_MSigmabarCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8#ifndef MARS_MGeomCam
9#include "MGeomCam.h"
10#endif
11
12#ifndef MARS_MPointingPos
13#include "MPointingPos.h"
14#endif
15
16#ifndef MARS_MPedPhotCam
17#include "MPedPhotCam.h"
18#endif
19
20#ifndef MARS_MSigmabar
21#include "MSigmabar.h"
22#endif
23
24#ifndef MARS_MSigmabarParam
25#include "MSigmabarParam.h"
26#endif
27
28#ifndef MARS_MRawRunHeader
29#include "MRawRunHeader.h"
30#endif
31
32class MSigmabarCalc : public MTask
33{
34private:
35 MPointingPos *fPointPos;
36 MCerPhotEvt *fEvt;
37 MGeomCam *fCam;
38 MPedPhotCam *fPed;
39 MRawRunHeader *fRun;
40 MSigmabar *fSig;
41 MSigmabarParam *fSigParam;
42
43 Double_t fSigmabarMin; // Parametrization
44 Double_t fSigmabarMax;
45 Double_t fThetaMin;
46 Double_t fThetaMax;
47
48 TString fNamePedPhotCam; // name of the 'MPedPhotCam' container
49
50 void Reset();
51
52 Int_t PreProcess(MParList *pList);
53 Int_t Process();
54
55 Bool_t ReInit(MParList *pList);
56
57public:
58 MSigmabarCalc(const char *name=NULL, const char *title=NULL);
59
60 void SetNamePedPhotCam(const char *name) { fNamePedPhotCam = name; }
61
62 ClassDef(MSigmabarCalc, 0) // task for calculating sigmabar
63};
64
65#endif
66
67
68
Note: See TracBrowser for help on using the repository browser.