source: trunk/Mars/mtemp/mifae/library/MHPSFFromStars.h@ 10100

Last change on this file since 10100 was 4295, checked in by jlopez, 21 years ago
*** empty log message ***
File size: 1.7 KB
Line 
1#ifndef MARS_MHPSFFromStars
2#define MARS_MHPSFFromStars
3
4#ifndef ROOT_TObjArray
5#include <TObjArray.h>
6#endif
7
8#ifndef ROOT_TH1F
9#include <TH1F.h>
10#endif
11
12#ifndef ROOT_TGraph
13#include <TGraph.h>
14#endif
15
16#ifndef ROOT_TArrayF
17#include <TArrayF.h>
18#endif
19
20#ifndef ROOT_TArrayI
21#include <TArrayI.h>
22#endif
23
24#ifndef ROOT_TProfile
25#include <TProfile.h>
26#endif
27
28#ifndef ROOT_TProfile2D
29#include <TProfile2D.h>
30#endif
31
32#ifndef MARS_MHCamera
33#include "MHCamera.h"
34#endif
35
36#ifndef MARS_MH
37#include "MH.h"
38#endif
39
40class TObject;
41class MCameraDC;
42class MStarLocalPos;
43class MStarLocalCam;
44
45class MHPSFFromStars : public MH
46{
47 private:
48
49 MGeomCam* fGeom;
50 MCameraDC* fCurr;
51
52 TH1F fHistMeanX;
53 TH1F fHistMeanY;
54 TH1F fHistSigmaMinor;
55 TH1F fHistSigmaMajor;
56
57 TGraph *fGraphMeanX;
58 TGraph *fGraphMeanY;
59 TGraph *fGraphPath;
60 TGraph *fGraphSigmaMinor;
61 TGraph *fGraphSigmaMajor;
62
63 TArrayF fvsTimeMeanX;
64 TArrayF fvsTimeMeanY;
65 TArrayF fvsTimeSigmaMinor;
66 TArrayF fvsTimeSigmaMajor;
67
68 TArrayF fTime;
69 TArrayF fEvent;
70
71 ULong_t fNumEvents;
72
73 MHCamera fCamera;
74 TProfile fProjectionX;
75 TProfile fProjectionY;
76 TProfile2D fProfile;
77
78 Int_t fSelectedStarPos;
79 MStarLocalPos* SelectStar(MStarLocalCam* stars);
80
81 public:
82
83 MHPSFFromStars(Int_t starpos=-1, const char *name=NULL, const char *title=NULL);
84 ~MHPSFFromStars();
85
86 Bool_t SetupFill(const MParList *pList);
87 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
88 Bool_t Finalize();
89
90 void Draw(const Option_t*);
91/* TObject* Clone(const char *) const; */
92
93 //Getter
94 TProfile& GetProjectionX() { return fProjectionX; }
95 TProfile& GetProjectionY() { return fProjectionY; }
96
97 ClassDef(MHPSFFromStars, 1) // A list of histograms storing star information from PMT DCs
98};
99
100#endif
101
Note: See TracBrowser for help on using the repository browser.