Line | |
---|
1 | #ifndef MMCENERTHRE_H
|
---|
2 | #define MMCENERTHRE_H
|
---|
3 |
|
---|
4 | #ifndef MAGIC_H
|
---|
5 | #include "MAGIC.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef MPARCONTAINER_H
|
---|
9 | #include "MParContainer.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | #ifndef MMCENERHISTO_H
|
---|
13 | #include <MMcEnerHisto.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | #ifndef ROOT_TClonesArray
|
---|
17 | #include <TClonesArray.h>
|
---|
18 | #endif
|
---|
19 |
|
---|
20 |
|
---|
21 | class MMcEnerThre : public MParContainer {
|
---|
22 |
|
---|
23 | private:
|
---|
24 |
|
---|
25 | TClonesArray* fArray; // Array of MMcEnerHisto elements
|
---|
26 | Int_t fNumTrigCond; // dimension of the fArray
|
---|
27 |
|
---|
28 | public:
|
---|
29 |
|
---|
30 | MMcEnerThre(const int dim = 1,
|
---|
31 | const char *name=NULL, const char *title=NULL) ;
|
---|
32 |
|
---|
33 | ~MMcEnerThre() ;
|
---|
34 |
|
---|
35 | Int_t GetNumTrigCond() {return fNumTrigCond;}
|
---|
36 |
|
---|
37 | // To access to the MMcEnerHisto functions from MMcEnerThre we overload
|
---|
38 | // the operator []
|
---|
39 | MMcEnerHisto* operator[](Int_t index) {return (MMcEnerHisto*)fArray->At(index);}
|
---|
40 |
|
---|
41 | ClassDef(MMcEnerThre, 1) // Data Container to calculate Energy Threshold
|
---|
42 | } ;
|
---|
43 |
|
---|
44 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.