|
Last change
on this file since 1183 was 1015, checked in by tbretz, 24 years ago |
|
*** empty log message ***
|
-
Property svn:executable
set to
*
|
|
File size:
847 bytes
|
| Line | |
|---|
| 1 | #ifndef MARS_MHMcCollectionArea
|
|---|
| 2 | #define MARS_MHMcCollectionArea
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class TH1D;
|
|---|
| 9 | class TH2D;
|
|---|
| 10 |
|
|---|
| 11 | class MHMcCollectionArea : public MParContainer
|
|---|
| 12 | {
|
|---|
| 13 | private:
|
|---|
| 14 | TH2D *fHistAll; //! all simulated showers
|
|---|
| 15 | TH2D *fHistSel; //! the selected showers
|
|---|
| 16 |
|
|---|
| 17 | TH1D *fHistCol; // the collection area
|
|---|
| 18 |
|
|---|
| 19 | public:
|
|---|
| 20 |
|
|---|
| 21 | MHMcCollectionArea(const char *name=NULL, const char *title=NULL);
|
|---|
| 22 | ~MHMcCollectionArea();
|
|---|
| 23 |
|
|---|
| 24 | void FillAll(Float_t energy, Float_t radius);
|
|---|
| 25 | void FillSel(Float_t energy, Float_t radius);
|
|---|
| 26 |
|
|---|
| 27 | void DrawAll(Option_t *option="");
|
|---|
| 28 | void DrawSel(Option_t *option="");
|
|---|
| 29 |
|
|---|
| 30 | void Draw(Option_t *option="");
|
|---|
| 31 | TObject *DrawClone(Option_t *option="") const;
|
|---|
| 32 |
|
|---|
| 33 | void CalcEfficiency();
|
|---|
| 34 |
|
|---|
| 35 | ClassDef(MHMcCollectionArea, 1) // Data Container to calculate Collection Area
|
|---|
| 36 | };
|
|---|
| 37 |
|
|---|
| 38 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.