source:
git/modules/ExampleModule.h@
9117aaa4
Last change on this file since 9117aaa4 was 341014c, checked in by , 6 years ago | |
---|---|
|
|
File size: 1.5 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 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 | ExampleModule(); |
41 | ~ExampleModule(); |
42 | |
43 | void Init(); |
44 | void Process(); |
45 | void Finish(); |
46 | |
47 | private: |
48 | Int_t fIntParam; |
49 | Double_t fDoubleParam; |
50 | |
51 | std::deque<Double_t> fArrayParam; |
52 | |
53 | DelphesFormula *fFormula; //! |
54 | |
55 | TIterator *fItInputArray; //! |
56 | |
57 | const TObjArray *fInputArray; //! |
58 | |
59 | TObjArray *fOutputArray; //! |
60 | |
61 | ClassDef(ExampleModule, 1) |
62 | }; |
63 | |
64 | #endif |
Note:
See TracBrowser
for help on using the repository browser.