| Line | |
|---|
| 1 | #ifndef MARS_MHCamEventRot
|
|---|
| 2 | #define MARS_MHCamEventRot
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MH
|
|---|
| 5 | #include "MH.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef ROOT_TH2
|
|---|
| 9 | #include <TH2.h>
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | class TH2D;
|
|---|
| 13 |
|
|---|
| 14 | class MGeomCam;
|
|---|
| 15 | class MParList;
|
|---|
| 16 | class MTime;
|
|---|
| 17 | class MPointingPos;
|
|---|
| 18 | class MObservatory;
|
|---|
| 19 |
|
|---|
| 20 | class MHCamEventRot : public MH
|
|---|
| 21 | {
|
|---|
| 22 | private:
|
|---|
| 23 | MGeomCam *fGeom; //! container storing the camera geometry
|
|---|
| 24 | MTime *fTime; //! container to take the event time from
|
|---|
| 25 | MPointingPos *fPointPos; //! container to take pointing position from
|
|---|
| 26 | MObservatory *fObservatory; //! conteiner to take observatory location from
|
|---|
| 27 |
|
|---|
| 28 | TH2D fHist; // Alpha vs. x and y
|
|---|
| 29 |
|
|---|
| 30 | Int_t fType;
|
|---|
| 31 |
|
|---|
| 32 | Double_t fRa;
|
|---|
| 33 | Double_t fDec;
|
|---|
| 34 |
|
|---|
| 35 | TString fNameTime;
|
|---|
| 36 |
|
|---|
| 37 | TObject *GetCatalog();
|
|---|
| 38 |
|
|---|
| 39 | public:
|
|---|
| 40 | MHCamEventRot(const char *name=NULL, const char *title=NULL);
|
|---|
| 41 |
|
|---|
| 42 | Bool_t SetupFill(const MParList *pList);
|
|---|
| 43 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
|---|
| 44 |
|
|---|
| 45 | TH1 *GetHistByName(const TString name) { return &fHist; }
|
|---|
| 46 |
|
|---|
| 47 | void SetNameTime(const char *name) { fNameTime=name; }
|
|---|
| 48 |
|
|---|
| 49 | void Draw(Option_t *option="");
|
|---|
| 50 |
|
|---|
| 51 | ClassDef(MHCamEventRot, 1) //2D-histogram in MCamEvent data (derotated)
|
|---|
| 52 | };
|
|---|
| 53 |
|
|---|
| 54 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.