source:
git/modules/ExampleModule.h@
d63d737
Last change on this file since d63d737 was cab38f6, checked in by , 10 years ago | |
---|---|
|
|
File size: 1.5 KB |
Rev | Line | |
---|---|---|
[b443089] | 1 | /* |
2 | * Delphes: a framework for fast simulation of a generic collider experiment | |
3 | * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium | |
[1fa50c2] | 4 | * |
[b443089] | 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. | |
[1fa50c2] | 9 | * |
[b443089] | 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. | |
[1fa50c2] | 14 | * |
[b443089] | 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 | ||
[d7d2da3] | 19 | #ifndef ExampleModule_h |
20 | #define ExampleModule_h | |
21 | ||
22 | /** \class ExampleModule | |
23 | * | |
24 | * Selects candidates from the InputArray according to the efficiency formula. | |
25 | * | |
26 | * \author P. Demin - UCL, Louvain-la-Neuve | |
27 | * | |
28 | */ | |
29 | ||
30 | #include "classes/DelphesModule.h" | |
31 | ||
32 | #include <deque> | |
33 | ||
34 | class TObjArray; | |
35 | class DelphesFormula; | |
36 | ||
37 | class ExampleModule: public DelphesModule | |
38 | { | |
39 | public: | |
40 | ||
41 | ExampleModule(); | |
42 | ~ExampleModule(); | |
43 | ||
44 | void Init(); | |
45 | void Process(); | |
46 | void Finish(); | |
47 | ||
48 | private: | |
49 | ||
50 | Int_t fIntParam; | |
51 | Double_t fDoubleParam; | |
52 | ||
53 | std::deque <Double_t> fArrayParam; | |
54 | ||
55 | DelphesFormula *fFormula; //! | |
56 | ||
57 | TIterator *fItInputArray; //! | |
58 | ||
59 | const TObjArray *fInputArray; //! | |
60 | ||
61 | TObjArray *fOutputArray; //! | |
62 | ||
63 | ClassDef(ExampleModule, 1) | |
64 | }; | |
65 | ||
66 | #endif |
Note:
See TracBrowser
for help on using the repository browser.