| Line |  | 
|---|
| 1 | #ifndef MARS_MHThreshold | 
|---|
| 2 | #define MARS_MHThreshold | 
|---|
| 3 |  | 
|---|
| 4 | #ifndef MARS_MH | 
|---|
| 5 | #include "MH.h" | 
|---|
| 6 | #endif | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef ROOT_TH1 | 
|---|
| 9 | #include <TH1.h> | 
|---|
| 10 | #endif | 
|---|
| 11 |  | 
|---|
| 12 | class MMcEvt; | 
|---|
| 13 |  | 
|---|
| 14 | class MHThreshold : public MH | 
|---|
| 15 | { | 
|---|
| 16 | private: | 
|---|
| 17 | const MMcEvt *fMcEvt; //! Pointer to MC energy | 
|---|
| 18 |  | 
|---|
| 19 | TH1D fHEnergy; | 
|---|
| 20 |  | 
|---|
| 21 | public: | 
|---|
| 22 | MHThreshold(const char *name=NULL, const char *title=NULL); | 
|---|
| 23 |  | 
|---|
| 24 | Bool_t SetupFill(const MParList *pList); | 
|---|
| 25 | Bool_t Fill(const MParContainer *par, const Stat_t weight=1); | 
|---|
| 26 |  | 
|---|
| 27 | void Draw(Option_t *option=""); | 
|---|
| 28 | void Paint(Option_t *option=""); | 
|---|
| 29 |  | 
|---|
| 30 | ClassDef(MHThreshold, 1)  // Data Container to calculate threshold | 
|---|
| 31 | }; | 
|---|
| 32 |  | 
|---|
| 33 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.