#ifndef MARS_MHCamEventRot #define MARS_MHCamEventRot #ifndef MARS_MH #include "MH.h" #endif #ifndef ROOT_TH2 #include #endif class TH2D; class MGeomCam; class MParList; class MTime; class MPointingPos; class MObservatory; class MHCamEventRot : public MH { private: MGeomCam *fGeom; //! container storing the camera geometry MTime *fTime; //! container to take the event time from MPointingPos *fPointPos; //! container to take pointing position from MObservatory *fObservatory; //! conteiner to take observatory location from TH2D fHist; // Alpha vs. x and y Int_t fType; Double_t fRa; Double_t fDec; TString fNameTime; TObject *GetCatalog(); public: MHCamEventRot(const char *name=NULL, const char *title=NULL); Bool_t SetupFill(const MParList *pList); Bool_t Fill(const MParContainer *par, const Stat_t w=1); TH1 *GetHistByName(const TString name) { return &fHist; } void SetNameTime(const char *name) { fNameTime=name; } void Draw(Option_t *option=""); ClassDef(MHCamEventRot, 1) //2D-histogram in MCamEvent data (derotated) }; #endif