Last change
on this file since 1 was
1,
checked in by zerwas, 11 years ago
|
first import of structure, PYTHIA8 and DELPHES
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1] | 1 | #ifndef DelphesModule_h |
---|
| 2 | #define DelphesModule_h |
---|
| 3 | |
---|
| 4 | /** \class DelphesModule |
---|
| 5 | * |
---|
| 6 | * Base class for all Delphes modules |
---|
| 7 | * |
---|
| 8 | * $Date: 2008-06-04 13:57:25 $ |
---|
| 9 | * $Revision: 1.1 $ |
---|
| 10 | * |
---|
| 11 | * |
---|
| 12 | * \author P. Demin - UCL, Louvain-la-Neuve |
---|
| 13 | * |
---|
| 14 | */ |
---|
| 15 | |
---|
| 16 | #include "ExRootAnalysis/ExRootTask.h" |
---|
| 17 | |
---|
| 18 | class TClass; |
---|
| 19 | class TObject; |
---|
| 20 | class TFolder; |
---|
| 21 | class TClonesArray; |
---|
| 22 | |
---|
| 23 | class ExRootResult; |
---|
| 24 | class ExRootTreeBranch; |
---|
| 25 | class ExRootTreeWriter; |
---|
| 26 | |
---|
| 27 | class DelphesFactory; |
---|
| 28 | |
---|
| 29 | class DelphesModule: public ExRootTask |
---|
| 30 | { |
---|
| 31 | public: |
---|
| 32 | |
---|
| 33 | DelphesModule(); |
---|
| 34 | ~DelphesModule(); |
---|
| 35 | |
---|
| 36 | virtual void Init(); |
---|
| 37 | virtual void Process(); |
---|
| 38 | virtual void Finish(); |
---|
| 39 | |
---|
| 40 | const TObjArray *ImportArray(const char *name); |
---|
| 41 | TObjArray *ExportArray(const char *name); |
---|
| 42 | |
---|
| 43 | ExRootTreeBranch *NewBranch(const char *name, TClass *cl); |
---|
| 44 | |
---|
| 45 | ExRootResult *GetPlots(); |
---|
| 46 | DelphesFactory *GetFactory(); |
---|
| 47 | |
---|
| 48 | protected: |
---|
| 49 | |
---|
| 50 | ExRootTreeWriter *fTreeWriter; |
---|
| 51 | DelphesFactory *fFactory; |
---|
| 52 | |
---|
| 53 | private: |
---|
| 54 | |
---|
| 55 | ExRootResult *fPlots; |
---|
| 56 | |
---|
| 57 | TFolder *fPlotFolder, *fExportFolder; |
---|
| 58 | |
---|
| 59 | ClassDef(DelphesModule, 1) |
---|
| 60 | }; |
---|
| 61 | |
---|
| 62 | #endif /* DelphesModule_h */ |
---|
| 63 | |
---|
Note: See
TracBrowser
for help on using the repository browser.