| Line |  | 
|---|
| 1 | #ifndef MARS_MHCerPhotEvt | 
|---|
| 2 | #define MARS_MHCerPhotEvt | 
|---|
| 3 |  | 
|---|
| 4 | #ifndef MARS_MH | 
|---|
| 5 | #include "MH.h" | 
|---|
| 6 | #endif | 
|---|
| 7 |  | 
|---|
| 8 | class MCamDisplay; | 
|---|
| 9 | class MCamEvent; | 
|---|
| 10 |  | 
|---|
| 11 | class MHCerPhotEvt : public MH | 
|---|
| 12 | { | 
|---|
| 13 | private: | 
|---|
| 14 | MCamDisplay *fSum;      // storing the sum | 
|---|
| 15 | MCamEvent   *fEvt;      //! the current event | 
|---|
| 16 |  | 
|---|
| 17 | TString fNameEvt; | 
|---|
| 18 |  | 
|---|
| 19 | Bool_t SetupFill(const MParList *pList); | 
|---|
| 20 | Bool_t Fill(const MParContainer *par, const Stat_t w=1); | 
|---|
| 21 | Bool_t Finalize(); | 
|---|
| 22 |  | 
|---|
| 23 | public: | 
|---|
| 24 | MHCerPhotEvt(const char *name=NULL, const char *title=NULL); | 
|---|
| 25 | ~MHCerPhotEvt(); | 
|---|
| 26 |  | 
|---|
| 27 | void SetNameEvt(const TString name) { fNameEvt = name; } | 
|---|
| 28 |  | 
|---|
| 29 | TH1 *GetHistByName(const TString name=""); | 
|---|
| 30 |  | 
|---|
| 31 | ClassDef(MHCerPhotEvt, 1) // Histogram to sum camera events | 
|---|
| 32 | }; | 
|---|
| 33 |  | 
|---|
| 34 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.