Fork me on GitHub

source: svn/trunk/classes/DelphesModule.h@ 1264

Last change on this file since 1264 was 895, checked in by Pavel Demin, 12 years ago

sort all objects in TreeWriter

File size: 1020 bytes
Line 
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
18class TClass;
19class TObject;
20class TFolder;
21class TClonesArray;
22
23class ExRootResult;
24class ExRootTreeBranch;
25class ExRootTreeWriter;
26
27class DelphesFactory;
28
29class DelphesModule: public ExRootTask
30{
31public:
32
33 DelphesModule();
34 ~DelphesModule();
35
36 virtual void Init();
37 virtual void Process();
38 virtual void Finish();
39
40 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
48protected:
49
50 ExRootTreeWriter *fTreeWriter;
51 DelphesFactory *fFactory;
52
53private:
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.