[51f7063] | 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 | *
|
---|
[51f7063] | 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 | *
|
---|
[51f7063] | 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 | *
|
---|
[51f7063] | 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 |
|
---|
[6fb1a5d] | 19 | #ifndef FastJetGridMedianEstimator_h
|
---|
| 20 | #define FastJetGridMedianEstimator_h
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | /** \class FastJetGridMedianEstimator
|
---|
| 24 | *
|
---|
| 25 | * Computes median energy density per event using a fixed grid.
|
---|
| 26 | *
|
---|
| 27 | * \author M. Selvaggi - UCL, Louvain-la-Neuve
|
---|
| 28 | *
|
---|
| 29 | */
|
---|
| 30 |
|
---|
| 31 | #include "classes/DelphesModule.h"
|
---|
[406b698] | 32 | #include <vector>
|
---|
[6fb1a5d] | 33 |
|
---|
| 34 | class TObjArray;
|
---|
| 35 | class TIterator;
|
---|
| 36 |
|
---|
| 37 | namespace fastjet {
|
---|
[406b698] | 38 | class GridMedianBackgroundEstimator;
|
---|
[6fb1a5d] | 39 | }
|
---|
| 40 |
|
---|
| 41 | class FastJetGridMedianEstimator: public DelphesModule
|
---|
| 42 | {
|
---|
| 43 | public:
|
---|
| 44 |
|
---|
| 45 | FastJetGridMedianEstimator();
|
---|
| 46 | ~FastJetGridMedianEstimator();
|
---|
| 47 |
|
---|
| 48 | void Init();
|
---|
| 49 | void Process();
|
---|
| 50 | void Finish();
|
---|
| 51 |
|
---|
| 52 | private:
|
---|
[406b698] | 53 |
|
---|
| 54 | std::vector< fastjet::GridMedianBackgroundEstimator * > fEstimators; //!
|
---|
| 55 |
|
---|
[6fb1a5d] | 56 | TIterator *fItInputArray; //!
|
---|
| 57 |
|
---|
| 58 | const TObjArray *fInputArray; //!
|
---|
| 59 |
|
---|
| 60 | TObjArray *fRhoOutputArray; //!
|
---|
| 61 |
|
---|
| 62 | ClassDef(FastJetGridMedianEstimator, 1)
|
---|
| 63 | };
|
---|
| 64 |
|
---|
| 65 | #endif
|
---|