Fork me on GitHub

source: git/classes/DelphesModule.h@ bf6ed57

ImprovedOutputFile Timing dual_readout llp
Last change on this file since bf6ed57 was 7c0fcd5, checked in by Pavel Demin <demin@…>, 10 years ago

delete duplicate license file and prepend GPLv3 header to all source code files

  • Property mode set to 100644
File size: 1.8 KB
Line 
1/*
2 * Delphes: a framework for fast simulation of a generic collider experiment
3 * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef DelphesModule_h
20#define DelphesModule_h
21
22/** \class DelphesModule
23 *
24 * Base class for all Delphes modules
25 *
26 * $Date: 2008-06-04 13:57:25 $
27 * $Revision: 1.1 $
28 *
29 *
30 * \author P. Demin - UCL, Louvain-la-Neuve
31 *
32 */
33
34#include "ExRootAnalysis/ExRootTask.h"
35
36class TClass;
37class TObject;
38class TFolder;
39class TClonesArray;
40
41class ExRootResult;
42class ExRootTreeBranch;
43class ExRootTreeWriter;
44
45class DelphesFactory;
46
47class DelphesModule: public ExRootTask
48{
49public:
50
51 DelphesModule();
52 ~DelphesModule();
53
54 virtual void Init();
55 virtual void Process();
56 virtual void Finish();
57
58 TObjArray *ImportArray(const char *name);
59 TObjArray *ExportArray(const char *name);
60
61 ExRootTreeBranch *NewBranch(const char *name, TClass *cl);
62
63 ExRootResult *GetPlots();
64 DelphesFactory *GetFactory();
65
66protected:
67
68 ExRootTreeWriter *fTreeWriter;
69 DelphesFactory *fFactory;
70
71private:
72
73 ExRootResult *fPlots;
74
75 TFolder *fPlotFolder, *fExportFolder;
76
77 ClassDef(DelphesModule, 1)
78};
79
80#endif /* DelphesModule_h */
81
Note: See TracBrowser for help on using the repository browser.