Last change
on this file since 694 was 686, checked in by harald, 24 years ago |
Added the first implementation of macro to calculate the
trigger collection area. the macro is called getCollArea.C
|
File size:
678 bytes
|
Line | |
---|
1 | #ifndef __MCollArea__
|
---|
2 | #define __MCollArea__
|
---|
3 |
|
---|
4 | #include "MParContainer.h"
|
---|
5 |
|
---|
6 | #include <TH2.h>
|
---|
7 |
|
---|
8 | class MCollArea : public MParContainer {
|
---|
9 |
|
---|
10 | private:
|
---|
11 | TH2D *fHistAll ; //! all simulated showers
|
---|
12 | TH2D *fHistSel ; //! the selected showers
|
---|
13 | TH1D *fHistColl ; //! the collection area
|
---|
14 |
|
---|
15 | public:
|
---|
16 |
|
---|
17 | MCollArea(const char *name=NULL, const char *title=NULL) ;
|
---|
18 | ~MCollArea() ;
|
---|
19 |
|
---|
20 | void FillAll(Float_t log10E, Float_t radius) ;
|
---|
21 | void FillSel(Float_t log10E, Float_t radius) ;
|
---|
22 | void DrawAll() ;
|
---|
23 | void DrawSel() ;
|
---|
24 | void Draw(Option_t* option = "") ;
|
---|
25 | void CalculateEffi() ;
|
---|
26 |
|
---|
27 | ClassDef(MCollArea, 1) // Data Container to calculate Collection Area
|
---|
28 | } ;
|
---|
29 |
|
---|
30 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.